Alphabeticisation ?
Kay C Lan
lan.kc.macmail at gmail.com
Wed Apr 16 05:02:48 EDT 2008
On Wed, Apr 16, 2008 at 3:01 AM, Richmond Mathewson <geradamas at yahoo.com>
wrote:
> Trying to a alphabeticise a list-field
> and getting nowhere . . .
>
> More details please.
If you're only trying to convert the first letter of each line then:
6 line script, with line numbers
1 put field "listField" into tStore
2 repeat for each line tLine in tStore
3 put tLine & return after tStore2
4 put toUpper(char 1 of word 1 of tLine) into char 1 of word 1 of line -1
of tStore2
5 end repeat
6 put line 1 to -1 of tStore2 into field "listField"
HTH
More information about the use-livecode
mailing list