$chain Statement

The $chain statement continues FlashBASIC or BASIC compilation in a different source item.

Syntax

$chain {file.ref} item-ID

Description

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

There is no limit to the number of $chain statements, but any statements after a $chain statement is ignored.

NOTE

When statements are accessed with the $chain statement, the corresponding source lines are not visible from the FlashBASIC or BASIC Debugger.

Example(s)

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

$include Statement

call Statement

common Statement

data Statement

enter Statement

execute Statement

get Statement

input Statement

precision Statement

run Command

send Statement

Statement Blocks

Statements and Functions

tcl Statement

then/else Statement Blocks

ud0ba User Exit