The $chain directive continues FlashBASIC or BASIC compilation in a different source item.
$chain {file.ref} item-ID
When file.ref is omitted, the current file is assumed.
There is no limit to the number of $chain directives, but any statement after a $chain directive is ignored.
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
$include directive, call statement, common statement, Compiler directives, data statement, enter statement, execute statement (UNIX), get statement, input statement, precision statement, run command, send statement, statement blocks, Statements and functions, tcl statement, then/else statement blocks, ud0ba user exit