put after

Paul Dupuis paul at researchware.com
Mon Sep 11 18:41:21 EDT 2017


Think about it:

Items ate comma (a single character) delimited, so if a container
contains a single string (no commas) and you "put tString after item 3
of tContainer", LiveCode can logically create an "empty" item 2 and
empty item 3 using ",," and place (concatenate) tString on to the end of
empty item 3.

Words are whitespace (any whitespace) delimited, so if a container
contains a single string and you "put tString after word 3 of
tContainer", LiveCode can not create an empty word. If it tried 2
spaces, that is still a single whitespace delimiter for words. The only
choices are fail (execution error) or concatenate on to the end of the
last word it can find.

xTalk/LiveCode script tries to be a forgiving language from its
Hypercard roots and so it concatenates on to teh end of the last word it
can find.






More information about the Use-livecode mailing list