Syntax:
The /convert option specifies the format of unformatted files containing numeric data. On ia32 and ia64 systems, the format used in memory is always IEEE little endian format. If you want to read and write unformatted data in IEEE little endian format, you do not need to convert your unformatted data and can omit this option (or specify /convert:native).
This method affects all unit numbers that use unformatted data specified by the program. Other methods are available to specify the format for all or certain unformatted files (see Converting Unformatted Numeric Data).
In the visual development environment, specify the Unformatted File Conversion in the Compatibility Compiler Option Category. The /convert options are:
/convert:big_endian | /convert:cray |
/convert:ibm | /convert:little_endian |
/convert:native | /convert:vaxd |
/convert:vaxg |
Specifies that unformatted files containing numeric data are in IEEE big endian (nonnative) format. The resulting program will read and write unformatted files containing numeric data assuming the following:
Specifies that unformatted files containing numeric data are in CRAY (nonnative) big endian format. The resulting program will read and write unformatted files containing numeric data assuming the following:
Specifies that unformatted files containing numeric data are in IBM (nonnative) big endian format. The resulting program will read and write unformatted files containing numeric data assuming the following:
Specifies that numeric data in unformatted files is in native little endian integer format and IEEE little endian floating-point format (same as used in memory), as follows:
Specifies that numeric data in unformatted files is not converted. This is the default.
Specifies that numeric data in unformatted files is in VAXD little endian format, as follows:
Specifies that numeric data in unformatted files is in VAXG little endian format, as follows:
For more information on unformatted file conversion, see Converting Unformatted Numeric Data.