User Guide definitions combine to produce a splitting headache
Jim Ault
JimAultWins at yahoo.com
Mon Sep 22 20:25:53 EDT 2008
> The definitions are reversed, right?
Yes,
the split command creates the array and
the combine command converts an array to text
put "vanilla' & tab & "ice cream" into banana
put "chocolate" & tab & "ice cream" into line 2 of banana
put "dairy" & tab & "whipped cream" into line 3 of banana
put "strawberry" & tab & "ice cream" into line 4 of banana
put "fudge" & tab & "topping" into line 4 of banana
put "cherry" & tab & "on top" into line 4 of banana
split banana using cr and tab -- yields and array with the keys of
vanilla
chocolate
dairy
strawberry
fudge
cherry
so that banana["cherry"] is "on top"
Jim Ault
Las Vegas
On 9/22/08 3:52 PM, "Jim Lambert" <jiml at netrin.com> wrote:
> From 'Revolution User Guide 3.0' page 183
>
> "combine convert text to an array using delimiters that you define"
> ...
> "split converts an array into text, placing delimiters you separate
> between the elements"
>
> The definitions are reversed, right?
>
> Jim Lambert
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
More information about the use-livecode
mailing list