Deleting a column ...
    Michael Lew 
    michaell at unimelb.edu.au
       
    Mon Feb 16 17:02:32 EST 2009
    
    
  
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
    
    
More information about the use-livecode
mailing list