close Warning: Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.

Opened 18 years ago

Closed 18 years ago

Last modified 9 years ago

#468 closed defect (fixed)

WriteLn

Reported by: isena Owned by: Víctor de Buen Remiro
Priority: highest Milestone:
Component: Kernel Version: head
Severity: blocker Keywords: TOL
Cc:

Description

I would like to report a situation referring to the WriteLn function.

First of all if you read the description of this function it doesn't say that a second argument is accepted nor that this second argument has to be a specific Text object.

On another hand if you try to run the code:

WriteLn("Hello", "Hello");

it doesn’t show you an ERROR/WARNING message.

Thank you for your time!

Kind regards,

Isabela Sena

Change History (6)

comment:1 Changed 18 years ago by Víctor de Buen Remiro

Owner: changed from rcsoto to Víctor de Buen Remiro

Sorry by delay and thanks to report

comment:2 Changed 18 years ago by Víctor de Buen Remiro

Resolution: fixed
Status: newclosed

Problem has been fixed in CVS a few weeks ago but I forgot to update this bug report. Now this is the description of WriteLn function

Anything WriteLn(Text string [, Text messageType='U'])}

Writes a text in the standard output and adds a line jump.
The optional argument <messageType> indicates the type of message:

'E' : Error
'W' : Warning
'S' : System Information
'U' : User Information
'T' : Tracing information for debuging

Returns no object.

comment:3 Changed 18 years ago by Víctor de Buen Remiro

Keywords: TOL added; Tol-Base removed
product: Tol-BaseTOL

comment:4 Changed 18 years ago by Víctor de Buen Remiro

Component: UnclassifiedTYPE_Anything

comment:5 Changed 18 years ago by Víctor de Buen Remiro

bug_file_loc: http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000468

Making a test for checking this bug I've found another one: running this line TOL crashes.

Text desc = Description(FindCode("Anything","WriteLn"));

Problem was that FindCode were returning NULL for special functions as WriteLn but it's has been solved in CVS.

Finally the test has been added at

http://cvs.tol-project.org/viewcvs.cgi/tol_tests/tol/Bugzilla/bug_000468

comment:6 Changed 9 years ago by Jorge

(In [6814]) refs #468, #1869, hay que evitar la comparación con ascii extendido en los tests de tol, incluso haciendo uso de Char(...)

Note: See TracTickets for help on using tickets.