VisualNEO Web includes the possibility to work with data objects. They are very similar to Arrays but they can store much more complex data structures.
Take a look at this sample:


CreateEmptyObject [MyObjectVar]

CreateEmptyObject [MyObjectVar(0)]

CreateEmptyObject [MyObjectVar(1)]

CreateEmptyObject [MyObjectVar(2)]


SetVar [MyObjectVar(0)('name')] "John"

SetVar [MyObjectVar(0)('age')] 43

SetVar [MyObjectVar(1)('name')] "Peter"

SetVar [MyObjectVar(1)('age')] 25

SetVar [MyObjectVar(2)('name')] "Paula"

SetVar [MyObjectVar(2)('age')] 29



The first item in an object structure is zero.


You can create Objects using CreateEmptyObject action.


Displaying Object Elements On-Screen

Requires the use of a simple or array variable to store the data before displaying it on-screen.


SetVar [myvar] [MyObjectVar(2)('name')]


Using JSON data

There are some specific JSON action commands intended to work with Data Objects.