STARTUP

Synopsis
STARTUP
Description

If assigned a list value in a file that is loaded by LOAD, that value is run as an instruction list after the loading.

Example
TO MYPROGRAM
  PRINT "Hello
END

MAKE "STARTUP [MYPROGRAM]
SAVE "myprogram.lgo
myprog.lgo

ERALL
LOAD "myprogram.lgo
Hello

SourceForge.net Logo