73
An optional argument specifies the base to interpret the numeral. The base may be any integer
between 2 and 36, inclusive. In bases above 10, the letter 'A' (in either upper or lower case)
represents 10, 'B' represents 11, and so forth, with 'Z' representing 35. In base 10 (the default),
the number can have a decimal part, as well as an optional exponent part. In other bases, only
unsigned integers are accepted.
tostring (e)
Receives an argument of any type and converts it to a string in a reasonable format. For complete
control of how numbers are converted, use
string.format
.
If the metatable of e has a "__tostring" field, then
tostring
calls the corresponding value with e as
argument, and uses the result of the call as its result.
type (v)
Returns the type of its only argument, coded as a string. The possible results of this function are
"nil" (a string, not the value
nil
), "number", "string", "boolean", "table", "function", "thread", and
"userdata".
1.2.29.
User libraries
User libraries usually contain user defined functions which are later called from other scripts.
You have to include your library in the script with the following command:
require(‘user.test’)
Secure the code
There is an option
keep source
available for user libraries. Once disabled, the code is compiled in
the binary form and can’t be seen for further editing. If this option is enabled, the source code is
seen in the editor.
Summary of Contents for LogicMachine3 Re:actor
Page 10: ...10 Terminal connection schemes KNX TP...
Page 12: ...12 24V power supply...
Page 13: ...13 Analog inputs e g reed contact...
Page 14: ...14 Analog inputs 0 10V...
Page 15: ...15 Digital output...
Page 16: ...16 Resistive sensor input...
Page 17: ...17 Analog output...
Page 26: ...26 Make sure that bus status is Online press button in ETS...
Page 35: ...35 o Then minimize side bar by pressing on left arrow icon to make the map more visible...
Page 83: ...83 66 if err then 67 alert FTP upload failed s err 68 end...
Page 107: ...107...
Page 108: ...108 1 14 Help Documentation for scripting syntaxes is displayed in Help tab...
Page 126: ...126 Datapoints can be shown also in a way of table which can be later exported as CSV file...
Page 141: ...141...