FixedArrayMethods class | QSYS API Reference Guide

Estimated reading time: 9 minutes

Contains extension methods for handling FixedArrays according to RPG semantics.

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

Inheritance: Object

Methods

Signature Description
FillArrayWith<TDim, T>(IFixedArrayBase<TDim, T>, Int32, T) Fills a given array with the specified object.
Initialize<TDim, T>(IFixedArrayBase<TDim, T>, T) Initializes the elements of an arbitrary array to the same value.
MoveToArrayDiffFieldLength<TSourceDim, TSource, TTargetDim, TTarget>(IFixedArrayBase<TSourceDim, TSource>, Int32, IFixedArrayBase<TTargetDim, TTarget>, Int32) RPG’s MOVEA. Moves source array to destination array of different field lengths, no padding.
MoveToArrayDiffFieldLengthWithPad<TSourceDim, TSource, TTargetDim, TTarget>(IFixedArrayBase<TSourceDim, TSource>, Int32, IFixedArrayBase<TTargetDim, TTarget>, Int32) RPG’s MOVEA. Moves source array to destination array of different field lengths, with padding.
MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source array to destination numeric array.
MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source array to destination numeric array.
MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source array to destination fixed decimal array.
MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source fixed decimal array to destination fixed decimal array.
MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source datetime array to destination numeric array.
MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source datetime array to destination fixed decimal array.
MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source array to destination numeric array, padding the result.
MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source array to destination numeric array, padding the result.
MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source array to destination fixed decimal array, padding the result.
MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source fixed decimal array to destination fixed decimal array, padding the result.
MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source datetime array to destination numeric array, padding the result.
MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T>, Int32, IFixedArrayBase<TTargetDim, U>, Int32) RPG’s MOVEA. Moves source datetime array to destination fixed decimal array, padding the result.

void FillArrayWith<TDim, T>(IFixedArrayBase<TDim, T> targetArr, int startPosition, T val)

Fills a given array with the specified object.

void FillArrayWith<TDim, T>(IFixedArrayBase<TDim, T> targetArr, int startPosition, T val)

void Initialize<TDim, T>(IFixedArrayBase<TDim, T> targetArr, T val)

Initializes the elements of an arbitrary array to the same value.

void Initialize<TDim, T>(IFixedArrayBase<TDim, T> targetArr, T val)

void MoveToArrayDiffFieldLength<TSourceDim, TSource, TTargetDim, TTarget>(IFixedArrayBase<TSourceDim, TSource> sourceArr, int sourceStartAt, IFixedArrayBase<TTargetDim, TTarget> targetArr, int targetStartAt)

RPG’s MOVEA. Moves source array to destination array of different field lengths, no padding.

void MoveToArrayDiffFieldLength<TSourceDim, TSource, TTargetDim, TTarget>(IFixedArrayBase<TSourceDim, TSource> sourceArr, int sourceStartAt, IFixedArrayBase<TTargetDim, TTarget> targetArr, int targetStartAt)

void MoveToArrayDiffFieldLengthWithPad<TSourceDim, TSource, TTargetDim, TTarget>(IFixedArrayBase<TSourceDim, TSource> sourceArr, int sourceStartAt, IFixedArrayBase<TTargetDim, TTarget> targetArr, int targetStartAt)

RPG’s MOVEA. Moves source array to destination array of different field lengths, with padding.

void MoveToArrayDiffFieldLengthWithPad<TSourceDim, TSource, TTargetDim, TTarget>(IFixedArrayBase<TSourceDim, TSource> sourceArr, int sourceStartAt, IFixedArrayBase<TTargetDim, TTarget> targetArr, int targetStartAt)

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source array to destination numeric array.

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source array to destination numeric array.

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source array to destination fixed decimal array.

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source fixed decimal array to destination fixed decimal array.

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source datetime array to destination numeric array.

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source datetime array to destination fixed decimal array.

void MoveToNumericArray<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source array to destination numeric array, padding the result.

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source array to destination numeric array, padding the result.

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source array to destination fixed decimal array, padding the result.

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source fixed decimal array to destination fixed decimal array, padding the result.

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source datetime array to destination numeric array, padding the result.

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)

RPG’s MOVEA. Moves source datetime array to destination fixed decimal array, padding the result.

void MoveToNumericArrayWithPad<TSourceDim, TTargetDim, T, U>(IFixedArrayBase<TSourceDim, T> source, int srcStartPos, IFixedArrayBase<TTargetDim, U> target, int dstStartPos)