Skip to content

Functions: O

11 functions (15 overloads) on BasicRuntime.Functions starting with O.

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

OCONV

1 overload · BASIC reference

static DynamicArray Functions.OCONV(DynamicArray value, DynamicArray conversion)

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

1 overload

static DynamicArray Functions.OCONVS(string value, string conversion)

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

1 overload · BASIC reference

static bool Functions.OPEN(DynamicArray dictname, DynamicArray filename, DynamicArray filevariable)

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

1 overload

static bool Functions.OPENPATH(DynamicArray filePath, DynamicArray filevariable)

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

3 overloads

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

static bool Functions.OPENSEQ(DynamicArray filePath, DynamicArray filevariable, bool append)

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

2 overloads

Overload 1

static DynamicArray Functions.OPEN_QUEUE(string machineName, string queueName)

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

static DynamicArray Functions.OPEN_QUEUE(string queueName)

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

2 overloads

Overload 1

static DynamicArray Functions.OPEN_SOCKET(string ipAddress, int port, string flags)

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

static DynamicArray Functions.OPEN_SOCKET(string ipAddress, int port, string flags, int timeout)

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

1 overload

static DynamicArray Functions.ORIGINAL(DynamicArray value)

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

1 overload

static DynamicArray Functions.ORS(DynamicArray value, DynamicArray value2)

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

1 overload

static bool Functions.OSREAD(string filePath, DynamicArray record)

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

1 overload

static void Functions.OSWRITE(string filePath, DynamicArray record)

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).