On Mon, 9 Mar 1998, Christian Bockermann wrote:
[...] type something = object procedure say_hello; end; [...] var someone : something; [...] new(someone); someone.say_hello; dispose(someone); [...]
The above reason is why, you're trying to allocate memory to a non-pointer. You need to define a type that is a pointer to the object something, perhaps the following:
type psomething = ^something; something = object ... end;
and then declare someone to psomething instead of something so you can use New and Dispose.
See ya! Orlando Llanes
"Meine Damen und Herren, Elvis hat soeben das Gebaeude verlassen!"
"Look out fo' flyeeng feet" O__/ a010111t@bc.seflin.org /|____. O <__. /> / \ ____________|_________ http://ourworld.compuserve.com/homepages/Monkey414