> Kee N. wrote:
> Iā€™m confused. Can someone explain why merge function exists when
> the put function works just as well?
> merge([[ 1 + 2 ]] = 3) vs put 1 + 2 && ā€œ= 3ā€

merge([[ 1 + 2 ]] = 3) produces a script error,
this should read merge("[[ 1 + 2 ]] = 3").

Merge is the one and only function to do *multiple* replacements in
large strings in *one* shot. This is especially *very* important when
setting wordy strings like htmltext (or emails, as JLG denoted).
_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to