Indicator struct | QSYS API Reference Guide

Estimated reading time: 2 minutes

This class represents an IBM i RPG Indicator.

Namespace: ASNA.QSys.Runtime Assembly: ASNA.QSys.Runtime.dll



Properties

Type Name Description
Int32 Length Gets or Sets the size in bytes of an Indicator.
Char Value Gets or sets the value of an Indicator.
Object ValueAsObject Gets the value of an Indicator as object.

Methods

Signature Description
CompareTo(Object) Compares this instance with a specified object returns an integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified object.
Convert(Char) Convert char to Indicator.
op_Explicit(Indicator) Gets the value of an Indicator as a boolean type.
op_LogicalNot(Indicator) Operator negate.
ToString() Convert to string.

int CompareTo(object obj)

Compares this instance with a specified object returns an integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the specified object.

int CompareTo(object obj)

Parameters

Type Parameter name Description
Object obj The object to compare against.

Returns

Type Description
Int32 A 32-bit signed integer that indicates whether this instance precedes, follows, or appears in the same position in the sort order as the obj parameter.

IFixedSizeType<char> Convert(char value)

Convert char to Indicator.

IFixedSizeType<char> Convert(char value)

Parameters

Type Parameter name Description
Char value Input char.

Returns

Type Description
IFixedSizeType`1 A new Indicator instance with the char value.

bool op_Explicit(Indicator i)

Gets the value of an Indicator as a boolean type.

bool op_Explicit(Indicator i)

Parameters

Type Parameter name Description
Indicator i Input indicator

Returns

Type Description
Boolean  

bool op_LogicalNot(Indicator i)

Operator negate.

bool op_LogicalNot(Indicator i)

Parameters

Type Parameter name Description
Indicator i Input indicator.

Returns

Type Description
Boolean True if indicator was false, False otherwise.

string ToString()

Convert to string.

string ToString()