OpenDBC
Menu

Files

Files, directories, sequential reading/writing.

118 entries — 49 implemented in OpenDBC (41%), 0 compatibility stubs.

Type and status legend

ADD FILE TO BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
ADD FILE TO BLOCK Integer1, String2$

Typed signature: integer, string → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—

Example generated example

rem ADD FILE TO BLOCK — generated example
add file to block 1, "text"

Source: dbpro_reference.md:20

CAN MAKE FILE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = CAN MAKE FILE(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem CAN MAKE FILE — generated example
result = can make file(1)
print result

Source: dbpro_reference.md:1578

CD dbcdbproCommand

Compatibility: dbc and dbpro

DarkBASIC Classic command implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): implementation status.

  • Status: Implemented in DBC, Unsupported (DBC2043) in DBPro.

DBC variant dbc

Implemented in OpenDBC
CD String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem CD — generated example
cd "text"

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
CD String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem CD — generated example
cd "text"

Source: darkbasic_reference.md:32; dbpro_reference.md:101

CLOSE DATA FILE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
CLOSE DATA FILE Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem CLOSE DATA FILE — generated example
close data file 1

Source: dbpro_reference.md:116

CLOSE FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
CLOSE FILE Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem CLOSE FILE — generated example
close file 1

Source: darkbasic_reference.md:42; dbpro_reference.md:117

CLOSE FILE BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
CLOSE FILE BLOCK Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem CLOSE FILE BLOCK — generated example
close file block 1

Source: dbpro_reference.md:118

CLOSE FILE MAP dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
CLOSE FILE MAP Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem CLOSE FILE MAP — generated example
close file map 1

Source: dbpro_reference.md:119

COPY FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
COPY FILE String1$, String2$

Typed signature: string, string → void

Parameters

ParameterTypeNotes
String1$string—
String2$string—

Example generated example

rem COPY FILE — generated example
copy file "text", "text"

Source: darkbasic_reference.md:50; dbpro_reference.md:135

CREATE FILE BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
CREATE FILE BLOCK Integer1, String2$

Typed signature: integer, string → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—

Example generated example

rem CREATE FILE BLOCK — generated example
create file block 1, "text"

Source: dbpro_reference.md:144

CREATE FILE MAP dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
CREATE FILE MAP Integer1, String2$, Integer3

Typed signature: integer, string, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—
Integer3integer—

Example generated example

rem CREATE FILE MAP — generated example
create file map 1, "text", 1

Source: dbpro_reference.md:145

DELETE DIRECTORY dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
DELETE DIRECTORY String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem DELETE DIRECTORY — generated example
delete directory "text"

Source: darkbasic_reference.md:59; dbpro_reference.md:159

DELETE FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
DELETE FILE String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem DELETE FILE — generated example
delete file "text"

Source: darkbasic_reference.md:61; dbpro_reference.md:164

DELETE FILE BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
DELETE FILE BLOCK Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem DELETE FILE BLOCK — generated example
delete file block 1

Source: dbpro_reference.md:165

DESTROY FILE MAP dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
DESTROY FILE MAP Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem DESTROY FILE MAP — generated example
destroy file map 1

Source: dbpro_reference.md:195

ENCRYPT ALL FILES dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
ENCRYPT ALL FILES String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem ENCRYPT ALL FILES — generated example
encrypt all files "text"

Source: dbpro_reference.md:234

ENCRYPT FILE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
ENCRYPT FILE String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem ENCRYPT FILE — generated example
encrypt file "text"

Source: dbpro_reference.md:235

ENCRYPT WORKSHOP FILE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
ENCRYPT WORKSHOP FILE String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem ENCRYPT WORKSHOP FILE — generated example
encrypt workshop file "text"

Source: dbpro_reference.md:236

EXECUTE FILE dbcdbproCommand

Compatibility: dbc and dbpro

DarkBASIC Classic command implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): implementation status.

  • Status: Implemented in DBC, Unsupported (DBC2043) in DBPro.

DBC variant dbc

Implemented in OpenDBC
EXECUTE FILE String1$, String2$, String3$, [Number4]

Typed signature: string, string, string, number → void

Parameters

ParameterTypeNotes
String1$string—
String2$string—
String3$string—
Number4numberoptional

Example generated example

