Deleting a column ...

Bob Sneidar bobs at twft.com
Mon Feb 16 18:31:56 EST 2009


Yep figured this out. I was using commas instead of tabs. DOH! Others  
helped me on this one also, Kudos to all.

Bob Sneidar
IT Manager
Logos Management
Calvary Chapel CM

On Feb 16, 2009, at 2:02 PM, Michael Lew wrote:

> Dear Bob
>
> You need to set the columndelimiter to comma for your script to  
> work. The
> columndelimiter defaults to tab (sensibly, in my opinion).
>
> This works:
> on testFunction
>     breakpoint
>     set the columndelimiter to comma
>     put "1,2,3" & return & "4,5,6" into myVar
>     split myVar by column
>     delete variable myVar[2]
>     combine myvar by column
>     put myVar
> end testFunction
>
> Michael
>
>> I did this:
>>
>> ON testFunction
>>     breakpoint
>>     put "1,2,3" & return & "4,5,6" into myVar
>>     split myVar by column
>>     delete variable myVar[2]
>>     combine myvar by column
>>     put myVar
>> END testFunction
>
> _______________________________________________
> 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