Using VarPtr on different types of variables produces different types of pointers??? Is there anyway to have VarPtr return an integer pointer no matter what type of subexpression is used? Meaning
Since all pointers are integers, why can't the pointers to an integer and a string both be passed in as integers?
num=1234 str$="hello" do(VarPtr(num)) do(VarPtr(str)) End Function do(p:Int Ptr) Print Var(p) EndFunction
Since all pointers are integers, why can't the pointers to an integer and a string both be passed in as integers?