xc-basic3
xc-basic3 copied to clipboard
@ (address of) operator cannot find variable with function name inside TYPE
e.g.
TYPE T
FUNCTION f AS BYTE() STATIC
POKE @f, 0
END FUNCTION
END TYPE
What are you trying to achieve here, to get a pointer to the function f()?
I try to get the pointer to the implicit variable that holds the return value. Seems that I can assign to it, but I cannot get the address.
I see. It looks like it works outside a TYPE, but not within.