AMX Mio Modero R-4 User Manual
Page 89

Programming the Mio R-4
81
Mio Modero R-4
List Box Commands (Cont.)
Data List Commands
^LDD
Deletes the data list
Syntax:
"'^LDD-'"
Variables:
• list address = address where data resides
Example:
SEND_COMMAND Device, "'^LDD-1'"
Deletes the data list located at address 1.
^LDT
Sets the column type for a
data list
Set the column type for a data list by modifying its column type. Column is the
index of the first type to set. Additional types sent will be set in this order:
0 - Text
1 - Reserved
2 - Reserved
3 - Channel
4 - Page
Syntax:
SEND_COMMAND address>, Variables: • list address = address where data resides • column = the starting column number (first column is 1) • type = subsequent columns. 0 - Text; 3 - Channel; 4 - Page Example: SEND_COMMAND Device,"'^LDT-1,1,0,0,0'" Sets the column type for the data list located at address 1. The column type ^LDL Modifies the data in a single Modifies the data in a single column field. This can be used to load a data list Syntax: SEND_COMMAND address>, column>'" Variables: • list address = address where data resides • column = the starting column number (first column is 1) • uniflag = indicates unicode; 0 - No unicode, 1 - Uses unicode • primary data = the "key" data column. The information in this column provides each row with its uniqueness. • new cell data = data information for a single field or "cell" Example: SEND_COMMAND Device,"'^LDL-1,1,0,Entry5,Music'" The field located in column 1, in the row with the primary data "Entry5" and in Example (unicode): SEND_COMMAND Device, "'^LDL- 1,1,1,0045006E0074007200790035,004D0075007300690063'" The field located in column 1, in the row with the primary data "Entry5" and in
starts at column 1, the first column is Text, the second and third columns are
also Text.
column field
that has long text fields.
the data list located at the address of 1 is a text value of Music.
the data list located at the address of 1 is a text value of Music.