Exiting Directly To Dos; Resuming A Program From The Dos Prompt; Resuming A Program From The Irl Desktop - Intermec Janus 2050 User Manual

Vehicle-mount computer 4mb
Hide thumbs Also See for Janus 2050:
Table of Contents

Advertisement

JANUS 2050 Vehicle-Mount Computer User's Manual (4MB)
7-14

Exiting Directly to DOS

The E command has a modifier, D. that is used to exit an IRL program, bypass
the IRL Desktop, and go directly to DOS.
IRL sets the exit code to a nonzero value if the ED command caused the
program to exit to DOS. IRL sets the exit code to zero if the program is
terminated normally. You can create a batch file using the exit code to
determine if the JANUS 2050 exited an IRL program and returned to DOS.
The Exit IRL command and the application break sequence return to the IRL
Desktop. You can resume the program from the DOS prompt or from the IRL
Desktop as described next.

Resuming a Program From the DOS Prompt

To resume an IRL program from the DOS prompt, type a command that
follows this syntax:
irl -rX filename
where -r instructs IRL to resume, X is the value to be placed into the status
register (#0), and filename is the name of the program.
Note: Make sure there is no space between the -r and X, or the value will not be placed
into the status register (#0).
You can omit parts of the irl -rX filename command:
If you do not include the -r argument, IRL starts the program from the
beginning and deletes the .RSM file.
If you do not supply an X value for the status register, IRL sets the register
to 0. If the value you supply is invalid, IRL sets the register to 999999999.
IRL sets the status register only when the ED command is issued.
If you do not specify a filename and you do include the -r, IRL resumes the
last program exited, as identified in the {LATEST}.RSM file.

Resuming a Program From the IRL Desktop

You can choose the Resume command from the File menu and select a
program to resume.
You can also scan the IRL Program, Resume command ($.) from the IRL
Desktop:
IRL Resume
*$.*
*$.*
39 nugget
A

Advertisement

Table of Contents
loading

Table of Contents