FORTRAN Reference Manual

Compiler Directives
FORTRAN Reference Manual528615-001
10-29
HIGHBUFFER Compiler Directive
FORTRAN requires that you invoke a procedure that can be called as a function
only by a function reference, not with a CALL statement.
Value and Reference Parameters
HP FORTRAN released before B-series systems required that value parameters in
calls to Guardian routines be enclosed in backslashes. This convention is no
longer necessary. If you add a GUARDIAN directive to a FORTRAN program that
still uses backslashes around a value parameter, the compiler issues a warning
message.
VARIABLE and EXTENSIBLE Procedures
When a VARIABLE or EXTENSIBLE TAL procedure is not declared with a
GUARDIAN directive, you must write omitted parameters as \0\, and you must
include the parameter mask as one or more additional parameters.
When you declare such a procedure with the GUARDIAN directive, you indicate
omitted parameters with consecutive commas and by omitting commas after the
last parameter you specify. You must not pass the parameter mask in the
arguments to the called procedure.
Examples
This directive declares the procedure FILEINFO:
?GUARDIAN FILEINFO
This directive declares the SMU routine GETSTARTUPTEXT:
?GUARDIAN GETSTARTUPTEXT
This directive declares the procedures FILEINFO, FILERECINFO, and CONTROL:
?GUARDIAN (FILEINFO, FILERECINFO, CONTROL)
HIGHBUFFER Compiler Directive
The HIGHBUFFER directive specifies the number of words to allocate for run-time data
in the upper half of the user data segment.
size
is a number in the range of 1 through 16,383.
If you specify ENV OLD or do not specify an ENV directive, HIGHBUFFER
specifies the size of the #HIGHBUF data block, which is allocated in the upper half
of the user data segment. If you do not include a HIGHBUFFER directive in the
source file, the compiler does not allocate a #HIGHBUFFER data block. All
buffered data will be allocated in the #LOWBUF data block.
HIGHBUFFER size