Name:
#endregion
Syntax:

#REGION "description"

(code goes here)

#ENDREGION

Description:

Ends a #region block.

Applies To:
All
See Also:
Related Create:
    Share:
    Print:

    Title

    This program has two regions; the main program and the display routine

    Code Example:
    #region "Main Program"
    
    main:
    	gosub display
    	w0 = w0 + 1
    	pause 1000
    	goto main
    	
    #endregion
    
    #region "Display Routine"
    
    display:
    	sertxd( #w0, cr, lf )
    	return
    
    #endregion
    Copy Code Submit an Example

    Submit Your Own Code!

    You must be logged in to submit code examples. Login now.

    Comments

    • Login to leave a comment.