1. Small syntax problem
- Posted by rforno at tutopia.com Oct 13, 2002
- 357 views
Rob: I tried to use: return not not x but a syntax error was reported. This is not a meaningless sentence. I tried to return a 0 or an 1 according to x being 0 or not 0. Of course, this can be bypassed as follows: return not (not x) or: return x != 0 (which is faster?) Then I tried - - x and + + x, but none worked. I don't know if you think worthwhile to say something about this in the reference manual. Regards.
2. Re: Small syntax problem
- Posted by Robert Craig <rds at RapidEuphoria.com> Oct 13, 2002
- 351 views
rforno writes: > I tried to use: > return not not x > but a syntax error was reported. > ... > Then I tried - - x and + + x, but none worked. You're the second person in 9 years to report this. As I recall the fix is not trivial, so this has been sitting on my todo list for a long time. I'll take another look at it. Thanks, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com