Hi Peter,

This was reported for the first time over a decade ago:
http://quality.runrev.com/show_bug.cgi?id=1241

You can do this:

constant k= "1+1"

on foo
   put value(k)
end foo

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/

On 7/13/2014 02:43, Peter W A Wood wrote:
I wanted to set a constant that included a specific Unicode code point, in this 
case a combining umlaüt. I didn't want to enter ë from the keyboard as that 
could result in a combined character rather than the grapheme cluster that I 
wanted.

I am requesting that LiveCode supports simple evaluation when setting 
constants, such as:
     constant noël = "noe" & numToCodepoint(0x0308) & "l"

Another sample simple evaluation is:
     constant approxPi = 22 / 7

It would of course be fantastic to be able to evaluate prior defines constants, 
variables and handler arguments. Then constants would effectively become 
immutable variables which will be almost essential when you add multiprocessing 
support to LiveCode. (You can already buy phones with 8-core processors).

I have submitted this as enhancement request 12802.

Regards

Peter


_______________________________________________
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