How to properly write the addr function?
I wanted an integer address instead of a pointer, so I wrote this
function addr(byref v as any) return(cast(ulong,@v)) end function
It works, but every time it is called, I got a warning:
/home/pik33/Dokumenty/GitHub/P2-retromachine/Propeller/Tracker player/player3.bas:380: warning: incompatible pointer types in parameter passing: expected reference to any unknown type but got reference to string pointer to const byte