Preamble

The preamble is found at the top of the program

COMMAND LINE PROGRAM
NAME "School manager"
AUTHOR "Jordan Scales <scalesjordan@gmail.com>"

FUNCTION CREATE_STUDENT()
  ...
END

MENU [
  "Add a student" CREATE_STUDENT
  ...
]

program type

One of

  • COMMAND LINE PROGRAM
  • WEB PROGRAM
  • ART PROGRAM

Don't love this "syntax"

name

Optional name of the program (otherwise use the filename)

author

Optional author name

Referenced in:
Command-line programs
The Preamble with contain: COMMAND LINE PROGRAM PRINT PRINT "Hello, world!" INPUT X <- INPUT Y <- INPUT "Enter your age:" MENU MENU [ "Enter a new student" ENTER_STUDENT "Change a student" MODIFY_STUDENT "Help" DISPLAY_HELP ] KEYBOARD CONTROLS