rem EXECUTE FILE — generated example
execute file "media/file.dat", "media/file.dat", "media/file.dat", 1

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
EXECUTE FILE String1$, String2$, String3$, [Number4]

Typed signature: string, string, string, number → void

Parameters

ParameterTypeNotes
String1$string—
String2$string—
String3$string—
Number4numberoptional

Example generated example

rem EXECUTE FILE — generated example
execute file "media/file.dat", "media/file.dat", "media/file.dat", 1

Source: darkbasic_reference.md:91; dbpro_reference.md:242

EXTRACT FILE FROM BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
EXTRACT FILE FROM BLOCK Integer1, String2$, String3$

Typed signature: integer, string, string → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—
String3$string—

Example generated example

rem EXTRACT FILE FROM BLOCK — generated example
extract file from block 1, "text", "text"

Source: dbpro_reference.md:244

FILE END dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = FILE END(Number1)

Typed signature: number → integer

Parameters

ParameterTypeNotes
Number1number—

Return value: integer

Example generated example

rem FILE END — generated example
result = file end(1)
print result

Source: darkbasic_reference.md:510; dbpro_reference.md:1649

FILE EXIST dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = FILE EXIST(String1$)

Typed signature: string → integer

Parameters

ParameterTypeNotes
String1$string—

Return value: integer

Example generated example

rem FILE EXIST — generated example
result = file exist("text")
print result

Source: darkbasic_reference.md:511; dbpro_reference.md:1650

FILE OPEN dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = FILE OPEN(Number1)

Typed signature: number → integer

Parameters

ParameterTypeNotes
Number1number—

Return value: integer

Example generated example

rem FILE OPEN — generated example
result = file open(1)
print result

Source: darkbasic_reference.md:512; dbpro_reference.md:1651

FILE SIZE dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = FILE SIZE(String1$)

Typed signature: string → integer

Parameters

ParameterTypeNotes
String1$string—

Return value: integer

Example generated example

rem FILE SIZE — generated example
result = file size("text")
print result

Source: darkbasic_reference.md:513; dbpro_reference.md:1652

FIND FIRST dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
FIND FIRST

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem FIND FIRST — generated example
find first

Source: darkbasic_reference.md:96; dbpro_reference.md:250

FIND NEXT dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
FIND NEXT

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem FIND NEXT — generated example
find next

Source: darkbasic_reference.md:97; dbpro_reference.md:251

GET DATA FILE CELL dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = GET DATA FILE CELL(Integer1, Integer2, Integer3)

Typed signature: integer, integer, integer → string

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Integer3integer—

Return value: string

Example generated example

rem GET DATA FILE CELL — generated example
result$ = get data file cell(1, 1, 1)
print result$

Source: dbpro_reference.md:1681

