GLBasic forum

Feature request => IDE/Syntax => Topic started by: MikeHart on 2009-Aug-11

Title: AddressOf support for variables and subs
Post by: MikeHart on 2009-Aug-11
Hi,

I would like to see that AddressOf supports variables, arrays and subs too.

Thanks
Michael
Title: Re: AddressOf support for variables and subs
Post by: Kitty Hello on 2009-Aug-12
why?
Title: Re: AddressOf support for variables and subs
Post by: Kitty Hello on 2009-Aug-12
If you perform such thing, you must use INLINE. Inside GLBasic, the BYREF keyword acts like a pointer.