Didtok » History » Revision 5
Revision 4 (Per Amundsen, 08/09/2015 05:45 AM) → Revision 5/6 (Per Amundsen, 08/09/2015 05:45 AM)
_Added in 1.9.0_ */didtok <name> <id> <c> <text>* Tokenizes a string by character c, then adds the result to a dialog list/combo/edit box. *Parameters* <name> - Name of the dialog. <id> - Id of the dialog control. <c> - "ASCII":http://www.asciitable.com/ value to tokenize by. <text> - Text to tokenize. *Example* <pre> ; Dialog ;Dialog table layout. dialog colors { size -1 -1 100 200 list 1, 10 10 80 180 } ; Run ;Run the dialog. /dialog -m colors colors ; Tokenize ;Tokenize the string "red blue orange yellow" by whitespace and insert result into the list control. /didtok colors 1 32 red blue orange yellow </pre>