Re: POLL: What should value do with underscores?
- Posted by BRyan Jan 23, 2015
- 1593 views
SDPringle said...
It seems to me, there is no controversy and leaving value and get to not handle underscores specially. The front end presently parses: 1.7976931348623159e308 as 1.348269851e+308. My intention is to make the scanner throw an error when the biggest value is exceeded.
Shawn
Can't this be prevented by a user defined type ?
As far as parsing; allowing various forms of values is just adding more omplications.
and defeating the simplicity of euphoria.
Bad coding errors should just fail !
The better solution is improve the error reporting explaining what caused the error.
Forked into: Interpreter erroneously reading some numbers