GOTO/de

From MCS Wiki AVR
< GOTO
Revision as of 20:06, 11 February 2013 by Admin (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Contents

= (**COPIED FROM ENGLISH PAGE**) === Action

Jump to the specified label.

 

 

Syntax

GOTO label

 

 

Remarks

Labels can be up to 32 characters long.

When you use duplicate labels, the compiler will give you a warning.

 

 

See also

GOSUB

 

 

Example


Dim A As Byte
Start: 'a label must end with a colon
A = A + 1 'increment a
If A < 10 Then 'is it less than 10?
 Goto Start 'do it again
End If 'close IF
Print "Ready" 'that is it

Languages   English Deutsch  
Personal tools
Namespaces
Variants
Actions
Navigation
In other languages
Language