#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 doesnt 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
Owner: | changed from rcsoto to Víctor de Buen Remiro |
---|
comment:2 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
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
Keywords: | TOL added; Tol-Base removed |
---|---|
product: | Tol-Base → TOL |
comment:4 Changed 18 years ago by
Component: | Unclassified → TYPE_Anything |
---|
comment:5 Changed 18 years ago by
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
Sorry by delay and thanks to report