Opened 20 years ago
Closed 19 years ago
#322 closed defect (invalid)
line jump
Reported by: | sdelfresno | Owned by: | Víctor de Buen Remiro |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Text | Version: | head |
Severity: | normal | Keywords: | |
Cc: |
Description
If the following code in the Eval window is compiled:
WriteLn("h");
WriteLn("ERROR: Error "+NL);
WriteLn("h");
WriteLn("WARNING: Warning "+NL);
WriteLn("h");
WriteLn("Traza"+NL);
WriteLn("h");
It is obtained:
h
ERROR: Error
h
WARNING: Warning
h
Traza
h
The error is that if the WriteLn includes a message of 'error' or 'warning' it does
not make the jump of line that is indicated next.
Change History (3)
comment:1 Changed 20 years ago by
comment:2 Changed 19 years ago by
Owner: | changed from danirus to Víctor de Buen Remiro |
---|
comment:3 Changed 19 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Sorry, it's not seems a problem due to TOL language but to TOLBase interface
interpreter of user messages enclosed between <E></E>. In tol.exe sentence
WriteLn("<E>ERROR: Error </E>"+NL+NL+NL) works fine.
Any way, you can avoid this problem writing
WriteLn("<E>ERROR: Error message error "+NL+NL+NL+"</E>");
Thanks to report it.
Just an explanation:
the problem arises when you try to show an error message:
WriteLn("<E>ERROR: Error </E>"+NL+NL+NL) instead of WriteLn("ERROR: Error "+NL);