Functions: D¶
17 functions (20 overloads) on BasicRuntime.Functions starting with D.
DATA¶
Performs the data operation using the supplied data.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DATA(...) directly (no instance required) when your code needs to perform the data operation using the supplied data. |
How this member is tested
Act: Functions.DATA(/* a populated collection */)
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).
DATE¶
Performs the date operation.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DATE(...) directly (no instance required) when your code needs to perform the date operation. |
How this member is tested
Act: var result = Functions.DATE()
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.
DCOUNT¶
Performs the dcount operation using the supplied value, subString.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DCOUNT(...) directly (no instance required) when your code needs to perform the dcount operation using the supplied value, subString. |
How this member is tested
Act: var result = Functions.DCOUNT(/* 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.
DELETE¶
Overload 1
static DynamicArray Functions.DELETE(DynamicArray value, int attribute, int multivalue, int subvalue)
Performs the delete operation using the supplied value, attribute, multivalue, subvalue.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DELETE(...) directly (no instance required) when your code needs to perform the delete operation using the supplied value, attribute, multivalue, subvalue. |
How this member is tested
Act: var result = Functions.DELETE(/* 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.
Overload 2
Performs the delete operation using the supplied value, attribute, multivalue.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DELETE(...) directly (no instance required) when your code needs to perform the delete operation using the supplied value, attribute, multivalue. |
How this member is tested
Act: var result = Functions.DELETE(/* a valid DynamicArray 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 3
Performs the delete operation using the supplied value, attribute.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DELETE(...) directly (no instance required) when your code needs to perform the delete operation using the supplied value, attribute. |
How this member is tested
Act: var result = Functions.DELETE(/* 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.
DELETECACHE¶
Performs the deletecache operation using the supplied fileName.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DELETECACHE(...) directly (no instance required) when your code needs to perform the deletecache operation using the supplied fileName. |
How this member is tested
Act: Functions.DELETECACHE(/* 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).
DELETELIST¶
Performs the deletelist operation using the supplied value.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DELETELIST(...) directly (no instance required) when your code needs to perform the deletelist operation using the supplied value. |
How this member is tested
Act: Functions.DELETELIST(/* a valid String 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).
DELETEPH¶
Performs the deleteph operation.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DELETEPH(...) directly (no instance required) when your code needs to perform the deleteph operation. |
How this member is tested
Act: Functions.DELETEPH()
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).
DELETERECORD¶
static bool Functions.DELETERECORD(DynamicArray fileVariable, DynamicArray recordId, bool leaveLock)
Performs the deleterecord operation using the supplied fileVariable, recordId, leaveLock.
| Kind | Method (static) |
| Returns | bool |
| Use case | Call Functions.DELETERECORD(...) directly (no instance required) when your code needs to perform the deleterecord operation using the supplied fileVariable, recordId, leaveLock. |
How this member is tested
Act: var result = Functions.DELETERECORD(/* 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 deleterecord check for the given input.
DELETE_QUEUE¶
Overload 1
Performs the delete_queue operation using the supplied queueName.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DELETE_QUEUE(...) directly (no instance required) when your code needs to perform the delete_queue operation using the supplied queueName. |
How this member is tested
Act: Functions.DELETE_QUEUE(/* 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 delete_queue operation using the supplied machineName, queueName.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DELETE_QUEUE(...) directly (no instance required) when your code needs to perform the delete_queue operation using the supplied machineName, queueName. |
How this member is tested
Act: Functions.DELETE_QUEUE(/* a valid DynamicArray 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).
DIGEST¶
static DynamicArray Functions.DIGEST(DynamicArray algorithm, DynamicArray data, DynamicArray dataLoc, DynamicArray result)
Performs the digest operation using the supplied algorithm, data, dataLoc, result.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DIGEST(...) directly (no instance required) when your code needs to perform the digest operation using the supplied algorithm, data, dataLoc, result. |
How this member is tested
Act: var result = Functions.DIGEST(/* 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.
DIR¶
Performs the dir operation using the supplied filePath.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DIR(...) directly (no instance required) when your code needs to perform the dir operation using the supplied filePath. |
How this member is tested
Act: var result = Functions.DIR("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.
DISABLECACHE¶
Performs the disablecache operation using the supplied fileName.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DISABLECACHE(...) directly (no instance required) when your code needs to perform the disablecache operation using the supplied fileName. |
How this member is tested
Act: Functions.DISABLECACHE(/* 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).
DIV¶
Performs the div operation using the supplied value, divisor.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DIV(...) directly (no instance required) when your code needs to perform the div operation using the supplied value, divisor. |
How this member is tested
Act: var result = Functions.DIV(/* 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.
DIVS¶
Performs the divs operation using the supplied array1, array2.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DIVS(...) directly (no instance required) when your code needs to perform the divs operation using the supplied array1, array2. |
How this member is tested
Act: var result = Functions.DIVS(/* 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.
DOWNCASE¶
Performs the downcase operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DOWNCASE(...) directly (no instance required) when your code needs to perform the downcase operation using the supplied value. |
How this member is tested
Act: var result = Functions.DOWNCASE("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.
DQUOTE¶
Performs the dquote operation using the supplied value.
| Kind | Method (static) |
| Returns | DynamicArray |
| Use case | Call Functions.DQUOTE(...) directly (no instance required) when your code needs to perform the dquote operation using the supplied value. |
How this member is tested
Act: var result = Functions.DQUOTE(/* 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.
DROP_ACCOUNT¶
Performs the drop_account operation using the supplied accountName.
| Kind | Method (static) |
| Returns | void |
| Use case | Call Functions.DROP_ACCOUNT(...) directly (no instance required) when your code needs to perform the drop_account operation using the supplied accountName. |
How this member is tested
Act: Functions.DROP_ACCOUNT(/* 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).