IONumber Function

Returns the I/O number of the specified I/O label.

Syntax
IONumber(IOlabel)

Parameters

IOlabel
String expression specifying standard I/O or memory I/O label in a string.

Return Values
Returns the I/O port number (bit, byte, word) of the specified I/O label. If there is no such I/O label, an error will be generated.

See Also
IOLabel$, IODef

IONumber Function Example

Integer IObit

IObit = IONumber("myIO")

IObit = IONumber("Station" + Str$(station) + "InCycle")