I'm not sure I fully understand how to use the LinkedList class provided with SmallTalk Visual Works. I can create an instance of the class simply by doing:
myList := LinkedList new.
But how to add node. I tried to instantiate the Link class and set the value, but it does not seem to work.
myLink := Link new.
myLink value: 3.
I am extremely new to smalltalk and any help would be greatly appreciated!
source
share