HP 3000 Manuals

TRANSACT Enhancements [ COMMUNICATOR 3000 XL, XL Release 1.1 (Core Software Release A.10.00) ] MPE/iX Communicators


COMMUNICATOR 3000 XL, XL Release 1.1 (Core Software Release A.10.00)

TRANSACT Enhancements 

by Gary Peck, Commercial Systems Division 

TRANSACT/V version A.06.00 and TRANSACT/XL implement major enhancements:

  Boolean "AND" and "OR"
  "<>" (not equal) for lists of values
  Class condition tests
  Arithmetic expressions in IF, WHILE, and REPEAT
  Arithmetic traps in calculations
  MOVE concatenation with more than two source items
  Automatically LIST and INITialize all defined items
  Print "LIST(AUTO) filename" items at that point in the compile listing

For more detailed information, please reference the Technical Section.

Array Subscripting 

Occurrences of compound items and child items can be accessed as
one-dimensional arrays via subscripting.  Previously, the LET OFFSET was
used to "step" through a record structure.  Now subscripting is allowed
in all contexts where an item-name is used, except in register verbs
(LIST, SET(MATCH), etc.)  and in the LIST= option of input/output verbs.

Boolean 'AND' and 'OR' 

New connecting operators, "AND" and "OR" , allow users to create complex
conditions for evaluation in the IF, REPEAT, and WHILE verbs.

'<>' 

The relational-operator, inequality ("<>" ), allows testing of more than
one value (a list of values) in a conditional clause.

Class Conditions 

New class conditions, NUMERIC, ALPHABETIC, ALPHABETIC-LOWER, and
ALPHABETIC-UPPER, are allowed as comparisons values in conditional
clauses.

Arithmetic Expressions 

Arithmetic expressions are allowed in conditional statements.  This
enhancement permits inclusion of arithmetic expressions on the left and
right hand sides of a boolean expression.  This means that the arithmetic
expression can be evaluated to a value on both the test-variable side and
the tested-value side of conditional expressions.

Arithmetic Traps 

Programmers now have the ability to trap arithmetic errors in LET
calculations (i.e., integer overflow).  The new ERROR= option branches to
a label and sets the STATUS register.

Move Concatenation 

The MOVE verb has been enhanced to allow concatenation of more than two
source data-items or literal strings.

LIST Enhancements 

All defined or referenced items can be placed on the LIST register and
initialized in one statement.  "LIST(AUTO) @,INIT;" sets up the LIST
register for items defined up to that point in the program.

The DEFN compiler option now causes a list of items to be printed
immediately after a "LIST(AUTO) filename;" and at the end of a segment or
program containing a "LIST(AUTO) @;" as well as the alphabetic table at
the end of the compile listing.


MPE/iX Communicators