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 20 years ago

Closed 20 years ago

Last modified 18 years ago

#194 closed defect (fixed)

Fail in PutName function

Reported by: César Pérez Álvarez Owned by: danirus
Priority: normal Milestone:
Component: Kernel Version: head
Severity: normal Keywords:
Cc:

Description

If we can not use Eval to put a new name for a variable, we can use a PutName
function. But when we use it in a bucle like this:


Set set = SetOfText("a", "b");
Set c = For(1, Card(set), Real(Real k)
{ Real PutName(set[k],k) });


We obtain the following error:


ERROR: Fail in function ""

ERROR: Fallo en función <For> en iteración 1.


Change History (3)

comment:1 Changed 20 years ago by danirus

Status: newassigned

comment:2 Changed 20 years ago by danirus

Resolution: fixed
Status: assignedclosed

This bug has been just fixed.
You can download a solution from CVS.

comment:3 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_000100
Note: See TracTickets for help on using tickets.