GOTO-USER: Difference between revisions

From NDWiki
Jump to navigation Jump to search
m (→‎Related commands: fixed link to @CONTINUE)
m (→‎References: added 60.128.03 reference)
Line 34: Line 34:


{{ND-doc|60.128.01}} (printed June 1980), page 1-82
{{ND-doc|60.128.01}} (printed June 1980), page 1-82
{{ND-doc|60.128.01}} (printed June 1980), page 1-106


{{ND-doc|60.174.Q01}}
{{ND-doc|60.174.Q01}}
[[Category:Background Commands]]
[[Category:Background Commands]]

Revision as of 15:00, 2 October 2017

@GOTO-USER <address>

Start background program at specific address.

<address>
(octal, default = current P-register of the background program) address.

Rules:

  1. Permitted for all users.
  2. 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.

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

@RECOVER

@CONTINUE (command)

@PLACE-BINARY

@SET-PERMANENT-OPEN

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