[scilab-Users] testing if a parameter is a colon
Adrien Vogt-Schilb
vogt at centre-cired.fr
Mon Feb 6 23:06:32 CET 2012
thx
On 06/02/2012 23:05, Serge Steer wrote:
> you have to check the size of the parameter
> size(:) -->[-1 -1]
> Serge
>
> ------------------------------------------------------------------------
>
> *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/1b230079/attachment.htm>
More information about the users
mailing list