Opened 21 years ago
Closed 21 years ago
#118 closed defect (duplicate)
Tol crashes when making a "WriteLn" assigned to a "Text" type variable without name
Reported by: | imendez | Owned by: | danirus |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Kernel | Version: | 1.1.1 |
Severity: | blocker | Keywords: | |
Cc: |
Description
In Tol version from "Aug 2 2004 para WINDOWS", this code makes tol crashes:
/
Set CalcSetInput = For(1, 2, Text(Real n)
{
Text exprInp = "hola";
Text WriteLn("trace: "+ exprInp);
exprInp
});
/
Nevertheless, in Tol version called "Versión 1.1.1 May 28 2004 para WINDOWS" it
works perfectly.
This modification of code, assigning a name to "WriteLn":
/
Set CalcSetInput = For(1, 2, Text(Real n)
{
Text exprInp = "hola";
Text t = WriteLn("trace: "+ exprInp);
exprInp
});
/
returns an error message like:
/
ERROR: t no se pudo crear.
trace: hola
ERROR: t no se pudo crear.
/
in both versions.
This error can seem trivial, but it has token 1 hour of my time (maybe I'm too
slow) to realize the deep cause of the error and the worst thing is that this error
has appeared when using a new tol version, so it doesn't stimulate to me to go on
using new tol versions.
I'm sorry for the time you spent trying to isolate this bug, but it was reported
by Antonio Salmeron few days ago.
Your work reporting bugs is very important for the development team work, and
for Tol, their product. All the people that reports bugs are part of this team.
We are improving Tol by resolving the bugs that you are sending through Bugzilla.
Your contributions are highly appreciated.
Thanks Ivan.
* This bug has been marked as a duplicate of 109 *