Author Topic: AddressOf support for variables and subs  (Read 1917 times)

MikeHart

  • Guest
Hi,

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

Thanks
Michael

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10697
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: AddressOf support for variables and subs
« Reply #1 on: 2009-Aug-12 »
why?

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10697
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
Re: AddressOf support for variables and subs
« Reply #2 on: 2009-Aug-12 »
If you perform such thing, you must use INLINE. Inside GLBasic, the BYREF keyword acts like a pointer.