Imagein this, you have a function that needs to pass diffrent types of structures(types). The problem is that you need to access each structure with a pointer (@). Basicly having a VOID pointer is like passing a variable/structure as ANY.
Code:
function DrawSomething(byval lpData as void ptr) end function DrawSomthing n& DrawSomthing n! DrawSomthing a$
Maybe I'm asking for the wrong thing here, maybe it should be worded like this. I would like to be able to pass a variable or type without type checking and refrence the data via a pointer. I was thinking void because that would eliminate the type checking. I dont think I'm making much sense, I'll try and dig through my code here and give you a good example of where it would be VERY usefull.
Thanks guys for all the input

------------------
Cheers
Leave a comment: