Re: Detecting the Eu version
Patrick Barnes wrote:
> If I take a Eu2.5 program and try and run it on Eu2.3, it probably
> won't work. Fair enough. However, *why* doesn't it work? A *user* who
> encounters a problem caused by this won't know why it occurs. By being
> able to *require* a version, the interpreter can stop and say "Error,
> this program requires Euphoria version 2.5 or newer", which is much
> more helpful.
syntax error - expected to see an expression, not an
illegal character
s = s[2..$]
Indeed, the current results of running a 2.5 program on 2.4 give a
message as shown above. Now, for people who have some experience
with programming languages, that says nothing about 'not having the correct
version of Euphoria', instead it suggests that the programmer was careless,
and didn't test his code. So they might spend hours trying to 'debug' a
perfectly good program.
This is just silly, because Rob could have EASILY added versioning to
Euphoria at any time in the past. I would like to see Rob explain, in
terms that the average programmer could understand, why that was impossible,
and why it is still impossible.
Irv
^
|
Not Categorized, Please Help
|
|