`prev Menu next`

PARACT～END PARACT
PARACT～END PARACT
Any program with parallel activities consists of multiple PARACT～END PARACT program units in place of the main program.
External procedures such as EXTERNAL FUNCTION or EXTERNAL SUB follow after several PARACT～END PARACT program units.

PARACT line
A PARACT line includes its name and urgency. URGENCY is optional.
Example.
`PARACT Par1`
`PARACT Par2 URGENCY 7`
URGENCY can be from 1 to 7.
URGENCY 1 indicates its parallel activity is time critical. URGENCY 1 should not be applied for ordinal activities.
URGENCY 4 indicates ordinary urgency.
When URGENCY is ommited, urgency 4 is assumed.

START statements
The first PARACT section starts when the program starts.
Other PARACT sections start with the START statements.
EXAMPLE.

    PARACT Par1
    PRINT "ABC"
    START Par2
    END PARACT
    PARACT Par2
    PRINT "XYZ"
    END PARACT