Three very simple questions

Mark Wieder ahsoftware at sonic.net
Sun Apr 26 13:06:37 EDT 2020


On 4/26/20 9:21 AM, Graham Samuel via use-livecode wrote:
> Yes, thanks! That’s exactly what I was hoping for. I know that LC is strictly a real-time interpreter of a script rather than a compiler -> runtime system, but nevertheless it would be more comfortable to allow a better range of constants. Right now you can’t even write
> 
> constant K= 2/3
> 
> and get the calculation done by the IDE before the script is executed. "So what?”, you might say, but it would be grand to be able to declare an entire array structure without writing a program to make it happen every time a script is executed.
> 
> Still, I got the answer to my question: it’s “NO”

The concept of 'constants' has been a problem at least since Revolution 
2.1.2. Some 15 years ago someone named Waddingham made the comment that 
"Global constants are certainly something which we are looking into 
adding..."

https://quality.livecode.com/show_bug.cgi?id=1180
https://quality.livecode.com/show_bug.cgi?id=2401
https://quality.livecode.com/show_bug.cgi?id=1241
https://quality.livecode.com/show_bug.cgi?id=12802
https://quality.livecode.com/show_bug.cgi?id=13955
https://quality.livecode.com/show_bug.cgi?id=3680
https://quality.livecode.com/show_bug.cgi?id=8737
https://quality.livecode.com/show_bug.cgi?id=11306
https://quality.livecode.com/show_bug.cgi?id=19413

-- 
  Mark Wieder
  ahsoftware at gmail.com



More information about the use-livecode mailing list