Micromod MOD: 30ML Functions Data Base Reference User Manual

Page 50

Advertising
background image

MOD 30ML Functions

STATE TABLE BLOCK

Default
An ASCII string enclosed in double quotes (can contain any displayable character, see
Appendix B). String should contain no more characters than defined by ‘length’. This string
is displayed when a value does not match any of the values in the table.

Value
The values are integers between 0 and 65535. Duplicate values in the table are not allowed.

Mnemonic
An ASCII string, enclosed in double quotes, that associates a mnemonic with a value (can
contain any displayable character, see Appendix B). Duplicate mnemonics in the table are
allowed. String should contain no more characters than defined by ‘length’.

Comments
Comments may be included in the state tables and are ignored. Comments begin with the
characters /* and end with the characters */, and all characters in between are part of the
comment.

Example state table, with optional comments.

FRUIT, 6, "???" /* This is an example state table. */
{
0, "APPLE"; /* An apple a day keeps the doctor away! */
1, "ORANGE"; /* The sunshine fruit! */
2, "GRAPE"; /* Careful! Grape juice can stain! */
4, "KIWI"; /* A proud product of New Zealand!. */
}


2-42

Advertising