How do I find the ubound of an index pointer without passing it
to a function?
eg.
I know I could simple pass the ubound to the function as well or
have it global but I really don't want to do that. Any ideas?
Thanks
------------------
-Greg
to a function?
eg.
Code:
function example(address as dword) export as single ArrayPTR = Address Ubound& = <--------------------- How do I get this? for next a = 0 to ubound& ... ... next end function function pbmain() as long a! = example(VARPTR(ArrayIn(0)) end function
have it global but I really don't want to do that. Any ideas?
Thanks
------------------
-Greg
Comment