IndicatorMethods class | QSYS API Reference Guide
Estimated reading time: 12 minutes
Contains extension methods for handling RPG operations for Indicator values.
Namespace: ASNA.QSys.Runtime
Assembly: ASNA.QSys.Runtime.dll
Inheritance: Object
Methods
| Signature |
Description |
| MoveLeft(Indicator, String) |
RPG’s MOVEL. Moves left a character to a string with pad. |
| MoveLeft(Indicator, Int16) |
RPG’s MOVEL. Moves left a character to a short. |
| MoveLeft(Indicator, Int32) |
RPG’s MOVEL. Moves left a character to an int. |
| MoveLeft(Indicator, Int64) |
RPG’s MOVEL. Moves left a character to a long. |
| MoveLeftToChar(Indicator) |
RPG’s MOVEL. Moves left a character to a character. |
| MoveLeftWithPad(Indicator, String) |
RPG’s MOVEL. Moves left a character to a string with pad. |
| MoveLeftWithPad(Indicator, Int16) |
RPG’s MOVEL. Moves left a character to a short with pad. |
| MoveLeftWithPad(Indicator, Int32) |
RPG’s MOVEL. Moves left a character to an int with pad. |
| MoveLeftWithPad(Indicator, Int64) |
RPG’s MOVE. Moves right a character to a long with pad. |
| MoveRight(Indicator, String) |
RPG’s MOVE. Moves right a character to a string. |
| MoveRight(Indicator, Int16) |
RPG’s MOVE. Moves right a character to a short. |
| MoveRight(Indicator, Int32) |
RPG’s MOVE. Moves right a character to an int. |
| MoveRight(Indicator, Int64) |
RPG’s MOVE. Moves right a character to a long. |
| MoveRightToChar(Indicator) |
RPG’s MOVE. Moves right a character to a character. |
| MoveRightWithPad(Indicator, String) |
RPG’s MOVE. Moves right a character to a string with pad. |
| MoveRightWithPad(Indicator, Int16) |
RPG’s MOVE. Moves right a character to a short with pad. |
| MoveRightWithPad(Indicator, Int32) |
RPG’s MOVE. Moves right a character to a int with pad. |
| MoveRightWithPad(Indicator, Int64) |
RPG’s MOVE. Moves right a character to a long with pad. |
| TestTime(String, DateTimeDataKind, DateTimeFormat, DateTimeSeparator) |
Tests whether a string containing a number represents a valid date/time/timestamp value. |
RPG’s MOVEL. Moves left a character to a string with pad.
string MoveLeft(Indicator character, string targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| String |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| String |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to a short.
short MoveLeft(Indicator character, short targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int16 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int16 |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to an int.
int MoveLeft(Indicator character, int targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int32 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int32 |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to a long.
long MoveLeft(Indicator character, long targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int64 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int64 |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to a character.
char MoveLeftToChar(Indicator character)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
Returns
| Type |
Description |
| Char |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to a string with pad.
string MoveLeftWithPad(Indicator character, string targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| String |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| String |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to a short with pad.
short MoveLeftWithPad(Indicator character, short targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int16 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int16 |
returns the value of the move. |
RPG’s MOVEL. Moves left a character to an int with pad.
int MoveLeftWithPad(Indicator character, int targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int32 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int32 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a long with pad.
long MoveLeftWithPad(Indicator character, long targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int64 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int64 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a string.
string MoveRight(Indicator character, string targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| String |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| String |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a short.
short MoveRight(Indicator character, short targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int16 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int16 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to an int.
int MoveRight(Indicator character, int targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int32 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int32 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a long.
long MoveRight(Indicator character, long targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int64 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int64 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a character.
char MoveRightToChar(Indicator character)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
Returns
| Type |
Description |
| Char |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a string with pad.
string MoveRightWithPad(Indicator character, string targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| String |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| String |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a short with pad.
short MoveRightWithPad(Indicator character, short targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int16 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int16 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a int with pad.
int MoveRightWithPad(Indicator character, int targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int32 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int32 |
returns the value of the move. |
RPG’s MOVE. Moves right a character to a long with pad.
long MoveRightWithPad(Indicator character, long targetOperand)
Parameters
| Type |
Parameter name |
Description |
| Indicator |
character |
A char that represents the source of the move. |
| Int64 |
targetOperand |
targetOperand represents what is currently in the target of the move. |
Returns
| Type |
Description |
| Int64 |
returns the value of the move. |
Tests whether a string containing a number represents a valid date/time/timestamp value.
bool TestTime(string num, DateTimeDataKind kind, DateTimeFormat format, DateTimeSeparator separator)
Parameters
| Type |
Parameter name |
Description |
| String |
num |
The string to test. |
| DateTimeDataKind |
kind |
whether the string represents a date, time, or timestamp. |
| DateTimeFormat |
format |
The date/time/timestamp format in which the string is. |
| DateTimeSeparator |
separator |
The date/time separator. |
Returns
| Type |
Description |
| Boolean |
True if the string contains a valid representation of a date/time/timestamp value in the given kind, format, and separator. False otherwise. |