This shows you the differences between two versions of the page.
pt:print [2016/01/01 22:48] |
pt:print [2020/02/28 10:46] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ===== Print ===== | ||
+ | ==== Formato ==== | ||
+ | **print** // | ||
+ | ==== Descrição ==== | ||
+ | Escreve texto para a janela de saída de texto, acrescentando uma nova linha. Se o ponto e vírgula opcional for incluído, a nova linha não é acrescentada. | ||
+ | ==== Exemplo ==== | ||
+ | |||
+ | < | ||
+ | for n = 1 to 5 | ||
+ | print n | ||
+ | next n | ||
+ | |||
+ | for n = 1 to 5 | ||
+ | print n; | ||
+ | next n | ||
+ | </ | ||
+ | mostra | ||
+ | < | ||
+ | 1 | ||
+ | 2 | ||
+ | 3 | ||
+ | 4 | ||
+ | 5 | ||
+ | 12345 | ||
+ | </ |