Functions: M¶
14 functions (22 overloads) on BasicRuntime.Functions starting with M.
MAT¶
Overload 1
Performs the mat operation using the supplied array, value.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.MAT(...) directly (no instance required) when your code needs to perform the mat operation using the supplied array, value. |
How this member is tested
Act: Functions.MAT(ref /* a valid DimensionedArray value */, /* a valid DynamicArray value */)
Assert: no exception is thrown and the expected side effect occurred.
Expected: No return value; verify the intended side effect occurred (state change, event raised, or exception NOT thrown for valid input).
Overload 2
Performs the mat operation using the supplied array1, array2.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.MAT(...) directly (no instance required) when your code needs to perform the mat operation using the supplied array1, array2. |
How this member is tested
Act: Functions.MAT(ref /* a valid DimensionedArray value */, /* a valid DimensionedArray value */)
Assert: no exception is thrown and the expected side effect occurred.
Expected: No return value; verify the intended side effect occurred (state change, event raised, or exception NOT thrown for valid input).
MATBUILD¶
Overload 1
Performs the matbuild operation using the supplied array.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATBUILD(...) directly (no instance required) when your code needs to perform the matbuild operation using the supplied array. |
How this member is tested
Act: var result = Functions.MATBUILD(/* a valid DimensionedArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 2
Performs the matbuild operation using the supplied array, start.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATBUILD(...) directly (no instance required) when your code needs to perform the matbuild operation using the supplied array, start. |
How this member is tested
Act: var result = Functions.MATBUILD(/* a valid DimensionedArray value */, 1)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 3
Performs the matbuild operation using the supplied array, start, delimiter.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATBUILD(...) directly (no instance required) when your code needs to perform the matbuild operation using the supplied array, start, delimiter. |
How this member is tested
Act: var result = Functions.MATBUILD(/* a valid DimensionedArray value */, 1, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 4
Performs the matbuild operation using the supplied array, delimiter.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATBUILD(...) directly (no instance required) when your code needs to perform the matbuild operation using the supplied array, delimiter. |
How this member is tested
Act: var result = Functions.MATBUILD(/* a valid DimensionedArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 5
Performs the matbuild operation using the supplied array, start, end.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATBUILD(...) directly (no instance required) when your code needs to perform the matbuild operation using the supplied array, start, end. |
How this member is tested
Act: var result = Functions.MATBUILD(/* a valid DimensionedArray value */, 1, 1)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 6
static DynamicArray Functions.MATBUILD(DimensionedArray array, int start, int end, string delimiter)
Performs the matbuild operation using the supplied array, start, end, delimiter.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATBUILD(...) directly (no instance required) when your code needs to perform the matbuild operation using the supplied array, start, end, delimiter. |
How this member is tested
Act: var result = Functions.MATBUILD(/* a valid DimensionedArray value */, 1, 1, "sample")
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MATCHFIELD¶
Performs the matchfield operation using the supplied value, pattern, field.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATCHFIELD(...) directly (no instance required) when your code needs to perform the matchfield operation using the supplied value, pattern, field. |
How this member is tested
Act: var result = Functions.MATCHFIELD("sample", "sample", 1)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MATPARSE¶
Overload 1
Performs the matparse operation using the supplied array, value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATPARSE(...) directly (no instance required) when your code needs to perform the matparse operation using the supplied array, value. |
How this member is tested
Act: var result = Functions.MATPARSE(ref /* a valid DimensionedArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 2
static DynamicArray Functions.MATPARSE(ref DimensionedArray array, DynamicArray value, string delimiter)
Performs the matparse operation using the supplied array, value, delimiter.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATPARSE(...) directly (no instance required) when your code needs to perform the matparse operation using the supplied array, value, delimiter. |
How this member is tested
Act: var result = Functions.MATPARSE(ref /* a valid DimensionedArray value */, /* a valid DynamicArray value */, "sample")
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
Overload 3
static DynamicArray Functions.MATPARSE(ref DimensionedArray array, DynamicArray value, int startposition, int endposition, string delimiter)
Performs the matparse operation using the supplied array, value, startposition, endposition, delimiter.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MATPARSE(...) directly (no instance required) when your code needs to perform the matparse operation using the supplied array, value, startposition, endposition, delimiter. |
How this member is tested
Act: var result = Functions.MATPARSE(ref /* a valid DimensionedArray value */, /* a valid DynamicArray value */, 1, 1, "sample")
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MATREAD¶
static bool Functions.MATREAD(DynamicArray fileVariable, DynamicArray key, DimensionedArray record, bool lockRecord, bool throwLockedException, bool throwErrorException)
Performs the matread operation using the supplied fileVariable, key, record, lockRecord, throwLockedException, throwErrorException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.MATREAD(...) directly (no instance required) when your code needs to perform the matread operation using the supplied fileVariable, key, record, lockRecord, throwLockedException, throwErrorException. |
How this member is tested
Act: var result = Functions.MATREAD(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DimensionedArray value */, true, true, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the matread check for the given input.
MATWRITE¶
static bool Functions.MATWRITE(DynamicArray fileVariable, DynamicArray key, DimensionedArray record, bool lockRecord, bool throwLockedException, bool throwErrorException)
Performs the matwrite operation using the supplied fileVariable, key, record, lockRecord, throwLockedException, throwErrorException.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.MATWRITE(...) directly (no instance required) when your code needs to perform the matwrite operation using the supplied fileVariable, key, record, lockRecord, throwLockedException, throwErrorException. |
How this member is tested
Act: var result = Functions.MATWRITE(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DimensionedArray value */, true, true, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the matwrite check for the given input.
MAX¶
Performs the max operation using the supplied value1, value2.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MAX(...) directly (no instance required) when your code needs to perform the max operation using the supplied value1, value2. |
How this member is tested
Act: var result = Functions.MAX(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MAXIMUM¶
Performs the maximum operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MAXIMUM(...) directly (no instance required) when your code needs to perform the maximum operation using the supplied value. |
How this member is tested
Act: var result = Functions.MAXIMUM(/* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MESSAGE¶
Performs the message operation using the supplied msgParams.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.MESSAGE(...) directly (no instance required) when your code needs to perform the message operation using the supplied msgParams. |
How this member is tested
Act: var result = Functions.MESSAGE(/* a populated collection */)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the message check for the given input.
MINIMUM¶
Performs the minimum operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MINIMUM(...) directly (no instance required) when your code needs to perform the minimum operation using the supplied value. |
How this member is tested
Act: var result = Functions.MINIMUM(/* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MKDIR¶
Performs the mkdir operation using the supplied directoryName.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MKDIR(...) directly (no instance required) when your code needs to perform the mkdir operation using the supplied directoryName. |
How this member is tested
Act: var result = Functions.MKDIR(/* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MOD¶
Performs the mod operation using the supplied value, divisor.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MOD(...) directly (no instance required) when your code needs to perform the mod operation using the supplied value, divisor. |
How this member is tested
Act: var result = Functions.MOD(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MODS¶
Performs the mods operation using the supplied value, value2.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MODS(...) directly (no instance required) when your code needs to perform the mods operation using the supplied value, value2. |
How this member is tested
Act: var result = Functions.MODS(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.
MULS¶
Performs the muls operation using the supplied array1, array2.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.MULS(...) directly (no instance required) when your code needs to perform the muls operation using the supplied array1, array2. |
How this member is tested
Act: var result = Functions.MULS(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result is a non-null instance whose state matches expectations.
Expected: Returns an instance of DynamicArray; verify its properties reflect the expected resulting state.