Jump to content

API Connection.GetPort

From Flowcode Help
Revision as of 11:55, 16 January 2023 by Wiki bot (talk | contribs)
GetPort
Gets a ports value from its index 
- UINT Index
The index of the port or a quoted port name 
- ULONG Mask
The bits of the port to isolate 
- ULONG Return


Detailed description

Examples

Calling in a calculation

  • Declare a variable 'result' of type BOOL
  • Add to a calculation icon:
    result = ::Connection.GetPort(index, mask)