Input and Output Routines

ASSOC (unit, array_structure [, offset])

Associates an array structure with a file, allowing random access input and output.

BYTEORDER, variable1, ... , variablen

Converts integers between host and network byte ordering. Can also be used to swap the order of bytes within both short and long integers.

BYTESWAP, variable1

Reverse the byte order for each element of an array.

GET_KBRD (wait)

Returns the next character available from standard input (PV‑WAVE  file unit 0).

LN03 [, filename]

Standard Library procedure that opens or closes an output file for LN03 graphics output. The file can then be printed on an LN03 printer.

PRINT, expr1, ... , exprn

PRINT performs output to the standard output stream (PV‑WAVE  file unit –1).

PRINTF, unit, expr1, ... , exprn

PRINTF requires the output file unit to be specified.

READ, var1, ..., varn

Read input from the standard input stream into PV‑WAVE  variables.

READ_AIRS(filename)

Reads in hourly data from a file in the AIRS (Aerometric Information Retrieval System) format.

READF, unit, var1, ..., varn

Read input from a file into PV‑WAVE  variables.

READU, unit, var1, ..., varn

READU reads binary (unformatted) input from a specified file. (No processing of any kind is done to the data.)

READU_32, unit, var1, ..., var20

READU_32 reads a long data type as a 4-byte value from the given input stream. It is useful in reading 32-bit Longs on a 64-bit system. In addition, it can be used to read any other PV-WAVE data types.

WPRINT [, window_index]

(Microsoft Windows Only) Prints the contents of a specified window.

WREAD_DIB ( [window_index] )

(Microsoft Windows Only) Loads a Device Independent Bitmap (DIB) from a file into a graphics window.

WREAD_META ( [window_index] )

(Microsoft Windows Only) Loads a Windows metafile (WMF) into a graphics window.

WRITEU, unit, expr1, ... , exprn

Writes binary (unformatted) data from an expression into a file.

WWRITE_DIB ( [window_index] )

(Microsoft Windows Only) Saves the contents of a graphics window to a file as a Device Independent Bitmap (DIB).

WWRITE_META ( [window_index] )

(Microsoft Windows Only) Saves the contents of a graphics window to a file as a Windows metafile (WMF).