GOTO-USER

From NDWiki
Revision as of 21:42, 8 March 2014 by Tingo (talk | contribs) (created page for the GOTO-USER command)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
@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

@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.174.Q01 SINTRAN III QUICK REFERENCE CARD