@@ -17,7 +17,7 @@ Voir <http://microalg.info>.")
1717" AV" " BC" " LC" " TD" " TG"
1818" Affecter_a" " Afficher" " Aide" " Ajouter_a" " Alors"
1919" Cercle" " Concatener" " Contour" " credit_iterations"
20- " Declarer" " Definir" " Demander" " Demander_un_nombre"
20+ " Declarer" " Definir" " Demander" " Demander_un_nombre" " Diff "
2121" Ellipse" " En_position" " Entier@" " Epaisseur" " Et" " Exemples_de"
2222" Faire" " Faux" " Fois"
2323" Geler"
@@ -26,10 +26,12 @@ Voir <http://microalg.info>.")
2626" Millisecondes"
2727" Nieme" " Nieme@" " Nombre" " Non"
2828" Ou"
29- " Queue"
30- " RAZ" " Rectangle" " Remplissage" " Repere" " Repeter" " Retirer_de" " Retourner" " Rien"
29+ " Produit" " Puissance"
30+ " Queue" " Quotient"
31+ " RAZ" " Rectangle" " Remplissage" " Repere" " Repeter" " Reste"
32+ " Retirer_de" " Retourner" " Rien"
3133" sequence_tirages@"
32- " Segment" " Si" " Sinon"
34+ " Segment" " Si" " Sinon" " Somme "
3335" Tant_que" " Tester" " Tete" " Texte" " Triangle" " Type"
3436" valeur_utilisateur" " Vide?" " Vrai"
3537))
@@ -174,13 +176,19 @@ Voir <http://microalg.info>.")
174176 -> 10
175177" )
176178(put '+ 'text " Commande somme." )
179+ (put 'Somme 'doc (get '+ 'doc))
180+ (put 'Somme 'text (get '+ 'text))
181+ (setq Somme '+)
177182(put '- 'doc
178183" Commande qui soustrait son second paramètre à son premier paramètre et retourne le résultat.
179184
180185 : (- 7 3)
181186 -> 4
182187" )
183188(put '- 'text " Commande différence." )
189+ (put 'Diff 'doc (get '- 'doc))
190+ (put 'Diff 'text (get '- 'text))
191+ (setq Diff '-)
184192(put '* 'doc
185193" Commande qui multiplie tous ses paramètres et retourne le résultat.
186194
@@ -190,6 +198,9 @@ Voir <http://microalg.info>.")
190198 -> 24
191199" )
192200(put '* 'text " Commande produit." )
201+ (put 'Produit 'doc (get '* 'doc))
202+ (put 'Produit 'text (get '* 'text))
203+ (setq Produit '*)
193204(put '/ 'doc
194205" Commande qui divise son premier paramètre par son second paramètre et retourne le résultat.
195206
@@ -214,13 +225,19 @@ Sinon :
214225 -> 4.5
215226" )
216227(put '/ 'text " Commande quotient." )
228+ (put 'Quotient 'doc (get '/ 'doc))
229+ (put 'Quotient 'text (get '/ 'text))
230+ (setq Quotient '/)
217231(put '% 'doc
218232" Commande qui retourne le reste de la division euclidienne de son premier paramètre par son second paramètre.
219233
220234 : (% 7 3)
221235 -> 1
222236" )
223237(put '% 'text " Commande reste." )
238+ (put 'Reste 'doc (get '% 'doc))
239+ (put 'Reste 'text (get '% 'text))
240+ (setq Reste '%)
224241(put '^ 'doc
225242" Commande qui retourne son premier paramètre à la puissance du second paramètre.
226243
@@ -229,6 +246,9 @@ Sinon :
229246" )
230247(put '^ 'text " Commande puissance." )
231248(de ^ (!x !y) (** !x !y))
249+ (put 'Puissance 'doc (get '^ 'doc))
250+ (put 'Puissance 'text (get '^ 'text))
251+ (setq Puissance '^)
232252
233253# Commentaires
234254(put '!!! 'doc
0 commit comments