How would I add and remove items to a list? They're created like this, right?
list=[item1 item2 item3]
Please help me!
Offline
I don't know squeak but I'm guess from other programming experiances you need to do this:
List = ["this", "is", "a", "list"]
And then to call upon them you need to do
List(3) or List[3]
If that works it would give you the 4th thing on the list therefor "list"
Offline
poopo wrote:
I don't know squeak but I'm guess from other programming experiances you need to do this:
List = ["this", "is", "a", "list"]
And then to call upon them you need to do
List(3) or List[3]
If that works it would give you the 4th thing on the list therefor "list"
It's not squeak, it's batch. The language you use to make .bat files on Windows.
Offline
poopo wrote:
I don't know squeak but I'm guess from other programming experiances you need to do this:
List = ["this", "is", "a", "list"]
And then to call upon them you need to do
List(3) or List[3]
If that works it would give you the 4th thing on the list therefor "list"
A) I'm talking about batch, not squeak, and rarely languages use the exact same syntax for list making.
B) I want to find out how to ADD an item to the list, not call.
Offline
technoguyx wrote:
poopo wrote:
I don't know squeak but I'm guess from other programming experiances you need to do this:
List = ["this", "is", "a", "list"]
And then to call upon them you need to do
List(3) or List[3]
If that works it would give you the 4th thing on the list therefor "list"It's not squeak, it's batch. The language you use to make .bat files on Windows.
![]()
Oh darn sorry. -_-'
Offline