POSITION:028,114
COLOUR:STANDARD
TEXT:00,There are two kinds of library routines: procedures and functions.
TEXT:16,The only difference between a procedure and a function is that a function
TEXT:16,will return a value after it finishes running, while a procedure does
TEXT:16,not. To call a library routine that is a procedure, here is the following
TEXT:16,syntax below:
COLOUR:POINTS
TEXT:32,procedure name parameters
COLOUR:EUPHORIA
TEXT:00,              (          )
COLOUR:STANDARD
TEXT:32,The                is followed by a pair of brackets that contain a list
COLOUR:POINTS
TEXT:00,    procedure name
COLOUR:STANDARD
TEXT:16,of values to be sent to the procedure for processing, called           .
COLOUR:POINTS
TEXT:00,                                                             parameters
COLOUR:STANDARD
TEXT:16,Parameters can be data object values, variable names, or expressions
TEXT:16,that work out to a value. Procedures can have no parameters (if they are
TEXT:16,not required), or an endless list of parameters. If more than one
TEXT:16,parameter is passed to a procedure, each parameter is separated by
TEXT:16,commas. If no parameters are passed, then the brackets are placed
TEXT:16,back-to-back with no spaces in-between, like "()".
