HTBasic Help
×
Menu
Index

priority Example

10    CLEAR SCREEN
20    FOR Loop=0 TO 15
30      SYSTEM PRIORITY Loop
40      PRINT "System Priority: "&SYSTEM$("SYSTEM PRIORITY")
50    NEXT Loop
60    Testme
70    PRINT "Back in main."
80    PRINT "Priority: "&SYSTEM$("SYSTEM PRIORITY")
90    END
100   SUB Testme
110     PRINT "In test SUB; setting priority to 1"
120     SYSTEM PRIORITY 1
130     PRINT "Priority: "&SYSTEM$("SYSTEM PRIORITY")
140   SUBEND