arithmetics
 
Home arrow Forums
wimsedu le forum
Welcome, Guest
Please Login or Register.    Lost Password?
Boucle sur une liste de variables OEF (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: Boucle sur une liste de variables OEF
#1605
eric.reyssat (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Boucle sur une liste de variables OEF 15 Years, 4 Months ago Karma: 0  
Je voudrais faire une boucle sur une liste de variables dans createxo, par exemple faire afficher les valeurs de 26 variables a,b,c,...,z

Voici un essai qui ne convient pas :

Code:

\text{a=1} \text{b=2} \text{c=3} \text{t=} \text{A=a,b,c} \for{i =1 to 3}{ \text{x=\A[\i]} \text{t=\t <br> \x=\\x} } \statement{\t}
 
Report to moderator   Logged Logged  
 
Last Edit: 2010/03/06 15:28 By bernadette.
  The administrator has disabled public write access.
#1606
bernadette (Admin)
Admin
Posts: 638
graph
User Online Now Click here to see the profile of this user
Re:Boucle sur une liste de variables OEF 15 Years, 4 Months ago Karma: 23  
Code:

\text{t=} \text{A=a,b,c} \text{B=1,2,3} \for{i =1 to 3}{ \text{x=\A[\i]} \text{t=\t <br> \A[\i]=\B[\i]} } \statement{ \for{u=1 to 3}{ \A[\u]=\B[\u] } \t }
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#1607
eric.reyssat (User)
Senior Boarder
Posts: 40
graphgraph
User Offline Click here to see the profile of this user
Re:Boucle sur une liste de variables OEF 15 Years, 4 Months ago Karma: 0  
Code:

\text{colonne=nom} \text{nom=dupond}
Code:

\text{resultat=slib(toto \colonne)}
avec un slib "toto" qui contient juste
Code:

:proc slib_out=$($wims_read_parm)
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
© 2025 WimsEdu
Joomla! est un logiciel libre distribué sous licence GNU/GPL.