START Verb

Syntax

START {int1{,int2}{,ERR=lineref}{,fileid}}

Description

For BBj-specific information, see the START Verb - BBj.

The START verb performs the highest level reset in PRO/5. It effectively performs a CLEAR, END, and DELETE. Memory requirements may vary slightly from system to system. See the RESET verb for an overview of PRO/5 reset verb levels.

Parameter

Description

int1

Number of memory pages. A page is 256 bytes. The minimum value is 4, and the maximum value depends on the host hardware and operating system.

int2

The size of the workspace program segment in pages. If set to 0, an existing split between data and program memory will be removed. The minimum value is 4, and the maximum value depends on the host hardware and operating system. In no case can the size of the workspace program segment exceed the maximum size of a program, plus some overhead.

ERR=lineref

Branch to be taken if an error occurs during execution.

fileid

Name of the program to load. If fileid is given, PRO/5 loads the program, enters run mode, and executes the program. PRO/5 performs the load after creating a new workspace. Any errors occurring at this point cannot be trapped.

Use START to allocate enough memory to the user area to run the program. In a compound statement, only ELSE, FI, or REM can follow START.

Another way to establish a workspace size is with the '-m' command line switch when invoking PRO/5:

pro5 -m64

Examples

>START
0100 START 255,"MENU.BBX"
0100 START 255,128,"MENU.BBX"

See Also

Verbs - Alphabetical Listing