Opened 16 years ago
Closed 15 years ago
#776 closed defect (fixed)
Fail using PutName
| Reported by: | Víctor de Buen Remiro | Owned by: | Víctor de Buen Remiro |
|---|---|---|---|
| Priority: | highest | Milestone: | Mantainance |
| Component: | Kernel | Version: | |
| Severity: | blocker | Keywords: | |
| Cc: |
Description
Function PutName does nothing in this code
Set _.names = Copy(Empty);
Set _.data.cols = Copy(Empty);
Real _AppendVariable( Matrix P, Text name )
{
Real ii = FindIndexByName( _.data.cols, name );
Real If( ii == 0,
{
Set Append( _.names, [[ name ]] );
Set Append( _.data.cols, [[ P ]] );
Real n = Card(_.data.cols);
Matrix PutName( name, _.data.cols[n] );
WriteLn("name='"<<name+"'");
WriteLn("Name( _.data.cols["<<n+"])='"<<
Name( _.data.cols[n] )+"'");
Real SetIndexByName( _.data.cols )
});
ii
};
Real { _AppendVariable( Matrix a = Rand(1,1,1,1), "x1" ) };
Change History (2)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
El problema se resolvió hace ya tiempo
Note: See
TracTickets for help on using
tickets.

(In [3235]) Refs #776