<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>you have to check the size of the parameter<br>size(:) -->[-1 -1]<br>Serge<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;"><b>De: </b>"Adrien Vogt-Schilb" <vogt@centre-cired.fr><br><b>À: </b>users@lists.scilab.org<br><b>Envoyé: </b>Lundi 6 Février 2012 20:48:38<br><b>Objet: </b>[scilab-Users] testing if a parameter is a colon<br><br>
hi<br>
<br>
does anyone know if it can test whether it can be tested if an
argument is a colon ?<br>
<br>
the problem i have is 1==: returns %t; so right now i am using <br>
if a==: & isdigit(string(a))==[]<br>
<br>
but this is actually buggy<br>
<br>
any idea?<br>
<div class="moz-signature">-- <br>
Adrien Vogt-Schilb (Cired) <br>
Tel: (+33) 1 43 94 <b>73 77</b></div>
</blockquote><br></div></body></html>