This shows you the differences between two versions of the page.
es:whileendwhile [2016/01/01 22:44] |
es:whileendwhile [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== While / End While ===== | ||
+ | |||
+ | ==== Formato ==== | ||
+ | **while** // | ||
+ | // | ||
+ | **end while** | ||
+ | |||
+ | ==== Descripción ==== | ||
+ | Ejecuta la(s) // | ||
+ | |||
+ | ==== Ver también ==== | ||
+ | [[dountil|Do / Until]], [[fornext|For / Next]] | ||
+ | |||
+ | ==== Ejemplo ==== | ||
+ | < | ||
+ | r = 1 | ||
+ | while r < 6 | ||
+ | print r | ||
+ | r = r + 1 | ||
+ | end while | ||
+ | </ | ||
+ | mostrará: | ||
+ | < | ||
+ | 1 | ||
+ | 2 | ||
+ | 3 | ||
+ | 4 | ||
+ | 5 | ||
+ | </ | ||
+ | |||
+ | ==== Disponible desde la versión ==== | ||
+ | 0.9.4g | ||