Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kinda wondering, would it really be needed
#3
(06-29-2025, 12:49 PM)ahenry3068 Wrote: If you really want to code like that you could easily do something like this.

Code: (Select All)

Dim I As _Integer64


I = 10

INC I


Print I
Print
End

Sub INC (X As _Integer64)
    X = X + 1
End Sub
That's one way.  But using a sub requires sharing or knowing what variable is passed to sub.  Need a generic sub, for all math types byte, integer ... and work for all INC variables passed down.  Such as INC x, INC y, INC z.  XYZ are different math types but I want all to increased by 1.  Or my understanding about SUB's is wrong.
Reply


Messages In This Thread
RE: kinda wondering, would it really be needed - by doppler - 06-29-2025, 01:28 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  The reverse of _droppedfile extended function needed doppler 0 311 09-25-2025, 03:19 PM
Last Post: doppler
  Kinda new here, again... fistfullofnails 11 2,764 12-29-2022, 11:15 AM
Last Post: OldMoses

Forum Jump:


Users browsing this thread: 1 Guest(s)