embed CR in constant

dunbarx at aol.com dunbarx at aol.com
Fri Aug 28 18:31:37 CEST 2015

This may be a new instance of LC requiring two levels of evaluation, like "do" is used for in certain cases.

Try this

on MouseUp
 get "A" & CR & "B"
 constant embedCRInConstant = it
end mouseUp

Craig Newman

-----Original Message-----
From: Mike Kerner <MikeKerner at roadrunner.com>
To: How to use LiveCode <use-livecode at lists.runrev.com>
Sent: Fri, Aug 28, 2015 10:48 am
Subject: embed CR in constant

constant embedCRInConstant = "a"&CR&"b"

throws an error.  Suggestions?


On the first day, God created the heavens and the Earth
On the second day,
God created the oceans.
On the third day, God put the animals on hold for a few
   and did a little diving.
And God said, "This is
use-livecode mailing
use-livecode at lists.runrev.com
Please visit this url to subscribe,
unsubscribe and manage your subscription


More information about the use-livecode mailing list