#365 Regina is issuing misleading error message

open
5
2012-04-29
2012-04-29
Anonymous
No

(For all Reginas up to and including 3.6):

In the one-liner REXX program:

/**/ say 'have found a \ and a : on same line!' copies(~,55)

Regina is issuing the error messages:

Error 35 running "D:\wrong.rex", line 1: Invalid expression
Error 35.1: Invalid expression detected at "\"

This is a very misleading error message ---of course, in this
context, it's not hard to figure out the real problem, but the
REXX statement could be a lot more complex.

Here's another example, but more bewildering:

/**/ say 'have found a / and a ÷ on same line!' copies(~,55)

--- same error, but this time, there's no backslash character
in the REXX statement. ____________ Gerard Schildberger

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks