Hi,

I think a link to the discussion on the forum would be appropriate: http://qery.us/35v

--
Best regards,

Mark Schonewille

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

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour 
spaces. http://www.color-converter.com

We have time for new software development projects. Contact me for a quote.

On 3/12/2013 14:59, [email protected] wrote:

I had started something trivial on the forum that has become very interesting. 
Not sure how many here also lurk there, so I thought I would bring it over.


Originally, I had commented that something like:


if x,y,z = 0 then beep


threw no error. That has evolved quite nicely into a parsing discussion, and it 
is worth looking at. It is currently at a stage where new capabilities are 
being discovered, since:


put 2*2,3*3=4,9  -- returns "true", or
put 2*2,3*3 --yields "4,9".


There are undocumented rules here, for example:


put 2*2,3*3,(0=0) -- yields "4,9,true"


whereas


put 2*2,3*3,0=0  -- yields "false"


Implying that the comma delimited list is parsed as "2*2,3*3,0" = "0" and not as 
'2*2,3*3,0=0" yields some value as in the first case. Not sure how useful this all might be, but 
that is what they said about electricity.





Craig Newman


_______________________________________________
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

Reply via email to