native getarg(arg, index=0);
Supplies the value of the argument
Parameter
Explanation
arg
The sequence number of the argument. Use 0 for the first argument.
index
Index if "arg" refers to an array
Explanation
Return value
This function supplies an argument from a variable argument list. If the argument
is an array, the "index" specifies the index of the required array element. The
return value is the value of the argument.
native setarg(arg, index=0, value);
Sets the value of the argument
Parameter
Explanation
arg
The sequence number of the argument. Use 0 for the first argument.
index
Index if "arg" refers to an array
value
Value to which the argument should be set
Explanation
Return value
l
true, if the value could be set
l
false, if the argument or index are invalid
This function sets an argument in a variable argument list. If the argument is an
array, the "index" specifies the index of the required array element.
native rand();
Returns a random number from the "32-Bit signed Integer" value range. However, value "-1" (ERROR)
is reserved for returning an error.
Explanation
Return value
l
Random number from the "32-Bit signed Integer" value range
l
ERROR if no random number generator is available
184
Rev. 05
Summary of Contents for myDatalogEASY V3
Page 2: ......
Page 13: ...Chapter 2 Declaration of conformity Chapter 2 Declaration of conformity Rev 05 13 ...
Page 14: ......
Page 42: ......
Page 76: ......
Page 88: ......
Page 102: ......
Page 110: ......
Page 116: ......
Page 234: ......
Page 244: ......
Page 252: ......
Page 254: ......
Page 266: ......
Page 276: ......