modelVariable
System global variable
Extends from Object (Data element object).
Information
This element is implemented as an Object element with type=0
The functions implemented to manage the variables are:
- get(variable, row, col)
Returns the value in the position [row,col] of the variable. - set(variable, value, row, col)
Sets the value in the position [row,col] for that variable.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | Number (from Object) | 1 | Number of the object |
| Integer | rows (from Object) | 1 | size of the attribute in rows |
| Integer | cols (from Object) | 1 | size of the attribute in columns |
| Real | InitialValue (from Object) | [0] | Initial values for the variable |
| Integer | objType (from Object) | 0 | Object Type (0 == variable, 1 == attribute) |
| Integer | P (from Object) | Objects.ObjCreate(rows, cols, foo = Number) | pointer to actual matrix of values |