The features described in this topic are obsolete
and should not be used in new IDL code.
VAX_FLOAT
This routine is obsolete and should not be used in new IDL code.
The VAX_FLOAT function performs one of two possible actions:
Syntax
Result = VAX_FLOAT( [Default] [, FILE_UNIT=lun] )
Arguments
Default
Default is used to change the default value of the VAX_FLOAT keyword to the OPEN procedures. A value of 0 (zero) makes the default for those keywords False. A non-zero value makes the default True. Specifying Default in conjunction with the FILE_UNIT keyword will cause an error.
Note
If the FILE_UNIT keyword is not specified, the value returned from VAX_FLOAT is the default value before any change is made. This is the case even if Default is specified. This allows you to get the old setting and change it in a single operation.
Keywords
FILE_UNIT
Set this keyword equal to the logical file unit number (LUN) of an open file. VAX_FLOAT returns True (1) if the file was opened with the VAX_FLOAT attribute, or False (0) otherwise. Setting the FILE_UNIT keyword when the Default argument is specified will cause an error.
Example
To determine if the default VAX_FLOAT keyword value for OPEN is True or False:
To determine the current default value of the VAX_FLOAT keyword for OPEN and change it to True (1) in a single operation:
To determine if the file currently open on logical file unit 1 was opened with the VAX_FLOAT keyword set: