User Tools

Site Tools


pt:goto

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

pt:goto [2016/01/01 22:47] (current)
Line 1: Line 1:
 +===== Goto =====
 +==== Formato ====
 +goto //​marcador//​
 +==== Description ====
 +Faz saltar a execussão para o //​marcador//​ indicado.
 +==== See Also ====
 +[[gosubreturn|Gosub]]
 +==== Exemplo ====
 +<​code>​
 +print "​I";​
 +goto skipit
 +print " don'​t";​
 +skipit: #
 +print " want cookies."​
 +</​code>​
 +imprime
 +<​code>​
 +I want cookies.
 +</​code>​
  
 +==== Notas ====
 +As of version 0.9.9.2 [[goto|Goto]],​ [[gosubreturn|Gosub]],​ and labels can not be used in [[Function|Function]] and [[Subroutine|Subroutine]] definitions.
pt/goto.txt · Last modified: 2016/01/01 22:47 (external edit)