ADD TO QUEUE dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCADD TO QUEUE Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem ADD TO QUEUE — generated example
add to queue myarray()
Source: dbpro_reference.md:35
ADD TO STACK dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCADD TO STACK Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem ADD TO STACK — generated example
add to stack myarray()
Source: dbpro_reference.md:36
ARRAY COUNT dbproFunction
Compatibility: dbpro
DarkBASIC Professional function implemented with an observable contract.
Implemented in OpenDBCResult = ARRAY COUNT(Array1())
Typed signature: any array → integer
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Return value: integer
Example generated example
rem ARRAY COUNT — generated example
result = array count(myarray())
print result
Source: dbpro_reference.md:1542
ARRAY DELETE ELEMENT dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY DELETE ELEMENT Array1(), [Number2]
Typed signature: any array, number → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Number2 | number | optional |
Example generated example
rem ARRAY DELETE ELEMENT — generated example
array delete element myarray(), 1
Source: dbpro_reference.md:50
ARRAY INDEX TO BOTTOM dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INDEX TO BOTTOM Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem ARRAY INDEX TO BOTTOM — generated example
array index to bottom myarray()
Source: dbpro_reference.md:51
ARRAY INDEX TO QUEUE dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INDEX TO QUEUE Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem ARRAY INDEX TO QUEUE — generated example
array index to queue myarray()
Source: dbpro_reference.md:52
ARRAY INDEX TO STACK dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INDEX TO STACK Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem ARRAY INDEX TO STACK — generated example
array index to stack myarray()
Source: dbpro_reference.md:53
ARRAY INDEX TO TOP dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INDEX TO TOP Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem ARRAY INDEX TO TOP — generated example
array index to top myarray()
Source: dbpro_reference.md:54
ARRAY INDEX VALID dbproFunction
Compatibility: dbpro
DarkBASIC Professional function implemented with an observable contract.
Implemented in OpenDBCResult = ARRAY INDEX VALID(Array1())
Typed signature: any array → integer
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Return value: integer
Example generated example
rem ARRAY INDEX VALID — generated example
result = array index valid(myarray())
print result
Source: dbpro_reference.md:1543
ARRAY INSERT AT BOTTOM dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INSERT AT BOTTOM Array1(), [Number2]
Typed signature: any array, number → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Number2 | number | optional |
Example generated example
rem ARRAY INSERT AT BOTTOM — generated example
array insert at bottom myarray(), 1
Source: dbpro_reference.md:55
ARRAY INSERT AT ELEMENT dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INSERT AT ELEMENT Array1(), Number2
Typed signature: any array, number → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Number2 | number | — |
Example generated example
rem ARRAY INSERT AT ELEMENT — generated example
array insert at element myarray(), 1
Source: dbpro_reference.md:56
ARRAY INSERT AT TOP dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCARRAY INSERT AT TOP Array1(), [Number2]
Typed signature: any array, number → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Number2 | number | optional |
Example generated example
rem ARRAY INSERT AT TOP — generated example
array insert at top myarray(), 1
Source: dbpro_reference.md:57
EMPTY ARRAY dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCEMPTY ARRAY Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem EMPTY ARRAY — generated example
empty array myarray()
Source: dbpro_reference.md:221
GET ARRAY TYPE dbproFunction
Compatibility: dbpro
Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.
Not implemented (recognized, DBC2043 diagnostic)Result = GET ARRAY TYPE(Number1)
Typed signature: number → real
Parameters
| Parameter | Type | Notes |
|---|
Number1 | number | — |
Return value: real
Example generated example
rem GET ARRAY TYPE — generated example
result = get array type(1)
print result
Source: dbpro_reference.md:1667
LOAD ARRAY dbcdbproCommand
Compatibility: dbc and dbpro
Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.
Implemented in OpenDBCLOAD ARRAY String1$, Array2()
Typed signature: string, any array → void
Parameters
| Parameter | Type | Notes |
|---|
String1$ | string | — |
Array2() | any array | whole array (() marker) |
Example generated example
rem LOAD ARRAY — generated example
load array "media/file.dat", myarray()
Source: darkbasic_reference.md:151; dbpro_reference.md:353
NEXT ARRAY INDEX dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCNEXT ARRAY INDEX Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem NEXT ARRAY INDEX — generated example
next array index myarray()
Source: dbpro_reference.md:494
PREVIOUS ARRAY INDEX dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCPREVIOUS ARRAY INDEX Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem PREVIOUS ARRAY INDEX — generated example
previous array index myarray()
Source: dbpro_reference.md:923
REMOVE FROM QUEUE dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCREMOVE FROM QUEUE Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem REMOVE FROM QUEUE — generated example
remove from queue myarray()
Source: dbpro_reference.md:971
REMOVE FROM STACK dbproCommand
Compatibility: dbpro
DarkBASIC Professional command implemented with an observable contract.
Implemented in OpenDBCREMOVE FROM STACK Array1()
Typed signature: any array → void
Parameters
| Parameter | Type | Notes |
|---|
Array1() | any array | whole array (() marker) |
Example generated example
rem REMOVE FROM STACK — generated example
remove from stack myarray()
Source: dbpro_reference.md:972
SAVE ARRAY dbcdbproCommand
Compatibility: dbc and dbpro
Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.
Implemented in OpenDBCSAVE ARRAY String1$, Array2()
Typed signature: string, any array → void
Parameters
| Parameter | Type | Notes |
|---|
String1$ | string | — |
Array2() | any array | whole array (() marker) |
Example generated example
rem SAVE ARRAY — generated example
save array "media/file.dat", myarray()
Source: darkbasic_reference.md:277; dbpro_reference.md:1004