Whoops, sorry, line numbers were copied and not updated correctly....

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 5 of banana
put "cherry" & tab & "on top" into line 6 of banana
split banana using cr and tab -- yields an array

so that   banana["cherry"] is "on top"

Jim Ault
Las Vegas

On 9/22/08 5:25 PM, "Jim Ault" <[EMAIL PROTECTED]> wrote:

>> 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" <[EMAIL PROTECTED]> 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
>> [email protected]
>> Please visit this url to subscribe, unsubscribe and manage your subscription
>> preferences:
>> http://lists.runrev.com/mailman/listinfo/use-revolution
> 
> 
> _______________________________________________
> use-revolution mailing list
> [email protected]
> Please visit this url to subscribe, unsubscribe and manage your subscription
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to