IOLabel$ Function

Returns the I/O label for a specified input or output bit, byte, or word.

Syntax
IOLabel$(IOType, IOWidth, portNumber)

Parameters

IOType
Integer value representing the type of I/O

  • 0 - Input
  • 1 - Output
  • 2 - Memory
IOWidth
Integer value for port width: 1 (bit), 8 (byte), 16 (word)
Portnum
Integer value representing the bit, byte, or word for which the label is to be returned

Return Values
String containing the label.

See Also
PLabel$, IONumber, IODef

IOLabel$ Function Example

Integer i

For i = 0 To 15
  Print "Input ", i, ": ", IOLabel$(0, 1, i)
Next i