GET DATA FILE COLUMN COUNT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DATA FILE COLUMN COUNT(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET DATA FILE COLUMN COUNT — generated example
result = get data file column count(1)
print result

Source: dbpro_reference.md:1682

GET DATA FILE EXISTS dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DATA FILE EXISTS(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET DATA FILE EXISTS — generated example
result = get data file exists(1)
print result

Source: dbpro_reference.md:1683

GET DATA FILE ROW COUNT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DATA FILE ROW COUNT(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET DATA FILE ROW COUNT — generated example
result = get data file row count(1)
print result

Source: dbpro_reference.md:1684

GET DIR$ dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result$ = GET DIR$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem GET DIR$ — generated example
result$ = get dir$()
print result$

Source: darkbasic_reference.md:523; dbpro_reference.md:1687

GET DRIVE BYTES PER SECTOR dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE BYTES PER SECTOR(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET DRIVE BYTES PER SECTOR — generated example
result = get drive bytes per sector(1)
print result

Source: dbpro_reference.md:1692

GET DRIVE COUNT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE COUNT()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem GET DRIVE COUNT — generated example
result = get drive count()
print result

Source: dbpro_reference.md:1693

GET DRIVE CYLINDER COUNT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE CYLINDER COUNT(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET DRIVE CYLINDER COUNT — generated example
result = get drive cylinder count(1)
print result

Source: dbpro_reference.md:1694

GET DRIVE FILE LENGTH SUPPORT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE FILE LENGTH SUPPORT(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET DRIVE FILE LENGTH SUPPORT — generated example
result = get drive file length support(1)
print result

Source: dbpro_reference.md:1695

GET DRIVE FILE SYSTEM$ dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = GET DRIVE FILE SYSTEM$(Integer1)

Typed signature: integer → string

Parameters

ParameterTypeNotes
Integer1integer—

Return value: string

Example generated example

rem GET DRIVE FILE SYSTEM$ — generated example
result$ = get drive file system$(1)
print result$

Source: dbpro_reference.md:1696

GET DRIVE FREE SPACE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE FREE SPACE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem GET DRIVE FREE SPACE — generated example
result = get drive free space(1, 1)
print result

Source: dbpro_reference.md:1697

GET DRIVE SERIAL$ dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = GET DRIVE SERIAL$(Integer1)

Typed signature: integer → string

Parameters

ParameterTypeNotes
Integer1integer—

Return value: string

Example generated example

rem GET DRIVE SERIAL$ — generated example
result$ = get drive serial$(1)
print result$

Source: dbpro_reference.md:1699

GET DRIVE TOTAL SIZE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE TOTAL SIZE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem GET DRIVE TOTAL SIZE — generated example
result = get drive total size(1, 1)
print result

Source: dbpro_reference.md:1700

GET DRIVE USED SPACE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DRIVE USED SPACE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem GET DRIVE USED SPACE — generated example
result = get drive used space(1, 1)
print result

Source: dbpro_reference.md:1702

GET FILE BLOCK COMPRESSION dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE BLOCK COMPRESSION(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET FILE BLOCK COMPRESSION — generated example
result = get file block compression(1)
print result

Source: dbpro_reference.md:1741

GET FILE BLOCK COUNT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE BLOCK COUNT(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET FILE BLOCK COUNT — generated example
result = get file block count(1)
print result

Source: dbpro_reference.md:1742

GET FILE BLOCK DATA EXISTS dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE BLOCK DATA EXISTS(Integer1, String2$)

Typed signature: integer, string → integer

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—

Return value: integer

Example generated example

rem GET FILE BLOCK DATA EXISTS — generated example
result = get file block data exists(1, "text")
print result

Source: dbpro_reference.md:1743

GET FILE BLOCK EXISTS dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE BLOCK EXISTS(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET FILE BLOCK EXISTS — generated example
result = get file block exists(1)
print result

Source: dbpro_reference.md:1744

GET FILE BLOCK KEY dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE BLOCK KEY(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET FILE BLOCK KEY — generated example
result = get file block key(1)
print result

Source: dbpro_reference.md:1745

GET FILE BLOCK SIZE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE BLOCK SIZE(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem GET FILE BLOCK SIZE — generated example
result = get file block size(1)
print result

Source: dbpro_reference.md:1746

GET FILE CREATION$ dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = GET FILE CREATION$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem GET FILE CREATION$ — generated example
result$ = get file creation$()
print result$

Source: dbpro_reference.md:1747

GET FILE DATE$ dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result$ = GET FILE DATE$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem GET FILE DATE$ — generated example
result$ = get file date$()
print result$

Source: darkbasic_reference.md:524; dbpro_reference.md:1748

GET FILE MAP DWORD dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE MAP DWORD(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem GET FILE MAP DWORD — generated example
result = get file map dword(1, 1)
print result

Source: dbpro_reference.md:1749

GET FILE MAP FLOAT dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET FILE MAP FLOAT(Integer1, Integer2)

Typed signature: integer, integer → real

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: real

Example generated example

rem GET FILE MAP FLOAT — generated example
result = get file map float(1, 1)
print result

Source: dbpro_reference.md:1750

GET FILE MAP STRING$ dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = GET FILE MAP STRING$(Integer1, Integer2)

Typed signature: integer, integer → string

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: string

Example generated example

rem GET FILE MAP STRING$ — generated example
result$ = get file map string$(1, 1)
print result$

Source: dbpro_reference.md:1751

GET FILE NAME$ dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result$ = GET FILE NAME$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem GET FILE NAME$ — generated example
result$ = get file name$()
print result$

Source: darkbasic_reference.md:525; dbpro_reference.md:1752

GET FILE TYPE dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = GET FILE TYPE()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem GET FILE TYPE — generated example
result = get file type()
print result

Source: darkbasic_reference.md:526; dbpro_reference.md:1753

LOAD FILE FROM BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
LOAD FILE FROM BLOCK Integer1, String2$, Integer3

Typed signature: integer, string, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—
Integer3integer—

Example generated example

rem LOAD FILE FROM BLOCK — generated example
load file from block 1, "media/file.dat", 1

Source: dbpro_reference.md:362

MAKE DIRECTORY dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
MAKE DIRECTORY String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem MAKE DIRECTORY — generated example
make directory "text"

Source: darkbasic_reference.md:169; dbpro_reference.md:399

MAKE FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
MAKE FILE String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem MAKE FILE — generated example
make file "media/file.dat"

Source: darkbasic_reference.md:170; dbpro_reference.md:402

MOVE FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
MOVE FILE String1$, String2$

Typed signature: string, string → void

Parameters

ParameterTypeNotes
String1$string—
String2$string—

Example generated example

rem MOVE FILE — generated example
move file "text", "text"

Source: darkbasic_reference.md:200; dbpro_reference.md:463

MYDOCDIR$ dbproFunction

Compatibility: dbpro

DarkBASIC Professional function implemented with an observable contract.

Implemented in OpenDBC
Result$ = MYDOCDIR$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem MYDOCDIR$ — generated example
result$ = mydocdir$()
print result$

Source: dbpro_reference.md:1997

OPEN DATA FILE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
OPEN DATA FILE String1$, String2$, Integer3

Typed signature: string, string, integer → void

Parameters

ParameterTypeNotes
String1$string—
String2$string—
Integer3integer—

Example generated example

rem OPEN DATA FILE — generated example
open data file "media/file.dat", "media/file.dat", 1

Source: dbpro_reference.md:500

OPEN FILE BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
OPEN FILE BLOCK String1$, Integer2

Typed signature: string, integer → void

Parameters

ParameterTypeNotes
String1$string—
Integer2integer—
OPEN FILE BLOCK String1$, Integer2, String3$

Typed signature: string, integer, string → void

Parameters

ParameterTypeNotes
String1$string—
Integer2integer—
String3$string—

Example generated example

rem OPEN FILE BLOCK — generated example
open file block "media/file.dat", 1

Source: dbpro_reference.md:501

OPEN FILE DIALOG dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = OPEN FILE DIALOG(String1$, String2$, String3$)

Typed signature: string, string, string → string

Parameters

ParameterTypeNotes
String1$string—
String2$string—
String3$string—

Return value: string

Example generated example

rem OPEN FILE DIALOG — generated example
result$ = open file dialog("media/file.dat", "media/file.dat", "media/file.dat")
print result$

Source: dbpro_reference.md:2053

OPEN FILE MAP dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
OPEN FILE MAP Integer1, String2$

Typed signature: integer, string → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—

Example generated example

rem OPEN FILE MAP — generated example
open file map 1, "media/file.dat"

Source: dbpro_reference.md:502

OPEN TO READ dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
OPEN TO READ Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example

open to read 1, "scores.txt"
read string 1, line$
close file 1
print line$
wait key

Source: darkbasic_reference.md:210; dbpro_reference.md:504

OPEN TO WRITE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
OPEN TO WRITE Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example

if file exist("scores.txt") then delete file "scores.txt"
open to write 1, "scores.txt"
write string 1, "record=1000"
close file 1

Source: darkbasic_reference.md:211; dbpro_reference.md:505

PATH EXIST dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = PATH EXIST(String1$)

Typed signature: string → integer

Parameters

ParameterTypeNotes
String1$string—

Return value: integer

Example generated example

rem PATH EXIST — generated example
result = path exist("text")
print result

Source: darkbasic_reference.md:678; dbpro_reference.md:2058

PHY SET 6DOF JOINT DRIVE ANGULAR VELOCITY dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE ANGULAR VELOCITY Integer1, Real2, Real3, Real4

Typed signature: integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE ANGULAR VELOCITY — generated example
phy set 6dof joint drive angular velocity 1, 1, 1, 1

Source: dbpro_reference.md:649

PHY SET 6DOF JOINT DRIVE LINEAR VELOCITY dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE LINEAR VELOCITY Integer1, Real2, Real3, Real4

Typed signature: integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE LINEAR VELOCITY — generated example
phy set 6dof joint drive linear velocity 1, 1, 1, 1

Source: dbpro_reference.md:650

PHY SET 6DOF JOINT DRIVE POSITION dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE POSITION Integer1, Real2, Real3, Real4

Typed signature: integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE POSITION — generated example
phy set 6dof joint drive position 1, 1, 1, 1

Source: dbpro_reference.md:651

PHY SET 6DOF JOINT DRIVE ROTATION dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE ROTATION Integer1, Real2, Real3, Real4

Typed signature: integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE ROTATION — generated example
phy set 6dof joint drive rotation 1, 1, 1, 1

Source: dbpro_reference.md:652

PHY SET 6DOF JOINT DRIVE X dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE X Integer1, Integer2, Real3, Real4, Real5

Typed signature: integer, integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE X — generated example
phy set 6dof joint drive x 1, 1, 1, 1, 1

Source: dbpro_reference.md:653

PHY SET 6DOF JOINT DRIVE Y dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE Y Integer1, Integer2, Real3, Real4, Real5

Typed signature: integer, integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE Y — generated example
phy set 6dof joint drive y 1, 1, 1, 1, 1

Source: dbpro_reference.md:654

PHY SET 6DOF JOINT DRIVE Z dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT DRIVE Z Integer1, Integer2, Real3, Real4, Real5

Typed signature: integer, integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem PHY SET 6DOF JOINT DRIVE Z — generated example
phy set 6dof joint drive z 1, 1, 1, 1, 1

Source: dbpro_reference.md:655

PHY SET 6DOF JOINT SLERP DRIVE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT SLERP DRIVE Integer1, Integer2

Typed signature: integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
PHY SET 6DOF JOINT SLERP DRIVE Integer1, Integer2, Real3, Real4, Real5

Typed signature: integer, integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem PHY SET 6DOF JOINT SLERP DRIVE — generated example
phy set 6dof joint slerp drive 1, 1

Source: dbpro_reference.md:667

PHY SET 6DOF JOINT SWING DRIVE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT SWING DRIVE Integer1, Integer2, Real3, Real4, Real5

Typed signature: integer, integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem PHY SET 6DOF JOINT SWING DRIVE — generated example
phy set 6dof joint swing drive 1, 1, 1, 1, 1

Source: dbpro_reference.md:668

PHY SET 6DOF JOINT TWIST DRIVE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET 6DOF JOINT TWIST DRIVE Integer1, Integer2, Real3, Real4, Real5

Typed signature: integer, integer, real, real, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem PHY SET 6DOF JOINT TWIST DRIVE — generated example
phy set 6dof joint twist drive 1, 1, 1, 1, 1

Source: dbpro_reference.md:673

READ dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ Value1, [Value2], [Value3], [Value4], [Value5], [Value6], [Value7], [Value8], [Value9], [Value10], [Value11], [Value12], [Value13], [Value14], [Value15], [Value16], [Value17], [Value18], [Value19], [Value20], [Value21], [Value22], [Value23], [Value24], [Value25], [Value26], [Value27], [Value28], [Value29], [Value30], [Value31], [Value32], [Value33], [Value34], [Value35], [Value36], [Value37], [Value38], [Value39], [Value40], [Value41], [Value42], [Value43], [Value44], [Value45], [Value46], [Value47], [Value48], [Value49], [Value50], [Value51], [Value52], [Value53], [Value54], [Value55], [Value56], [Value57], [Value58], [Value59], [Value60], [Value61], [Value62], [Value63], [Value64], [Value65], [Value66], [Value67], [Value68], [Value69], [Value70], [Value71], [Value72], [Value73], [Value74], [Value75], [Value76], [Value77], [Value78], [Value79], [Value80], [Value81], [Value82], [Value83], [Value84], [Value85], [Value86], [Value87], [Value88], [Value89], [Value90], [Value91], [Value92], [Value93], [Value94], [Value95], [Value96], [Value97], [Value98], [Value99]

Typed signature: any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output, any output → void

Parameters

ParameterTypeNotes
Value1any output—
Value2any outputoptional
Value3any outputoptional
Value4any outputoptional
Value5any outputoptional
Value6any outputoptional
Value7any outputoptional
Value8any outputoptional
Value9any outputoptional
Value10any outputoptional
Value11any outputoptional
Value12any outputoptional
Value13any outputoptional
Value14any outputoptional
Value15any outputoptional
Value16any outputoptional
Value17any outputoptional
Value18any outputoptional
Value19any outputoptional
Value20any outputoptional
Value21any outputoptional
Value22any outputoptional
Value23any outputoptional
Value24any outputoptional
Value25any outputoptional
Value26any outputoptional
Value27any outputoptional
Value28any outputoptional
Value29any outputoptional
Value30any outputoptional
Value31any outputoptional
Value32any outputoptional
Value33any outputoptional
Value34any outputoptional
Value35any outputoptional
Value36any outputoptional
Value37any outputoptional
Value38any outputoptional
Value39any outputoptional
Value40any outputoptional
Value41any outputoptional
Value42any outputoptional
Value43any outputoptional
Value44any outputoptional
Value45any outputoptional
Value46any outputoptional
Value47any outputoptional
Value48any outputoptional
Value49any outputoptional
Value50any outputoptional
Value51any outputoptional
Value52any outputoptional
Value53any outputoptional
Value54any outputoptional
Value55any outputoptional
Value56any outputoptional
Value57any outputoptional
Value58any outputoptional
Value59any outputoptional
Value60any outputoptional
Value61any outputoptional
Value62any outputoptional
Value63any outputoptional
Value64any outputoptional
Value65any outputoptional
Value66any outputoptional
Value67any outputoptional
Value68any outputoptional
Value69any outputoptional
Value70any outputoptional
Value71any outputoptional
Value72any outputoptional
Value73any outputoptional
Value74any outputoptional
Value75any outputoptional
Value76any outputoptional
Value77any outputoptional
Value78any outputoptional
Value79any outputoptional
Value80any outputoptional
Value81any outputoptional
Value82any outputoptional
Value83any outputoptional
Value84any outputoptional
Value85any outputoptional
Value86any outputoptional
Value87any outputoptional
Value88any outputoptional
Value89any outputoptional
Value90any outputoptional
Value91any outputoptional
Value92any outputoptional
Value93any outputoptional
Value94any outputoptional
Value95any outputoptional
Value96any outputoptional
Value97any outputoptional
Value98any outputoptional
Value99any outputoptional

Example generated example

rem READ — generated example
read 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1

Source: darkbasic_reference.md:251; dbpro_reference.md:956

READ BYTE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ BYTE Number1, Value2

Typed signature: number, integer output → void

Parameters

ParameterTypeNotes
Number1number—
Value2integer output—

Example generated example

rem READ BYTE — generated example
read byte 1, 1

Source: darkbasic_reference.md:252; dbpro_reference.md:957

READ BYTE dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = READ BYTE(Value1)

Typed signature: integer output → integer

Parameters

ParameterTypeNotes
Value1integer output—

Return value: integer

Example generated example

rem READ BYTE — generated example
result = read byte(1)
print result

Source: darkbasic_reference.md:680; dbpro_reference.md:2233

READ BYTE FROM FILE dbproFunction

Compatibility: dbpro

DarkBASIC Professional function implemented with an observable contract.

Implemented in OpenDBC
Result = READ BYTE FROM FILE(String1$, Number2)

Typed signature: string, number → integer

Parameters

ParameterTypeNotes
String1$string—
Number2number—

Return value: integer

Example generated example

rem READ BYTE FROM FILE — generated example
result = read byte from file("text", 1)
print result

Source: dbpro_reference.md:2234

READ DIRBLOCK dbcdbproCommand

Compatibility: dbc and dbpro

DarkBASIC Classic command implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): implementation status.

  • Status: Implemented in DBC, Unsupported (DBC2043) in DBPro.

DBC variant dbc

Implemented in OpenDBC
READ DIRBLOCK Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem READ DIRBLOCK — generated example
read dirblock 1, "text"

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
READ DIRBLOCK Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem READ DIRBLOCK — generated example
read dirblock 1, "text"

Source: darkbasic_reference.md:253; dbpro_reference.md:958

READ FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ FILE Number1, Value2

Typed signature: number, integer output → void

Parameters

ParameterTypeNotes
Number1number—
Value2integer output—

Example generated example

rem READ FILE — generated example
read file 1, 1

Source: darkbasic_reference.md:254; dbpro_reference.md:959

READ FILEBLOCK dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ FILEBLOCK Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem READ FILEBLOCK — generated example
read fileblock 1, "text"

Source: darkbasic_reference.md:255; dbpro_reference.md:960

READ FILEMAP STRING dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = READ FILEMAP STRING(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem READ FILEMAP STRING — generated example
result = read filemap string(1)
print result

Source: dbpro_reference.md:2235

READ FILEMAP VALUE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = READ FILEMAP VALUE(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem READ FILEMAP VALUE — generated example
result = read filemap value(1)
print result

Source: dbpro_reference.md:2236

READ FLOAT dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ FLOAT Number1, Value2

Typed signature: number, real output → void

Parameters

ParameterTypeNotes
Number1number—
Value2real output—

Example generated example

rem READ FLOAT — generated example
read float 1, 1

Source: darkbasic_reference.md:256; dbpro_reference.md:961

READ FLOAT dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = READ FLOAT(Value1)

Typed signature: real output → real

Parameters

ParameterTypeNotes
Value1real output—

Return value: real

Example generated example

rem READ FLOAT — generated example
result = read float(1)
print result

Source: darkbasic_reference.md:681; dbpro_reference.md:2237

READ LONG dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ LONG Number1, Value2

Typed signature: number, integer output → void

Parameters

ParameterTypeNotes
Number1number—
Value2integer output—

Example generated example

rem READ LONG — generated example
read long 1, 1

Source: darkbasic_reference.md:257; dbpro_reference.md:962

READ LONG dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = READ LONG(Value1)

Typed signature: integer output → integer

Parameters

ParameterTypeNotes
Value1integer output—

Return value: integer

Example generated example

rem READ LONG — generated example
result = read long(1)
print result

Source: darkbasic_reference.md:682; dbpro_reference.md:2238

READ STRING dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ STRING Number1, Value2

Typed signature: number, string output → void

Parameters

ParameterTypeNotes
Number1number—
Value2string output—

Example generated example

rem READ STRING — generated example
read string 1, 1

Source: darkbasic_reference.md:259; dbpro_reference.md:964

READ WORD dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
READ WORD Number1, Value2

Typed signature: number, integer output → void

Parameters

ParameterTypeNotes
Number1number—
Value2integer output—

Example generated example

rem READ WORD — generated example
read word 1, 1

Source: darkbasic_reference.md:260; dbpro_reference.md:965

READ WORD dbcdbproFunction

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
Result = READ WORD(Value1)

Typed signature: integer output → integer

Parameters

ParameterTypeNotes
Value1integer output—

Return value: integer

Example generated example

rem READ WORD — generated example
result = read word(1)
print result

Source: darkbasic_reference.md:683; dbpro_reference.md:2239

REMOVE FILE FROM BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
REMOVE FILE FROM BLOCK Integer1, String2$

Typed signature: integer, string → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—

Example generated example

rem REMOVE FILE FROM BLOCK — generated example
remove file from block 1, "text"

Source: dbpro_reference.md:970

RENAME FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
RENAME FILE String1$, String2$

Typed signature: string, string → void

Parameters

ParameterTypeNotes
String1$string—
String2$string—

Example generated example

rem RENAME FILE — generated example
rename file "text", "text"

Source: darkbasic_reference.md:262; dbpro_reference.md:976

SAVE FILE BLOCK dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SAVE FILE BLOCK Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem SAVE FILE BLOCK — generated example
save file block 1

Source: dbpro_reference.md:1007

SAVE FILE DIALOG dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result$ = SAVE FILE DIALOG(String1$, String2$, String3$)

Typed signature: string, string, string → string

Parameters

ParameterTypeNotes
String1$string—
String2$string—
String3$string—

Return value: string

Example generated example

rem SAVE FILE DIALOG — generated example
result$ = save file dialog("media/file.dat", "media/file.dat", "media/file.dat")
print result$

Source: dbpro_reference.md:2252

SET DIR dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
SET DIR String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem SET DIR — generated example
set dir "text"

Source: darkbasic_reference.md:312; dbpro_reference.md:1093

SET FILE BLOCK COMPRESSION dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SET FILE BLOCK COMPRESSION Integer1, Integer2

Typed signature: integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Example generated example

rem SET FILE BLOCK COMPRESSION — generated example
set file block compression 1, 1

Source: dbpro_reference.md:1168

SET FILE BLOCK KEY dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SET FILE BLOCK KEY Integer1, String2$

Typed signature: integer, string → void

Parameters

ParameterTypeNotes
Integer1integer—
String2$string—

Example generated example

rem SET FILE BLOCK KEY — generated example
set file block key 1, "text"

Source: dbpro_reference.md:1169

SET FILE MAP DWORD dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SET FILE MAP DWORD Integer1, Integer2, Integer3

Typed signature: integer, integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Integer3integer—

Example generated example

rem SET FILE MAP DWORD — generated example
set file map dword 1, 1, 1

Source: dbpro_reference.md:1170

SET FILE MAP FLOAT dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SET FILE MAP FLOAT Integer1, Integer2, Real3

Typed signature: integer, integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—

Example generated example

rem SET FILE MAP FLOAT — generated example
set file map float 1, 1, 1

Source: dbpro_reference.md:1171

SET FILE MAP STRING$ dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SET FILE MAP STRING$ Integer1, Integer2, String3$

Typed signature: integer, integer, string → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
String3$string—

Example generated example

rem SET FILE MAP STRING$ — generated example
set file map string$ 1, 1, "text"

Source: dbpro_reference.md:1172

SKIP BYTES dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
SKIP BYTES Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem SKIP BYTES — generated example
skip bytes 1, 1

Source: dbpro_reference.md:1391

UPDATE DATA FILE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
UPDATE DATA FILE Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem UPDATE DATA FILE — generated example
update data file 1

Source: dbpro_reference.md:1439

WAIT FOR FILE MAP EVENT dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
WAIT FOR FILE MAP EVENT Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem WAIT FOR FILE MAP EVENT — generated example
wait for file map event 1

Source: dbpro_reference.md:1488

WRITE BYTE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE BYTE Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE BYTE — generated example
write byte 1, 1

Source: darkbasic_reference.md:415; dbpro_reference.md:1494

WRITE BYTE TO FILE dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
WRITE BYTE TO FILE String1$, Number2, Number3

Typed signature: string, number, number → void

Parameters

ParameterTypeNotes
String1$string—
Number2number—
Number3number—

Example generated example

rem WRITE BYTE TO FILE — generated example
write byte to file "text", 1, 1

Source: dbpro_reference.md:1495

WRITE DIRBLOCK dbcdbproCommand

Compatibility: dbc and dbpro

DarkBASIC Classic command implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): implementation status.

  • Status: Implemented in DBC, Unsupported (DBC2043) in DBPro.

DBC variant dbc

Implemented in OpenDBC
WRITE DIRBLOCK Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem WRITE DIRBLOCK — generated example
write dirblock 1, "text"

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
WRITE DIRBLOCK Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem WRITE DIRBLOCK — generated example
write dirblock 1, "text"

Source: darkbasic_reference.md:416; dbpro_reference.md:1496

WRITE FILE dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE FILE Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE FILE — generated example
write file 1, 1

Source: darkbasic_reference.md:417; dbpro_reference.md:1497

WRITE FILEBLOCK dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE FILEBLOCK Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem WRITE FILEBLOCK — generated example
write fileblock 1, "text"

Source: darkbasic_reference.md:418; dbpro_reference.md:1498

WRITE FILEMAP STRING dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
WRITE FILEMAP STRING Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE FILEMAP STRING — generated example
write filemap string 1, 1

Source: dbpro_reference.md:1499

WRITE FILEMAP VALUE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
WRITE FILEMAP VALUE Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE FILEMAP VALUE — generated example
write filemap value 1, 1

Source: dbpro_reference.md:1500

WRITE FLOAT dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE FLOAT Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE FLOAT — generated example
write float 1, 1

Source: darkbasic_reference.md:419; dbpro_reference.md:1501

WRITE LONG dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE LONG Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE LONG — generated example
write long 1, 1

Source: darkbasic_reference.md:420; dbpro_reference.md:1502

WRITE STRING dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE STRING Number1, String2$

Typed signature: number, string → void

Parameters

ParameterTypeNotes
Number1number—
String2$string—

Example generated example

rem WRITE STRING — generated example
write string 1, "text"

Source: darkbasic_reference.md:426; dbpro_reference.md:1508

WRITE WORD dbcdbproCommand

Compatibility: dbc and dbpro

Shared DarkBASIC Classic and Professional callable with the same signature and OpenDBC support state.

Implemented in OpenDBC
WRITE WORD Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem WRITE WORD — generated example
write word 1, 1

Source: darkbasic_reference.md:429; dbpro_reference.md:1512