GetIODef
Acquires I/O labels and comments for bits, bytes, and words of input, output, and memory I/O.
Syntax
GetIODef type, index, ByRef label, ByRef comment
Parameters
type: Integer value representing the I/O type
- 1: InputBit
- 2: InputByte
- 3: InputWord
- 4: OutputBit
- 5: OutputByte
- 6: OutputWord
- 7: MemoryBit
- 8: MemoryByte
- 9: MemoryWord
- 10: InputReal
- 11: OutputReal
index: Integer value representing the bit or port number
label: Specify the string variable that gets the label corresponding to the specified type and index.
comment: Specify the string variable that gets the comment corresponding to the specified type and index.
Description
Acquires the label and comment for each I/O point.
See Also
IONumber Function, IODef Function, IOLabel$ Function, SetIODef
GetIODef Example
String strLabel$
String strDescript$
GetIODef 1, 0, ByRef strLabel$, ByRef strDescript$
Print "InputBit 0: Version = " + strLabel$
Print "InputBit 0: Description = " + strDescript$