Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hi, (Ask here because from Squirrel forum i do not recives authorization emails) I have some stupid problems to understand how to use arrays in Squirrel. I want to do something like in pseudo code: tab= {} obiekt.id = 1; obiekt.name = "asd"; obiekt2.id = 2; obiekt2.name = "fgh"; tab <- obiekt; tab <- obiekt2; foreach (elem in tab) { print("Name: " + elem.name + " ID: " + elem.id); } How can I do this? |
||||
|
I guess you need to write it a bit more like this:
|
||||
|
|