<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18939"></HEAD>
<BODY>
<DIV dir=ltr align=left>
<DIV align=left>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=873431313-28092010>sorry but i finally found the answer .... i.e in using 
evstr instead of execstr</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=873431313-28092010>Sorry</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=873431313-28092010>Paul</SPAN></SPAN></P></DIV></DIV><BR>
<DIV dir=ltr lang=fr class=OutlookMessageHeader align=left>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>De :</B> Carrico, Paul 
[mailto:paul.carrico@esterline.com] <BR><B>Envoyé :</B> mardi 28 septembre 
2010 14:49<BR><B>À :</B> users@lists.scilab.org<BR><B>Objet :</B> 
[scilab-Users] pb with execstr<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<DIV align=left>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>All,</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010></SPAN></SPAN> </P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>Is it possible to use execstr with a loop i.e. for 
keyword ? The 2 attempts harebellow failed ...</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010></SPAN></SPAN> </P>
<P><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt">    for 
i = 1 : nbre_groupes<BR>        for j = 1 : 
execstr("n" + 
string(i))<BR>            
execstr("mfprintf(GROUPE_FLANGE" + string(i) + 
"(j,1))");<BR>        
end;     <BR>    end</SPAN></FONT></P>
<P><FONT color=navy size=2 face=Arial><SPAN 
style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"></SPAN></FONT> </P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>or </SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>    for i = 1 : 
nbre_groupes<BR>        //for j = 1 : 
execstr("n" + string(i))<BR>        
execstr("for i = 1 : n" + 
string(i));<BR>            
execstr("mfprintf(GROUPE_FLANGE" + string(i) + 
"(j,1))");<BR>        
execstr("end");     <BR>    
end</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010></SPAN></SPAN> </P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>Thanks for any advice</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010></SPAN></SPAN> </P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>Regards</SPAN></SPAN></P>
<P><SPAN style="FONT-FAMILY: Arial; COLOR: navy; FONT-SIZE: 10pt"><SPAN 
class=795494412-28092010>Paul</SPAN></SPAN></P></DIV></DIV><PRE>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.

</PRE></BODY></HTML>

<pre>--------------------------------------------------------------------------------


Le présent mail et ses pièces jointes sont confidentiels et destinés à la personne ou aux personnes visée(s) ci-dessus. Si vous avez reçu cet e-mail par erreur, veuillez contacter immédiatement l'expéditeur et effacer le message de votre système. Toute divulgation, copie ou distribution de cet e-mail est strictement interdite.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please contact the sender and delete the email from your system. If you are not the named addressee you should not disseminate, distribute or copy this email.