[scilab-Users] testing if a parameter is a colon

Serge Steer serge.steer at inria.fr
Mon Feb 6 23:05:15 CET 2012


you have to check the size of the parameter size(:) -->[-1 -1] Serge ----- Mail original -----
> De: "Adrien Vogt-Schilb" <vogt at centre-cired.fr>
> À: users at lists.scilab.org
> Envoyé: Lundi 6 Février 2012 20:48:38
> Objet: [scilab-Users] testing if a parameter is a colon
> hi
> does anyone know if it can test whether it can be tested if an
> argument is a colon ?
> the problem i have is 1==: returns %t; so right now i am using
> if a==: & isdigit(string(a))==[]
> but this is actually buggy
> any idea?
> --
> Adrien Vogt-Schilb (Cired)
> Tel: (+33) 1 43 94 73 77
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.scilab.org/pipermail/users/attachments/20120206/db7bb59a/attachment.htm>


More information about the users mailing list