anonymous contexts
Posted: Thu Mar 17, 2005 4:41 pm
Hello,
I'm still trying to learn.
I want to use contexts as a sort of object but somehow want to create anonymous contexts.
For instance in Delphi I have a class with a few attributes and a number of methods. I can recreate this in newLisp using contexts but in Delphi it is quite easy to create hundreds of these objects and assign each one to some sort of list. Afterwards I can iterate through the list with a simple index.
In newLisp though I have to name each context and so I can't see how I could do a similar thing.
Any help would be greatly appreciated.
Thanks,
Richard
I'm still trying to learn.
I want to use contexts as a sort of object but somehow want to create anonymous contexts.
For instance in Delphi I have a class with a few attributes and a number of methods. I can recreate this in newLisp using contexts but in Delphi it is quite easy to create hundreds of these objects and assign each one to some sort of list. Afterwards I can iterate through the list with a simple index.
In newLisp though I have to name each context and so I can't see how I could do a similar thing.
Any help would be greatly appreciated.
Thanks,
Richard