GOTO/de

From MCS Wiki AVR
< GOTO
Revision as of 17:48, 18 February 2013 by Stefanhamburg (Talk | contribs)
Jump to: navigation, search

Contents

Funktion

Zu einem Label springen.

 

 

Syntax

GOTO label

 

 

Anmerkungen

Labels (Sprunkmarken) können bis zu 32 Zeichen lang sein.

Wenn ein Label mehrfach vorkommt gibt der Compiler eine Warnung aus.

 

 

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