On Sat, Mar 22, 2014 at 5:35 PM, Alex Tweedly <[email protected]> wrote:
> constant doesn't allow any form of expression, you can't even do > constant mykey = "abc" & "def" > *sigh* I was hoping that was doing something wrong. > > A "clean" solution ? > - assign to a variable instead > This is what I've been doing > - custom prop > - since you're generating it externally - put it in a fixed-name file, > and have your script read that file in > But then it would be readable :) > > btw if I take the above code, and convert from using a constant to a > variable, I'd get > put "-----BEGIN PUBLIC KEY-----" \ > & "ABC123"\ > & "DEF456"\ > & "-----END PUBLIC KEY-----" into myVar > > but that means it's become a single line, instead of 4 lines. > Should it be > put "-----BEGIN PUBLIC KEY-----" &CR& \ > & "ABC123" &CR& \ > & "DEF456" &CR& \ > & "-----END PUBLIC KEY-----" into myVar > Yes, I blew that typing it in . . . -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
