How does one pass an object type to a function? For some strange reason, I can not figure this out.
For example:
type foo
field bUp
end type
for i=1 to 5
myfoo.foo = new foo
myfoo\bUp = FALSE
next
For myfoo.foo = Each foo
Wiggle(???); What do I pass here? myfoo, myfoo.foo doesnt work
next
Function Wiggle(Objtype)
Do something with this ObjType
End function
Thanks in advance!
P-Q4
For example:
type foo
field bUp
end type
for i=1 to 5
myfoo.foo = new foo
myfoo\bUp = FALSE
next
For myfoo.foo = Each foo
Wiggle(???); What do I pass here? myfoo, myfoo.foo doesnt work
next
Function Wiggle(Objtype)
Do something with this ObjType
End function
Thanks in advance!
P-Q4