Announcement

Collapse

Forum Guidelines

This forum is for finished source code that is working properly. If you have questions about this or any other source code, please post it in one of the Discussion Forums, not here.
See more
See less

Goto.bas

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Goto.bas

    Code:
    ' ---------------------------------
    
    FUNCTION PBmain as LONG
    
        01:CLS
        02:LOCAL VAR AS DWORD
        03:VAR = 1
        04:STDOUT FORMAT$(VAR)
        05:VAR=VAR+1
        06:IF VAR <= 10000 Then GOTO 04
        07:WAITKEY$
    
    End FUNCTION
    
    ' ---------------------------------
    hutch at movsd dot com
    The MASM Forum - SLL Modules and PB Libraries

    http://www.masm32.com/board/index.php?board=69.0
Working...
X