Let me show you using code. This is the code for the main menu:
Quote:
import GUI
var b1, b2, b3 : int
b1 := GUI.CreateButton (0, 0, 0, "Screen Saver 2", /*What do I need to put in here to run "bouncing circles.t"?*/)
b2 := GUI.CreateButton (0, 75, 0, "Screen Saver 1", /*What do I need to put in here to run "spawning circles.t"?*/)
b3 := GUI.CreateButton (0, 150, 0, "Quit", GUI.Quit)
loop
exit when GUI.ProcessEvent
end loop
The 2 attached files are the files that I need turing to enter when either b1 is pressed or b2.