Help Contents / Workspace Management / Workspace Control / load

load filename

command.  Reads instructions from the named file and executes them.  The file can include procedure definitions with TO, and these are accepted even if a procedure by the same name already exists.  If the file assigns a list value to a variable named STARTUP, then that list is run as an instructionlist after the file is loaded. 

Example: 

	load "bounce3.lg 
	pots 

will print: 

	to ballinit 
	to bat 
	to batinit 
	to bounce3 
	to circ size 
	to courtinit 
	to drawBall 
	to drawExplosions 
	to explosioninit 
	to fractal size level 
	to image_right tilt 
	to moveBall 
	to moveBat 
	to myfrbox size 
	to noball 
	to nobat 
	to si 
	to smallfrbox size size2 
	to stonesinit 
	to triangle 


previous: savel	next: loadLocal
