home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Interactive Guide
/
c-cplusplus-interactive-guide.iso
/
c_ref
/
csource3
/
144_01
/
if.hlp
< prev
next >
Wrap
Text File
|
1985-08-21
|
1KB
|
44 lines
**********************************************************************
* IF *
**********************************************************************
* COPYRIGHT 1983 EUGENE H. MALLORY *
**********************************************************************
PROGRAM:
IF - used in batch command files along with ENDIF.
USAGE:
IF exp
.
.
.
ENDIF
FUNCTION:
This allows conditional execution of commands in BATCH or SUBMIT
files.
Allowed expressions are:
IF EXISTS fid
IF NOTEXISTS fid
IF string EQUAL string
IF string NOTEQUAL string
Null strings are allowed.
EXIT may be used to stop batch file execution.
IF $# EQUAL 3
COMMAND 1
COMMAND 2
EXIT
ENDIF
IF $# EQUAL 2
COMMAND 3
COMMAND 4
EXIT
ENDIF
SEE ALSO:
BATCH