Project

General

Profile

Didtok » History » Version 1

Per Amundsen, 02/09/2014 06:44 PM

1 1 Per Amundsen
*/didtok <name> <id> <c> <text>*
2
3
Tokenizes a string by character c, then adds the result to a dialog list/combo/edit box.
4
5
*Parameters*
6
7
<name> - Name of the dialog.
8
<id> - Id of the dialog control.
9
<c> - Ascii character to tokenize by.
10
<text> - Text to tokenize.
11
12
*Example*
13
14
<pre>
15
dialog colors {
16
  size -1 -1 100 200
17
  list 1, 10 10 80 180
18
}
19
 
20
/dialog -m colors colors | didtok colors 1 32 red blue orange yellow
21
</pre>