Variable as a reference or value to a function
#6
(07-17-2022, 07:35 PM)bplus Wrote: 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.

No, it will not be ignored. - According to the reference, it should. -- But it doesn't want to!  Tongue
Reply


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



Users browsing this thread: 9 Guest(s)