Skip to content

Functions: R

26 functions (42 overloads) on BasicRuntime.Functions starting with R.

A B C D E F G H I K L M N O P Q R S T U W X Z

RAISE

1 overload · BASIC reference

static DynamicArray Functions.RAISE(string value)

Performs the raise operation using the supplied value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RAISE(...) directly (no instance required) when your code needs to perform the raise operation using the supplied value.
How this member is tested

Act: var result = Functions.RAISE("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.

RANDOMIZE

2 overloads

Overload 1

static void Functions.RANDOMIZE()

The RANDOMIZE statement initialises the random number generator.

Kind Method (static)
Returns void
Use case Call Functions.RANDOMIZE(...) directly (no instance required) when your code needs to perform the randomize operation.
How this member is tested

Act: Functions.RANDOMIZE()
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

static void Functions.RANDOMIZE(DynamicArray value)

The RANDOMIZE statement initialises the random number generator.

Kind Method (static)
Returns void
Use case Call Functions.RANDOMIZE(...) directly (no instance required) when your code needs to perform the randomize operation using the supplied value.
How this member is tested

Act: Functions.RANDOMIZE(/* 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).

READ

2 overloads · BASIC reference

Overload 1

static bool Functions.READ(DynamicArray fileVariable, DynamicArray key, DynamicArray record, DynamicArray attribute, bool lockRecord, bool throwLockedException, bool throwErrorException)

Performs the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException.

Kind Method (static)
Returns bool
Use case Call Functions.READ(...) directly (no instance required) when your code needs to perform the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException.
How this member is tested

Act: var result = Functions.READ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true, true)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the read check for the given input.

Overload 2

static bool Functions.READ(DynamicArray fileVariable, DynamicArray key, DynamicArray record, DynamicArray attribute, bool lockRecord, bool throwLockedException, bool throwErrorException, bool readCache)

Performs the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException, readCache.

Kind Method (static)
Returns bool
Use case Call Functions.READ(...) directly (no instance required) when your code needs to perform the read operation using the supplied fileVariable, key, record, attribute, lockRecord, throwLockedException, throwErrorException, readCache.
How this member is tested

Act: var result = Functions.READ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true, true, true)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the read check for the given input.

READBLK

1 overload

static bool Functions.READBLK(DynamicArray fileVariable, DynamicArray returnVar, int blockSize, bool throwErrorException)

Performs the readblk operation using the supplied fileVariable, returnVar, blockSize, throwErrorException.

Kind Method (static)
Returns bool
Use case Call Functions.READBLK(...) directly (no instance required) when your code needs to perform the readblk operation using the supplied fileVariable, returnVar, blockSize, throwErrorException.
How this member is tested

Act: var result = Functions.READBLK(/* a valid DynamicArray value */, /* a valid DynamicArray value */, 1, true)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readblk check for the given input.

READINDEX

1 overload

static bool Functions.READINDEX(DynamicArray fileVariable, DynamicArray record, bool keyOnly, bool lockRecord, bool throwLockedException, bool throwErrorException)

Performs the readindex operation using the supplied fileVariable, record, keyOnly, lockRecord, throwLockedException, throwErrorException.

Kind Method (static)
Returns bool
Use case Call Functions.READINDEX(...) directly (no instance required) when your code needs to perform the readindex operation using the supplied fileVariable, record, keyOnly, lockRecord, throwLockedException, throwErrorException.
How this member is tested

Act: var result = Functions.READINDEX(/* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true, true, true)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readindex check for the given input.

READLIST

4 overloads · BASIC reference

Overload 1

static bool Functions.READLIST(DynamicArray returnVar, int listNumber)

Performs the readlist operation using the supplied returnVar, listNumber.

Kind Method (static)
Returns bool
Use case Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, listNumber.
How this member is tested

Act: var result = Functions.READLIST(/* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readlist check for the given input.

Overload 2

static bool Functions.READLIST(DynamicArray returnVar, DynamicArray settingVar, int listNumber)

Performs the readlist operation using the supplied returnVar, settingVar, listNumber.

Kind Method (static)
Returns bool
Use case Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, settingVar, listNumber.
How this member is tested

Act: var result = Functions.READLIST(/* a valid DynamicArray value */, /* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readlist check for the given input.

Overload 3

static bool Functions.READLIST(DynamicArray returnVar, string listName)

Performs the readlist operation using the supplied returnVar, listName.

Kind Method (static)
Returns bool
Use case Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, listName.
How this member is tested

Act: var result = Functions.READLIST(/* a valid DynamicArray value */, "sample")
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readlist check for the given input.

Overload 4

static bool Functions.READLIST(DynamicArray returnVar, DynamicArray settingVar, string listName)

Performs the readlist operation using the supplied returnVar, settingVar, listName.

Kind Method (static)
Returns bool
Use case Call Functions.READLIST(...) directly (no instance required) when your code needs to perform the readlist operation using the supplied returnVar, settingVar, listName.
How this member is tested

Act: var result = Functions.READLIST(/* a valid DynamicArray value */, /* a valid DynamicArray value */, "sample")
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readlist check for the given input.

READNEXT

4 overloads · BASIC reference

Overload 1

static bool Functions.READNEXT(DynamicArray returnVar, DynamicArray listVariable)

Performs the readnext operation using the supplied returnVar, listVariable.

Kind Method (static)
Returns bool
Use case Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, listVariable.
How this member is tested

Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readnext check for the given input.

Overload 2

static bool Functions.READNEXT(DynamicArray returnVar, int listNumber)

Performs the readnext operation using the supplied returnVar, listNumber.

Kind Method (static)
Returns bool
Use case Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, listNumber.
How this member is tested

Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readnext check for the given input.

Overload 3

static bool Functions.READNEXT(DynamicArray returnVar, DynamicArray returnValue, DynamicArray returnSubvalue, int listNumber)

Performs the readnext operation using the supplied returnVar, returnValue, returnSubvalue, listNumber.

Kind Method (static)
Returns bool
Use case Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, returnValue, returnSubvalue, listNumber.
How this member is tested

Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readnext check for the given input.

Overload 4

static bool Functions.READNEXT(DynamicArray returnVar, DynamicArray returnValue, int listNumber)

Performs the readnext operation using the supplied returnVar, returnValue, listNumber.

Kind Method (static)
Returns bool
Use case Call Functions.READNEXT(...) directly (no instance required) when your code needs to perform the readnext operation using the supplied returnVar, returnValue, listNumber.
How this member is tested

Act: var result = Functions.READNEXT(/* a valid DynamicArray value */, /* a valid DynamicArray value */, 1)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readnext check for the given input.

READSEQ

1 overload

static bool Functions.READSEQ(DynamicArray fileVariable, DynamicArray returnVar, bool throwErrorException)

Performs the readseq operation using the supplied fileVariable, returnVar, throwErrorException.

Kind Method (static)
Returns bool
Use case Call Functions.READSEQ(...) directly (no instance required) when your code needs to perform the readseq operation using the supplied fileVariable, returnVar, throwErrorException.
How this member is tested

Act: var result = Functions.READSEQ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, true)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the readseq check for the given input.

