Sharp OZ-707 Operation Manual - Page 110
Resume, Right
![]() |
UPC - 074000012141
View all Sharp OZ-707 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 110 highlights
RESUME p FORMAT: 1. RESUME 2. RESUME NEXT 3 RESUME {line number} . *Iabel Abbreviation: RESU. See Also: ON ERROR GOTO PURPOSE: Resumes program execution at the end of an error handling routine. REMARKS: RESUME resumes program execution after completing an error handling routine to which control was passed by the ON ERROR GOTO command. This command validifies the ON ERROR GOTO command again. If control is returned to the main program by any other command (GOTO, etc.), execution will be aborted if an error subsequently occurs. The error handling routine lets you take the necessary action to prevent recurrence of the same error. Control is returned depending on the format: (1) Format 1 returns control to the statement which caused the error. If an error occurs again in the same statement, the error handling routine is executed again. (2) Format 2 returns control to the statement following the error statement. (3) Format 3 returns control to the specified line. EXAMPLE: 10: ON ERROR GOTO 100 20: INPUT A, B 30: PRINT AlB 100: RESUME 20 !f zetro iSti~ssign~ to variable B or an overflow occurs from AlB, control returns to the mpu rou ne on line 20 and prompts for COrrect data entry. RIGHT$ p o FORMAT: RIGHT$(string,N) Abbreviation: RI. See Also: LEFT$, MID$ PURPOSE: Returns N characters from the right end of a string. REMARKS: IFfr~acI.tSio.gnrsewatiellrbtehatnrunthceatneudm• IbfeNr o'ISf Iess than 1, a null stri.ng I.S returned characters in the string the whole . string IS returned. ' 208 209
![](/manual_guide/products/sharp-oz707-operation-manual-7aa0508/110.png)