JUMPTO |
Top Previous Next |
Keyword Description Jumps to line-label Class Action word Where Legal
Syntax JUMPTO[n] Where n is an integer > 0 Example Sample code IF DAYSINTRADE > 1 THEN JUMPTO[9] TEMPMEM[1] = MEMORY[1] TEMPMEM[2] = MEMORY[2] BEEP [9] DO COUNTERSUB COL1 = CLOSE ' This sets TEMPMEM[1] and TEMPMEM[2] equal to MEMORY[1] and MEMORY[2] then ' beeps on the first day in the trade only. Each day thereafter DAYSINTRADE ' is greater than 1 so Mechanica immediately "jumps" to line label [9] and ' continues processing at DO COUNTERSUB
|