[Scilab-Dev] variable truncation -> mlist too

vincent.couvert at scilab.org vincent.couvert at scilab.org
Thu Feb 5 16:56:29 CET 2009


Hi Yann,

Can you report a bug so that we do not forget this problem which must be
fixed in Scilab 6 (very difficult to fix it before I think) ?

Vincent

On Thu, 05 Feb 2009 16:36:08 +0100, <ycollet at freesurf.fr> wrote:
> Hello,
> 
> Just to highlight a potential problem with mlist:
> 
> When you create a mlist, the labels of the mlist are truncated too to 24
> characters.
> 
> A =
>
mlist(['plist','shortlabel','labellonglonglonglonglong1','labellonglonglonglonglong2']);
> A('shortlabel') = 10;
> A(''labellonglonglonglonglong1') = 20;
> A(''labellonglonglonglonglong1') = 30;
> 
>  =
>
mlist(['plist','shortlabel','labellonglonglonglonglong1','labellonglonglonglonglong2']);
>  
> -->A('shortlabel') = 10;
>  
> -->A(''labellonglonglonglonglong1') = 20;
> Attention:
> L'identifiant : labellonglonglonglonglong1
>  a été tronqué en : labellonglonglonglonglon.
> 
>        !--error 276 
> Opérateur, virgule ou point-virgule manquant.
> 
>  
>  
> -->A(''labellonglonglonglonglong1') = 30;
> Attention:
> L'identifiant : labellonglonglonglonglong1
>  a été tronqué en : labellonglonglonglonglon.
> 
>        !--error 276 
> Opérateur, virgule ou point-virgule manquant.
> 
>  
>  
> -->A
>  A  =
>  
>  
>        A(1)
>  
> !plist  shortlabel  labellonglonglonglonglong1 
labellonglonglonglonglong2 
> !
>  
>        A(2)
>  
>     10.  
>  
> YC
> 



More information about the dev mailing list