Functions: O¶
11 functions (15 overloads) on BasicRuntime.Functions starting with O.
OCONV¶
Performs the oconv operation using the supplied value, conversion.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.OCONV(...) directly (no instance required) when your code needs to perform the oconv operation using the supplied value, conversion. |
How this member is tested
Act: var result = Functions.OCONV(/* 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.
OCONVS¶
Performs the oconvs operation using the supplied value, conversion.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.OCONVS(...) directly (no instance required) when your code needs to perform the oconvs operation using the supplied value, conversion. |
How this member is tested
Act: var result = Functions.OCONVS("sample", "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.
OPEN¶
Performs the open operation using the supplied dictname, filename, filevariable.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.OPEN(...) directly (no instance required) when your code needs to perform the open operation using the supplied dictname, filename, filevariable. |
How this member is tested
Act: var result = Functions.OPEN(/* 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 open check for the given input.
OPENPATH¶
Performs the openpath operation using the supplied filePath, filevariable.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.OPENPATH(...) directly (no instance required) when your code needs to perform the openpath operation using the supplied filePath, filevariable. |
How this member is tested
Act: var result = Functions.OPENPATH(/* 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 openpath check for the given input.
OPENSEQ¶
Overload 1
static bool Functions.OPENSEQ(DynamicArray fileName, DynamicArray recordId, DynamicArray filevariable, bool append)
Performs the openseq operation using the supplied fileName, recordId, filevariable, append.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.OPENSEQ(...) directly (no instance required) when your code needs to perform the openseq operation using the supplied fileName, recordId, filevariable, append. |
How this member is tested
Act: var result = Functions.OPENSEQ(/* a valid DynamicArray value */, /* 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 openseq check for the given input.
Overload 2
static bool Functions.OPENSEQ(DynamicArray fileName, DynamicArray recordId, DynamicArray filevariable, bool append, bool truncate)
Performs the openseq operation using the supplied fileName, recordId, filevariable, append, truncate.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.OPENSEQ(...) directly (no instance required) when your code needs to perform the openseq operation using the supplied fileName, recordId, filevariable, append, truncate. |
How this member is tested
Act: var result = Functions.OPENSEQ(/* a valid DynamicArray value */, /* a valid DynamicArray value */, /* a valid DynamicArray value */, true, true)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the openseq check for the given input.
Overload 3
Performs the openseq operation using the supplied filePath, filevariable, append.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.OPENSEQ(...) directly (no instance required) when your code needs to perform the openseq operation using the supplied filePath, filevariable, append. |
How this member is tested
Act: var result = Functions.OPENSEQ(/* 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 openseq check for the given input.
OPEN_QUEUE¶
Overload 1
Performs the open_queue operation using the supplied machineName, queueName.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.OPEN_QUEUE(...) directly (no instance required) when your code needs to perform the open_queue operation using the supplied machineName, queueName. |
How this member is tested
Act: var result = Functions.OPEN_QUEUE("sample", "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 2
Performs the open_queue operation using the supplied queueName.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.OPEN_QUEUE(...) directly (no instance required) when your code needs to perform the open_queue operation using the supplied queueName. |
How this member is tested
Act: var result = Functions.OPEN_QUEUE("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.
OPEN_SOCKET¶
Overload 1
Performs the open_socket operation using the supplied ipAddress, port, flags.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.OPEN_SOCKET(...) directly (no instance required) when your code needs to perform the open_socket operation using the supplied ipAddress, port, flags. |
How this member is tested
Act: var result = Functions.OPEN_SOCKET("sample", 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.
Overload 2
Performs the open_socket operation using the supplied ipAddress, port, flags, timeout.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.OPEN_SOCKET(...) directly (no instance required) when your code needs to perform the open_socket operation using the supplied ipAddress, port, flags, timeout. |
How this member is tested
Act: var result = Functions.OPEN_SOCKET("sample", 1, "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.
ORIGINAL¶
Performs the original operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.ORIGINAL(...) directly (no instance required) when your code needs to perform the original operation using the supplied value. |
How this member is tested
Act: var result = Functions.ORIGINAL(/* 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.
ORS¶
Performs the ors operation using the supplied value, value2.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.ORS(...) directly (no instance required) when your code needs to perform the ors operation using the supplied value, value2. |
How this member is tested
Act: var result = Functions.ORS(/* 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.
OSREAD¶
Performs the osread operation using the supplied filePath, record.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.OSREAD(...) directly (no instance required) when your code needs to perform the osread operation using the supplied filePath, record. |
How this member is tested
Act: var result = Functions.OSREAD("sample", /* a valid DynamicArray value */)
Assert: result matches the expected true/false outcome.
Expected: Returns true or false, indicating the outcome of the osread check for the given input.
OSWRITE¶
Performs the oswrite operation using the supplied filePath, record.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.OSWRITE(...) directly (no instance required) when your code needs to perform the oswrite operation using the supplied filePath, record. |
How this member is tested
Act: Functions.OSWRITE("sample", /* 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).