From OpenSCADAWiki
Table 2. Attribute's tp values of the "fld" tag.
Tag tp | Description |
---|---|
str | String type. <fld id="host" dscr="Host name" tp="str"/> |
dec | Integer in decimal representation. <fld id="debug" dscr="Debug level" tp="dec"/> |
oct | Integer in octal representation. <fld id="cr_file_perm" dscr="Make files permissions(default 0644)" tp="oct" len="3"/> |
hex | Integer in hexadecimal representation. |
real | Real value. |
bool | Boolean sign (FALSE|TRUE). <fld id="log_sysl" dscr="Direct messages to syslog" tp="bool"/> |
time | Time in seconds (from 01/01/1970). <fld id="v_beg" dscr="Start time" tp="time"/> |