GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Download
  • News
  • Community
  • Resources
  • Language Reference
  • SmallBASIC Manual

This view

  • Original page
  • New address

GeezerVison is showing smallbasic.github.io — SmallBASIC | LABEL

Edit History

LABEL

LABEL LabelName

Home > Reference > Language

Defines a label with name LabelName. A label marks a position in the code. Use GOTO or GOSUB to continue program execution at that label.

Example

label FirstLine
    
ii++
print ii
if(ii == 10) then goto LastLine 
goto FirstLine

label LastLine
Code samples using LABEL
004 loops.bas   3d wire cube v1.bas   3d wire cube.bas   3dtictac.bas   3dttt.bas   3dttt.bas   7gables.bas   anball 1.0.bas   betrayal: crows ii.bas   bezier_pen.bas   biorythms.bas   blackbox.bas   Blackbox.bas   bolmo.bas   calc.bas   Chaos_1xt.bas   Chaos_NPhase.bas   colors1.bas   conrec-sb-v01.bas   crow.bas   cube3d.bas   dataminmax.bas   dogstar5.bas   duty.bas   Eliza.bas   eliza.bas   esoteric.bas   Euro_calculator.bas   evdemo.bas  
Language
AND   AS   BAND   BG   BOR   BYREF   CALL   CASE   CATCH   CONST   DECLARE   DEF   DO   ELIF   ELSE   ELSEIF   END   END TRY   ENDIF   EQV   EXIT   FALSE   FI   FOR   FUNC   GOSUB   GOTO   IF   IFF   IMP   IN   LABEL   LET   LIKE   LOCAL   LSHIFT   MDL   MOD   NAND   NEXT   NOR   NOT   ON   OR   REM   REPEAT   RETURN   RSHIFT   SELECT   STEP   STOP   SUB   THEN   THROW   TO   TRUE   TRY   UNTIL   USE   USG   USING   WEND   WHILE   XNOR   XOR  
This page was last edited on Thu, 27 Apr 2023 11:30:28 +0200 | Markdown processed with pandoc 3.1.12.1
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.