basic.$chain Statement/BASIC Program

basic.$chain

Command basic.$chain Statement/BASIC Program
Applicable release versions: AP 6.2
Category BASIC Program (486)
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.
Syntax $chain {file.reference} item-id
Options
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
Purpose
Related basic.statements
basic.$include