GOTO-USER: Difference between revisions
Jump to navigation
Jump to search
(expanded the text) |
(→Related commands: SET-PERMANENT-OPEN -> SET-PERMANENT-OPENED) |
||
Line 29: | Line 29: | ||
@[[PLACE-BINARY]] | @[[PLACE-BINARY]] | ||
@[[SET-PERMANENT- | @[[SET-PERMANENT-OPENED]] | ||
== References == | == References == |
Latest revision as of 15:06, 2 October 2017
@GOTO-USER <address>
Start background program at specific address.
- <address>
- (octal, default = current P-register of the background program) address.
Rules:
- Permitted for all users.
- When a program is terminated by an "escape" or "break", all files are normally closed. In order to keep them open until @GOTO-USER is typed, the command @SET-PERMANENT-OPEN should be used before the files are accessed the first time.
- After "escape" the values of the background RT program registers may be examined by @STATUS.
Example:
@OPEN F-1:DATA, RX
FILE NUMBER IS: 101
@SET-PERMANENT-OPEN 101
@RECOVER MAIN
("escape")
@GOTO-USER
The program MAIN is started, stopped and finally resumed at the point of interruption. The file F-1:DATA is kept permanently opened in order to avoid closing at the "break".
Related commands
References
Norsk Data Document ND–60.050.06 SINTRAN III USERS GUIDE section 3.3.4.2
Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-82
Norsk Data Document ND–60.128.01 SINTRAN III REFERENCE MANUAL (printed June 1980), page 1-106
Norsk Data Document ND–60.174.Q01 SINTRAN III QUICK REFERENCE CARD