Opened 20 years ago
Closed 20 years ago
#241 closed defect (fixed)
Click right botton in object inspector fails
Reported by: | César Pérez Álvarez | Owned by: | Javier Portugal |
---|---|---|---|
Priority: | highest | Milestone: | |
Component: | Interface | Version: | head |
Severity: | blocker | Keywords: | |
Cc: |
Description
I obtain this error when click right botton in object inspector:
can't read "ipNameGui(CONTENT)": no such element in array
can't read "ipNameGui(CONTENT)": no such element in array
while executing
"lindex $ipNameGui(CONTENT) 0"
(procedure "::TolInspector::ReadUserFunctions" line 34)
invoked from within
"::TolInspector::ReadUserFunctions"
(procedure "::TolInspector::PostVariable" line 23)
invoked from within
"::TolInspector::PostVariable 509 201"
(command bound to event)
Change History (3)
comment:1 Changed 20 years ago by
comment:2 Changed 20 years ago by
Status: | new → assigned |
---|
comment:3 Changed 20 years ago by
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This code modifies object Empty, making it not 'Empty'. Definitions of GUI User
functions used objet Empty to express no arguments or no value list. And as it
wasn't empty, the were some errors.
Actually the error only occurs with a piece of code. If we comile this:
FILE : untitled.tol
PURPOSE:
INCLUDES
Set Include(PathIniSadd(0));
FUNCTIONS
PROCEDURES
Real Cont = 0;
Set fun(Real n, Set acu)
{
};
Set g = fun(3, Copy(Empty));
Real Conta = 0;
Set funa(Real n)
{
};
Set ga= funa(3);
Set a = Empty;
The error related in this bug appears