MPE/iX Commands Reference Manual (32650-90877)
Chapter 4 103
Command List II
Commands CALC thru COPY
expressions using the AND, NOT, XOR, and OR logical operators, optionally nested within
parentheses.
Do not use the FINFO function with the CALC command for remote files. It ignores their
existence and returns incorrect information.
Use
This command is available in a session, job, program, or in BREAK. Pressing
Break
terminates the INPUT( ) function.
Example
The result of CALC sample depends on the value entered for sample and on the type of the
value, as shown in Table 4-2. on page 103
Related Information
Commands DELETEVAR, ELSEIF, IF, SETJCW, SETVAR, SHOWJCW, SHOWVAR, WHILE
Manuals Appendix B, "Expression Evaluator Functions"
Command Interpreter Access and Variables Programmer's Guide
CCXL
Compiles an HP C/iX program. HP C/iX is not part of the HP 3000 Series 900 Computer
System Fundamental Operating Software and must be purchased separately. This
command is recognized only if HP C/iX is installed on your system. (Native Mode)
Syntax
CCXL[
textfile
] [,[
objectfile
][,[
listfile
]]] [;INFO=
quotedstring
]
NOTE
This command follows the optional MPE/iX command line syntax. Refer to
"Optional Format for MPE/iX Commands" at the beginning of this chapter.
Parameters
textfile
The name of the text file that contains the source code to be compiled. This
is an ASCII file that you prepare with an editor such as EDIT/3000. The
Table 4-2. Results of CALC
sample Displayed (HPRESULT) Type
5*10-7 43, $2B, %53 Integer
LEN("abc") 3, $3, %3 Integer
UPS("Abc") ABC String
1=1 TRUE Boolean
MAX(1,0,abs(-12),10) 12, $c, %14 Integer