11.04.2013 Views

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

UniBasic Commands Reference - Rocket Software

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PROGRAM<br />

Syntax<br />

PROGRAM prog.name<br />

Description<br />

The <strong>UniBasic</strong> PROGRAM command defines the name of the current main program.<br />

This statement is optional. It is used for documentation purposes only. The<br />

PROGRAM statement must be the first noncomment statement in the program.<br />

Example<br />

In the following example, the program segment declares the program name as<br />

BOOKS:<br />

REM This is a program to bill customers<br />

PROGRAM BILLS<br />

Related Command<br />

<strong>UniBasic</strong><br />

SUBROUTINE<br />

UniData<br />

BASIC, CATALOG – For information, see the UniData <strong>Commands</strong> <strong>Reference</strong>.<br />

PROGRAM 1-588

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!