by Jim Fouch (4 Submissions)
Category: Math/Dates
Compatability: Visual Basic 3.0
Difficulty: Unknown Difficulty
Originally Published: Mon 10th September 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'
Value = Value + Step
End Sub
Public Sub Dec(ByRef Value As Variant, Optional Step As Variant = 1)
Value = Value - Step
End Sub
No comments have been posted about Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'. Why not be the first to post a comment about Sub to Increase or Desrease a var. Use 'Inc I' instead of 'I=I=1' or 'Inc I,5' instead of 'I=I+5'.