X04ABF returns the value of the current advisory message unit number, or sets the current advisory message unit number to a new value.
X04ABF enables those library routines which output advisory messages to determine the number of the output unit to which the advisory messages are to be sent; in this case X04ABF is called with
. X04ABF may also be called with
to set the unit number to a specified value. Otherwise a default value (stated in the
Users' Note for your implementation) is returned.
None.
None.
Not applicable.
The time taken by X04ABF is negligible.
In this example X04ABF is called by your main program to make the advisory message from the routine DUMMY appear on the same unit as the rest of the output (unit
). Normally a NAG Library routine with an IFAIL parameter (see
Section 3.3.2 in the Essential Introduction) would take the place of DUMMY.
None.