Next: IBM version
Up: Auxiliary routines used
Previous: MoveBlow, and
The following routines are optional, but useful when data are written
in IBM integer or floating format.
CALL CTOIBM (*ARRAY*,NW,MODE)
- Input/Output buffer:
-
- ARRAY
- On input contains words to be converted to IBM format.
After conversion it will contain the IBM formatted
words right adjusted, zero filled after the call.
- Input parameters:
-
- NW
- number of words to be converted
- MODE
- Conversion mode
- 1:
- convert to 16-bit (signed) IBM integers. Conversion of
unsigned integers before writing is not necessary (they
must not be longer than 16-bit, of course)
- 2:
- convert to 32-bit IBM integers.
- 3:
- convert to 32-bit IBM floating.
CALL CFRIBM (ARRAY,NW,MODE)
The routine converts from IBM format to local machine format. The
input has to be right adjusted, zero filled in ARRAY
.
The arguments are the same as for CTOIBM above.
CALL CFRASC (ARRAY,NW)
The routine converts from ASCII character to local character format.
ARRAY
contains NW
ASCII characters,
in the form of one character (per
word, right adjusted, zero filled). The conversion is performed in place.
CALL CTOASC (ARRAY,NW)
Inverse action of CFRASC.
CALL SFRASC (SOURCE,N1,TARGET,N2,NCH)
Janne Saarela
Tue May 16 09:44:28 METDST 1995