delete chunk.

Alex Tweedly alex at tweedly.net
Tue Nov 2 20:23:08 EDT 2010


Hmmm ... what should I get from

put "a,b,c" into temp
delete item -1 of temp

I think temp should now have "a,b," - i.e. the last item has 
disappeared, but the (now) trailing item delimiter should still be there.

However, I actually get that temp has "a,b" - the last comma has also 
disappeared.

The docs say that "delete chunk of container" is equivalent to "put 
empty into chunk of container" - but if I replace it so I do

put "a,b,c" into temp
put empty into item -1 of temp

then I do indeed get "a,b,".
Feels like a bug, and I should put it into QCC - but it's late at night 
and I may be just missing something.
Am I ?

Thanks
-- Alex.



More information about the use-livecode mailing list