basic.$chain

Statement/BASIC Program, Releases: AP 6.2

chains to another source item

Syntax

$chain {file.reference} item-id

Description

continues Pick/BASIC compilation in a different source item.

When the file.reference is omitted, the current file is assumed.

There is no limit to the number of '$chains', but any statements after a '$chain' command will be ignored.

Example

bp myprog
003 equ bell to char(7)
004 equ am to char(254), vm to char(253), svm to char(252)
005 open 'cust' to customer.file
006 $chain prog

bp prog
002 read item1 from customer.file,'01234' else print bell

See Also

Command Name Type Description
basic.statements Definition Definition of statements and functions.
basic.$include Statement Alternate method of 'include'.

User Comments

What do you think?

Share your experience or ask a question by using the form below.

Login to leave your comments.