[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
$SEGMENT Declare New Code Segment
$SEGMENT
Causes Turbo Basic to compile all subsequent instructions in a new
code segment.
--------------------------------------------------------------------------
Notes: $SEGMENT is designed to be used when a program exceeds 64K
and the compiler returns Error 409 (Segment Overflow).
Intersegment jumps produce slightly more code and take
slightly longer to execute than intrasegment jumps.
Therefore, it's advisable to place $SEGMENT at natural
execution boundaries.
$SEGMENT may not appear within FOR/NEXT, DO/LOOP,
WHILE/WEND or IF/ENDIF constructs.
A program may consist of up to sixteen code segments.
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson