Quote from
luishp on August 31, 2019, 2:49 pm
@noyzen, I have finaly found the correct way to work on this.
Take a look at this code:
CreateEmptyArray [car]
CreateEmptyArray [car.model]
CreateEmptyArray [car.price]
SetVar [car.model(0)] "Tesla Model 3"
SetVar [car.price(0)] "38000"
SetVar [car.model(1)] "Jaguar i-Pace"
SetVar [car.price(1)] "79000"
Note that I have used only Arrays.
Now I can use this syntax to show on-screen information:
[car.model|element:0]
[car.price|element:0]
[car.model|element:1]
[car.price|element:1]
@noyzen, I have finaly found the correct way to work on this.
Take a look at this code:
CreateEmptyArray [car]
CreateEmptyArray [car.model]
CreateEmptyArray [car.price]
SetVar [car.model(0)] "Tesla Model 3"
SetVar [car.price(0)] "38000"
SetVar [car.model(1)] "Jaguar i-Pace"
SetVar [car.price(1)] "79000"
Note that I have used only Arrays.
Now I can use this syntax to show on-screen information:
[car.model|element:0]
[car.price|element:0]
[car.model|element:1]
[car.price|element:1]
noyzen has reacted to this post.