long(3F) long(3F)
NAME
long, short - integer object conversion
SYNOPSIS
integer*4 function long (int2)
integer*2 int2
integer*2 function short (int4)
integer*4 int4
DESCRIPTION
These functions provide conversion between short and long
integer objects. long is useful when constants are used in
calls to library routines and the code is to be compiled
with the -i2 option. short is useful in a similar context
when an otherwise long object must be passed as a short
integer.
See the descriptions of the %INT4 and %INT2 functions in the
CX/UX Hf77 Fortran Reference Manual for alternate, more
efficient functions designed especially for constant conver-
sion.
FILES
/usr/lib/libF77.a
NOTES
When compiling source with the -Qocs option, an explicit
underscore needs to be added to the end of the routine
names.
Page 1 CX/UX Hf77 Fortran Reference Manual