﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
118	"Tol crashes when making a ""WriteLn"" assigned to a ""Text"" type variable without name"	imendez	danirus	"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."	defect	closed	normal		Kernel	1.1.1	blocker	duplicate		
