Variable as a reference or value to a function
#3
This is not throwing errors in QB64??
Declare Function AlsReferenz(eingabe as Integer) as Integer
Declare Sub AlsWert(eingabe as Integer) as Integer

No it's not, but you can't use As Integer at end of Sub or Function. It must be that it is ignored by IDE.
b = b + ...
Reply


Messages In This Thread
RE: Variable as a reference or value to a function - by bplus - 07-17-2022, 07:35 PM



Users browsing this thread: 8 Guest(s)