View Single Post
Old May 16th, 2006, 1:06 PM   #2
KodeKid
Newbie
 
KodeKid's Avatar
 
Join Date: Apr 2006
Location: CANADA
Posts: 4
Rep Power: 0 KodeKid is on a distinguished road
I've solved the problem another way, since no one knew.

Old way:

Thing = Object
End;
myThing : ^Thing
new (myThing) // instantiation

New way:

Thing = Class
End;
myThing : Thing

myThing:= Thing.create // another instantiation

now I can pass 'myThing' as a parameter:

Funcition addItem( myThing : Thing);

no errors/problem.
KodeKid is offline   Reply With Quote