READSOCKET

1 overload

static int Functions.READSOCKET(DynamicArray socket, DynamicArray socketData, DynamicArray readSize, DynamicArray timeOut, DynamicArray blockingMode, DynamicArray actualSize)

Performs the readsocket operation using the supplied socket, socketData, readSize, timeOut, blockingMode, actualSize.

Kind Method (static)
Returns int
Use case Call Functions.READSOCKET(...) directly (no instance required) when your code needs to perform the readsocket operation using the supplied socket, socketData, readSize, timeOut, blockingMode, actualSize.
How this member is tested

Act: var result = Functions.READSOCKET(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result equals the expected computed value.

Expected: Returns a int value; verify it equals the expected computed result for the given input.

READ_QUEUE

1 overload

static DynamicArray Functions.READ_QUEUE(DynamicArray mq, int timeout)

Performs the read_queue operation using the supplied mq, timeout.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.READ_QUEUE(...) directly (no instance required) when your code needs to perform the read_queue operation using the supplied mq, timeout.
How this member is tested

Act: var result = Functions.READ_QUEUE(/* a valid DynamicArray 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.

READ_SOCKET

1 overload

static DynamicArray Functions.READ_SOCKET(DynamicArray socket, int readSize, int flags, int timeout)

Performs the read_socket operation using the supplied socket, readSize, flags, timeout.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.READ_SOCKET(...) directly (no instance required) when your code needs to perform the read_socket operation using the supplied socket, readSize, flags, timeout.
How this member is tested

Act: var result = Functions.READ_SOCKET(/* a valid DynamicArray value */, 1, 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.

RECORDLOCK

1 overload

static bool Functions.RECORDLOCK(DynamicArray fileVariable, DynamicArray recordId, bool throwLockedException)

Performs the recordlock operation using the supplied fileVariable, recordId, throwLockedException.

Kind Method (static)
Returns bool
Use case Call Functions.RECORDLOCK(...) directly (no instance required) when your code needs to perform the recordlock operation using the supplied fileVariable, recordId, throwLockedException.
How this member is tested

Act: var result = Functions.RECORDLOCK(/* a valid DynamicArray value */, /* a valid DynamicArray value */, true)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the recordlock check for the given input.

RECORDLOCKED

1 overload

static DynamicArray Functions.RECORDLOCKED(DynamicArray fileVariable, DynamicArray recordId)

Performs the recordlocked operation using the supplied fileVariable, recordId.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RECORDLOCKED(...) directly (no instance required) when your code needs to perform the recordlocked operation using the supplied fileVariable, recordId.
How this member is tested

Act: var result = Functions.RECORDLOCKED(/* 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.

REGEX

1 overload

static bool Functions.REGEX(DynamicArray value, string regex)

Performs the regex operation using the supplied value, regex.

Kind Method (static)
Returns bool
Use case Call Functions.REGEX(...) directly (no instance required) when your code needs to perform the regex operation using the supplied value, regex.
How this member is tested

Act: var result = Functions.REGEX(/* a valid DynamicArray value */, "sample")
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the regex check for the given input.

RELEASE

3 overloads · BASIC reference

Overload 1

static bool Functions.RELEASE()

Performs the release operation.

Kind Method (static)
Returns bool
Use case Call Functions.RELEASE(...) directly (no instance required) when your code needs to perform the release operation.
How this member is tested

Act: var result = Functions.RELEASE()
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the release check for the given input.

Overload 2

static bool Functions.RELEASE(DynamicArray fileVariable)

Performs the release operation using the supplied fileVariable.

Kind Method (static)
Returns bool
Use case Call Functions.RELEASE(...) directly (no instance required) when your code needs to perform the release operation using the supplied fileVariable.
How this member is tested

Act: var result = Functions.RELEASE(/* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the release check for the given input.

Overload 3

static bool Functions.RELEASE(DynamicArray fileVariable, DynamicArray recordId)

Performs the release operation using the supplied fileVariable, recordId.

Kind Method (static)
Returns bool
Use case Call Functions.RELEASE(...) directly (no instance required) when your code needs to perform the release operation using the supplied fileVariable, recordId.
How this member is tested

Act: var result = Functions.RELEASE(/* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the release check for the given input.

REM

1 overload

static DynamicArray Functions.REM(DynamicArray value1, DynamicArray value2)

Performs the rem operation using the supplied value1, value2.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REM(...) directly (no instance required) when your code needs to perform the rem operation using the supplied value1, value2.
How this member is tested

Act: var result = Functions.REM(/* 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.

REMOTE_EXECUTE

1 overload

static DynamicArray Functions.REMOTE_EXECUTE(DynamicArray command, string remoteAcc)

Performs the remote_execute operation using the supplied command, remoteAcc.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REMOTE_EXECUTE(...) directly (no instance required) when your code needs to perform the remote_execute operation using the supplied command, remoteAcc.
How this member is tested

Act: var result = Functions.REMOTE_EXECUTE(/* 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.

REMOVE

1 overload

static DynamicArray Functions.REMOVE(DynamicArray value, DynamicArray pos)

Performs the remove operation using the supplied value, pos.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REMOVE(...) directly (no instance required) when your code needs to perform the remove operation using the supplied value, pos.
How this member is tested

Act: var result = Functions.REMOVE(/* 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.

REPLACE

4 overloads

Overload 1

static DynamicArray Functions.REPLACE(DynamicArray variable, DynamicArray value)

Performs the replace operation using the supplied variable, value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, value.
How this member is tested

Act: var result = Functions.REPLACE(/* 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.

Overload 2

static DynamicArray Functions.REPLACE(DynamicArray variable, int attribute, DynamicArray value)

Performs the replace operation using the supplied variable, attribute, value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, attribute, value.
How this member is tested

Act: var result = Functions.REPLACE(/* a valid DynamicArray 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 3

static DynamicArray Functions.REPLACE(DynamicArray variable, int attribute, int multivalue, DynamicArray value)

Performs the replace operation using the supplied variable, attribute, multivalue, value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, attribute, multivalue, value.
How this member is tested

Act: var result = Functions.REPLACE(/* a valid DynamicArray value */, 1, 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

static DynamicArray Functions.REPLACE(DynamicArray variable, int attribute, int multivalue, int subvalue, DynamicArray value)

Performs the replace operation using the supplied variable, attribute, multivalue, subvalue, value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REPLACE(...) directly (no instance required) when your code needs to perform the replace operation using the supplied variable, attribute, multivalue, subvalue, value.
How this member is tested

Act: var result = Functions.REPLACE(/* a valid DynamicArray value */, 1, 1, 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.

RESTAPI

3 overloads

Overload 1

static DynamicArray Functions.RESTAPI(DynamicArray type, DynamicArray url, DynamicArray keyValuePair, DynamicArray contentType, DynamicArray authorization)

Performs the restapi operation using the supplied type, url, keyValuePair, contentType, authorization.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RESTAPI(...) directly (no instance required) when your code needs to perform the restapi operation using the supplied type, url, keyValuePair, contentType, authorization.
How this member is tested

Act: var result = Functions.RESTAPI(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* 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.

Overload 2

static DynamicArray Functions.RESTAPI(DynamicArray type, DynamicArray url, DynamicArray keyValuePair, DynamicArray contentType, DynamicArray authorization, DynamicArray headers)

Performs the restapi operation using the supplied type, url, keyValuePair, contentType, authorization, headers.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RESTAPI(...) directly (no instance required) when your code needs to perform the restapi operation using the supplied type, url, keyValuePair, contentType, authorization, headers.
How this member is tested

Act: var result = Functions.RESTAPI(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, /* 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.

Overload 3

static DynamicArray Functions.RESTAPI(DynamicArray type, DynamicArray url, DynamicArray keyValuePair, DynamicArray contentType)

Performs the restapi operation using the supplied type, url, keyValuePair, contentType.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RESTAPI(...) directly (no instance required) when your code needs to perform the restapi operation using the supplied type, url, keyValuePair, contentType.
How this member is tested

Act: var result = Functions.RESTAPI(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* 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.

REUSE

1 overload

static DynamicArray Functions.REUSE(DynamicArray array1)

Performs the reuse operation using the supplied array1.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.REUSE(...) directly (no instance required) when your code needs to perform the reuse operation using the supplied array1.
How this member is tested

Act: var result = Functions.REUSE(/* 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.

2 overloads

Overload 1

static DynamicArray Functions.RIGHT(DynamicArray value)

Performs the right operation using the supplied value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RIGHT(...) directly (no instance required) when your code needs to perform the right operation using the supplied value.
How this member is tested

Act: var result = Functions.RIGHT(/* 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.RIGHT(DynamicArray value, DynamicArray length)

Performs the right operation using the supplied value, length.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RIGHT(...) directly (no instance required) when your code needs to perform the right operation using the supplied value, length.
How this member is tested

Act: var result = Functions.RIGHT(/* 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.

RND

1 overload

static DynamicArray Functions.RND(DynamicArray value)

Performs the rnd operation using the supplied value.

Kind Method (static)
Returns DynamicArray
Use case Call Functions.RND(...) directly (no instance required) when your code needs to perform the rnd operation using the supplied value.
How this member is tested

Act: var result = Functions.RND(/* 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.

ROLLBACKTRANSACTION

1 overload

static bool Functions.ROLLBACKTRANSACTION()

Performs the rollbacktransaction operation.

Kind Method (static)
Returns bool
Use case Call Functions.ROLLBACKTRANSACTION(...) directly (no instance required) when your code needs to perform the rollbacktransaction operation.
How this member is tested

Act: var result = Functions.ROLLBACKTRANSACTION()
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the rollbacktransaction check for the given input.

ROOT

1 overload

static bool Functions.ROOT(DynamicArray fileName, DynamicArray indexName, DynamicArray rootVar)

Performs the root operation using the supplied fileName, indexName, rootVar.

Kind Method (static)
Returns bool
Use case Call Functions.ROOT(...) directly (no instance required) when your code needs to perform the root operation using the supplied fileName, indexName, rootVar.
How this member is tested

Act: var result = Functions.ROOT(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.

Expected: Returns true or false, indicating the outcome of the root check for the given input.

ROOTCLOSE

1 overload

static void Functions.ROOTCLOSE(DynamicArray rootVar)

Performs the rootclose operation using the supplied rootVar.

Kind Method (static)
Returns void
Use case Call Functions.ROOTCLOSE(...) directly (no instance required) when your code needs to perform the rootclose operation using the supplied rootVar.
How this member is tested

Act: Functions.ROOTCLOSE(/* 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).