| 
  |||||
| 
       Revista 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31  | 
  
If
If[ test, then, else] o If[ test, then, else, unknown]
     
     
     
While[]
While[condicion, cuerpo]
While[True, body; If[test,Break[]]]
Until[]
Podemos hacer un programa que simule el Repeat...Until de Pascal usando un For[inicio,test,paso,body]
Attributes[Hasta]={HoldAll}; 
Hasta[body_,test_]:=Module[{t},For[t=False,!t,t=test,body]]
     
     
EJERCICIOS
Investigue  los comandos que siguen. Dé ejemplos de su uso.
Attributes[], SetAttributes[], SetOptions[], With[],Switch[], Which[]
 
Revista  
      1
      2
      3 4 
       5
      6 7
      8 9
      10
      11
 
      12 13 14  15 16
      17 18 19
      20 21 22
      23  24 25
      26 27 28
      29 30 31
		
	Revista digital Matemática, Educación e Internet.
      Derechos Reservados