GLBasic User Manual

Main sections

SHELLEND

SHELLEND cmd$



Starts the program cmd$ and ends the current program.

Example:
// SaveSprite
FOR i = 0 TO 1000
    SETPIXEL RND(100), RND(100), RND(1677215)
NEXT
GRABSPRITE 0, 0,0, 100,100
SAVESPRITE "ugly.bmp", 0
SAVESPRITE "ugly.png", 0

// MSPaint?
SHELLEND "explorer.exe ugly.bmp"

See also...