OpenDBC
Menu

Input devices

Keyboard, mouse, joystick, force feedback.

125 entries — 73 implemented in OpenDBC (58%), 1 compatibility stubs.

Type and status legend

ADD RAGDOLL FORCE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
ADD RAGDOLL FORCE Integer1, Integer2, Real3, Real4, Real5

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem ADD RAGDOLL FORCE — generated example
add ragdoll force 1, 1, 1, 1, 1

Source: dbpro_reference.md:31

ADD VEHICLE WHEEL FORCE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
ADD VEHICLE WHEEL FORCE Integer1, Integer2, Real3, Real4, Real5

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—

Example generated example

rem ADD VEHICLE WHEEL FORCE — generated example
add vehicle wheel force 1, 1, 1, 1, 1

Source: dbpro_reference.md:42

CHANGE MOUSE dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
CHANGE MOUSE Number1, [Number2]

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2numberoptional

Example generated example

rem CHANGE MOUSE — generated example
change mouse 1, 1

Source: dbpro_reference.md:105

CLEAR ENTRY BUFFER dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
CLEAR ENTRY BUFFER

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem CLEAR ENTRY BUFFER — generated example
clear entry buffer

Source: darkbasic_reference.md:39; dbpro_reference.md:110

COLOR EFFECTOR ADD KEY dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = COLOR EFFECTOR ADD KEY(Integer1, Real2, Integer3, Integer4, Integer5, Integer6)

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Integer3integer—
Integer4integer—
Integer5integer—
Integer6integer—

Return value: integer

Example generated example

rem COLOR EFFECTOR ADD KEY — generated example
result = color effector add key(1, 1, 1, 1, 1, 1)
print result

Source: dbpro_reference.md:1600

COLOR EFFECTOR DELETE KEY dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
COLOR EFFECTOR DELETE KEY Integer1, Integer2

Typed signature: integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Example generated example

rem COLOR EFFECTOR DELETE KEY — generated example
color effector delete key 1, 1

Source: dbpro_reference.md:124

COLOR EFFECTOR DELETE KEY AT TIME dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
COLOR EFFECTOR DELETE KEY AT TIME Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem COLOR EFFECTOR DELETE KEY AT TIME — generated example
color effector delete key at time 1, 1

Source: dbpro_reference.md:125

COLOR EFFECTOR GET KEY ALPHA VALUE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = COLOR EFFECTOR GET KEY ALPHA VALUE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem COLOR EFFECTOR GET KEY ALPHA VALUE — generated example
result = color effector get key alpha value(1, 1)
print result

Source: dbpro_reference.md:1601

COLOR EFFECTOR GET KEY BLUE VALUE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = COLOR EFFECTOR GET KEY BLUE VALUE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem COLOR EFFECTOR GET KEY BLUE VALUE — generated example
result = color effector get key blue value(1, 1)
print result

Source: dbpro_reference.md:1602

COLOR EFFECTOR GET KEY GREEN VALUE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = COLOR EFFECTOR GET KEY GREEN VALUE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem COLOR EFFECTOR GET KEY GREEN VALUE — generated example
result = color effector get key green value(1, 1)
print result

Source: dbpro_reference.md:1603

COLOR EFFECTOR GET KEY RED VALUE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = COLOR EFFECTOR GET KEY RED VALUE(Integer1, Integer2)

Typed signature: integer, integer → integer

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: integer

Example generated example

rem COLOR EFFECTOR GET KEY RED VALUE — generated example
result = color effector get key red value(1, 1)
print result

Source: dbpro_reference.md:1604

COLOR EFFECTOR GET KEY TIME dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = COLOR EFFECTOR GET KEY TIME(Integer1, Integer2)

Typed signature: integer, integer → real

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: real

Example generated example

rem COLOR EFFECTOR GET KEY TIME — generated example
result = color effector get key time(1, 1)
print result

Source: dbpro_reference.md:1605

CONTROL DEVICE INDEX dbproFunction

Compatibility: dbpro

DarkBASIC Professional function implemented with an observable contract.

Implemented in OpenDBC
Result = CONTROL DEVICE INDEX()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem CONTROL DEVICE INDEX — generated example
result = control device index()
print result

Source: dbpro_reference.md:1610

CONTROL DEVICE NAME$ dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result$ = CONTROL DEVICE NAME$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem CONTROL DEVICE NAME$ — generated example
result$ = control device name$()
print result$

Source: darkbasic_reference.md:492; dbpro_reference.md:1611

CONTROL DEVICE X dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = CONTROL DEVICE X()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem CONTROL DEVICE X — generated example
result = control device x()
print result

Source: darkbasic_reference.md:493; dbpro_reference.md:1612

CONTROL DEVICE Y dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = CONTROL DEVICE Y()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem CONTROL DEVICE Y — generated example
result = control device y()
print result

Source: darkbasic_reference.md:494; dbpro_reference.md:1613

CONTROL DEVICE Z dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = CONTROL DEVICE Z()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem CONTROL DEVICE Z — generated example
result = control device z()
print result

Source: darkbasic_reference.md:495; dbpro_reference.md:1614

CONTROLKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = CONTROLKEY()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem CONTROLKEY — generated example
result = controlkey()
print result

Source: darkbasic_reference.md:496; dbpro_reference.md:1615

DIR 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
DIR

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem DIR — generated example
dir

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
DIR

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem DIR — generated example
dir

Source: darkbasic_reference.md:74; dbpro_reference.md:197

DOWNKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = DOWNKEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem DOWNKEY — generated example
result = downkey()
print result

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

DRIVELIST 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
DRIVELIST

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem DRIVELIST — generated example
drivelist

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
DRIVELIST

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem DRIVELIST — generated example
drivelist

Source: darkbasic_reference.md:83; dbpro_reference.md:219

ENTRY$ dbcdbproFunction

Compatibility: dbc and dbpro

DarkBASIC Classic function implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): arity, typed overloads.

  • Arity: 0 in DBC, 0-1 in DBPro.
  • Typed signatures differ (see each variant).

DBC variant dbc

Implemented in OpenDBC
Result$ = ENTRY$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem ENTRY$ — generated example
result$ = entry$()
print result$

DBPro variant dbpro

Implemented in OpenDBC
Result$ = ENTRY$([Number1])

Typed signature: number → string

Parameters

ParameterTypeNotes
Number1numberoptional

Return value: string

Example generated example

rem ENTRY$ — generated example
result$ = entry$(1)
print result$

Source: darkbasic_reference.md:507; dbpro_reference.md:1644

ESCAPEKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = ESCAPEKEY()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem ESCAPEKEY — generated example
result = escapekey()
print result

Source: darkbasic_reference.md:508; dbpro_reference.md:1645

FORCE ADAPTER ORDINAL dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
FORCE ADAPTER ORDINAL Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem FORCE ADAPTER ORDINAL — generated example
force adapter ordinal 1

Source: dbpro_reference.md:268

FORCE ANGLE dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC

Compatibility note: Uses a constant polar haptic effect when supported. Duration is 50 + floor(ms / 1000) * 1000; zero means infinite. Unsupported devices remain a portable no-op.

FORCE ANGLE Number1, Number2, Number3

Typed signature: number, number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—
Number3number—

Example generated example

rem FORCE ANGLE — generated example
force angle 1, 1, 1

Source: darkbasic_reference.md:106; dbpro_reference.md:269

FORCE AUTO CENTER OFF dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE AUTO CENTER OFF

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem FORCE AUTO CENTER OFF — generated example
force auto center off

Source: darkbasic_reference.md:107; dbpro_reference.md:270

FORCE AUTO CENTER ON dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE AUTO CENTER ON

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem FORCE AUTO CENTER ON — generated example
force auto center on

Source: darkbasic_reference.md:108; dbpro_reference.md:271

FORCE CHAINSAW dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE CHAINSAW Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem FORCE CHAINSAW — generated example
force chainsaw 1, 1

Source: darkbasic_reference.md:109; dbpro_reference.md:272

FORCE DOWN dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE DOWN Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem FORCE DOWN — generated example
force down 1

Source: darkbasic_reference.md:110; dbpro_reference.md:273

FORCE IMPACT dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE IMPACT Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem FORCE IMPACT — generated example
force impact 1, 1

Source: darkbasic_reference.md:111; dbpro_reference.md:274

FORCE LEFT dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE LEFT Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem FORCE LEFT — generated example
force left 1

Source: darkbasic_reference.md:112; dbpro_reference.md:275

FORCE RIGHT dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE RIGHT Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem FORCE RIGHT — generated example
force right 1

Source: darkbasic_reference.md:114; dbpro_reference.md:277

FORCE SHOOT dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE SHOOT Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem FORCE SHOOT — generated example
force shoot 1, 1

Source: darkbasic_reference.md:115; dbpro_reference.md:278

FORCE UP dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
FORCE UP Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem FORCE UP — generated example
force up 1

Source: darkbasic_reference.md:116; dbpro_reference.md:279

GET CLIPBOARD$ dbcdbproFunction

Compatibility: dbc and dbpro

DarkBASIC Classic function 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
Result$ = GET CLIPBOARD$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem GET CLIPBOARD$ — generated example
result$ = get clipboard$()
print result$

DBPro variant dbpro

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

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem GET CLIPBOARD$ — generated example
result$ = get clipboard$()
print result$

Source: darkbasic_reference.md:521; dbpro_reference.md:1679

GET DEVICE TYPE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = GET DEVICE TYPE()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem GET DEVICE TYPE — generated example
result = get device type()
print result

Source: dbpro_reference.md:1686

GET KEY STATE dbproFunction

Compatibility: dbpro

DarkBASIC Professional function implemented with an observable contract.

Implemented in OpenDBC
Result = GET KEY STATE(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem GET KEY STATE — generated example
result = get key state(1)
print result

Source: dbpro_reference.md:1766

HIDE MOUSE dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
HIDE MOUSE

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem HIDE MOUSE — generated example
hide mouse

Source: darkbasic_reference.md:140; dbpro_reference.md:330

INKEY$ dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result$ = INKEY$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example

do
   key$ = inkey$()
   if key$ <> "" then print "Key: ", key$
loop

Source: darkbasic_reference.md:556; dbpro_reference.md:1856

INPUT dbcdbproCommand

Compatibility: dbc and dbpro

DarkBASIC Classic command implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): arity.

  • Arity: 1-2 in DBC, 2 in DBPro.

DBC variant dbc

Implemented in OpenDBC
INPUT Value1, [Value2]

Typed signature: any, any output → void

Parameters

ParameterTypeNotes
Value1any—
Value2any outputoptional

Example generated example

rem INPUT — generated example
input 1, 1

DBPro variant dbpro

Implemented in OpenDBC
INPUT Value1, Value2

Typed signature: any, any output → void

Parameters

ParameterTypeNotes
Value1any—
Value2any output—

Example generated example

rem INPUT — generated example
input 1, 1

Source: darkbasic_reference.md:145; dbpro_reference.md:340

JOYSTICK DOWN dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK DOWN()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK DOWN — generated example
result = joystick down()
print result

Source: darkbasic_reference.md:558; dbpro_reference.md:1873

JOYSTICK FIRE A dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK FIRE A()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK FIRE A — generated example
result = joystick fire a()
print result

Source: darkbasic_reference.md:559; dbpro_reference.md:1874

JOYSTICK FIRE B dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK FIRE B()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK FIRE B — generated example
result = joystick fire b()
print result

Source: darkbasic_reference.md:560; dbpro_reference.md:1875

JOYSTICK FIRE C dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK FIRE C()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK FIRE C — generated example
result = joystick fire c()
print result

Source: darkbasic_reference.md:561; dbpro_reference.md:1876

JOYSTICK FIRE D dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK FIRE D()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK FIRE D — generated example
result = joystick fire d()
print result

Source: darkbasic_reference.md:562; dbpro_reference.md:1877

JOYSTICK FIRE X dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK FIRE X(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem JOYSTICK FIRE X — generated example
result = joystick fire x(1)
print result

Source: darkbasic_reference.md:563; dbpro_reference.md:1878

JOYSTICK HAT ANGLE dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK HAT ANGLE(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem JOYSTICK HAT ANGLE — generated example
result = joystick hat angle(1)
print result

Source: darkbasic_reference.md:564; dbpro_reference.md:1879

JOYSTICK INFORMATION dbproFunction

Compatibility: dbpro

DarkBASIC Professional function implemented with an observable contract.

Implemented in OpenDBC
Result = JOYSTICK INFORMATION(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem JOYSTICK INFORMATION — generated example
result = joystick information(1)
print result

Source: dbpro_reference.md:1880

JOYSTICK LEFT dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK LEFT()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK LEFT — generated example
result = joystick left()
print result

Source: darkbasic_reference.md:565; dbpro_reference.md:1881

JOYSTICK RIGHT dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK RIGHT()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK RIGHT — generated example
result = joystick right()
print result

Source: darkbasic_reference.md:566; dbpro_reference.md:1882

JOYSTICK SLIDER A dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK SLIDER A()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK SLIDER A — generated example
result = joystick slider a()
print result

Source: darkbasic_reference.md:567; dbpro_reference.md:1883

JOYSTICK SLIDER B dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK SLIDER B()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK SLIDER B — generated example
result = joystick slider b()
print result

Source: darkbasic_reference.md:568; dbpro_reference.md:1884

JOYSTICK SLIDER C dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK SLIDER C()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK SLIDER C — generated example
result = joystick slider c()
print result

Source: darkbasic_reference.md:569; dbpro_reference.md:1885

JOYSTICK SLIDER D dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK SLIDER D()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK SLIDER D — generated example
result = joystick slider d()
print result

Source: darkbasic_reference.md:570; dbpro_reference.md:1886

JOYSTICK TWIST X dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK TWIST X()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK TWIST X — generated example
result = joystick twist x()
print result

Source: darkbasic_reference.md:571; dbpro_reference.md:1887

JOYSTICK TWIST Y dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK TWIST Y()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK TWIST Y — generated example
result = joystick twist y()
print result

Source: darkbasic_reference.md:572; dbpro_reference.md:1888

JOYSTICK TWIST Z dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK TWIST Z()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK TWIST Z — generated example
result = joystick twist z()
print result

Source: darkbasic_reference.md:573; dbpro_reference.md:1889

JOYSTICK UP dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK UP()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK UP — generated example
result = joystick up()
print result

Source: darkbasic_reference.md:574; dbpro_reference.md:1890

JOYSTICK X dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK X()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK X — generated example
result = joystick x()
print result

Source: darkbasic_reference.md:575; dbpro_reference.md:1891

JOYSTICK Y dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK Y()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK Y — generated example
result = joystick y()
print result

Source: darkbasic_reference.md:576; dbpro_reference.md:1892

JOYSTICK Z dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = JOYSTICK Z()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem JOYSTICK Z — generated example
result = joystick z()
print result

Source: darkbasic_reference.md:577; dbpro_reference.md:1893

KEYSTATE dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = KEYSTATE(Number1)

Typed signature: number → real

Parameters

ParameterTypeNotes
Number1number—

Return value: real

Example generated example

rem KEYSTATE — generated example
result = keystate(1)
print result

Source: darkbasic_reference.md:578; dbpro_reference.md:1894

LEFTKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = LEFTKEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem LEFTKEY — generated example
result = leftkey()
print result

Source: darkbasic_reference.md:580; dbpro_reference.md:1896

MAKE FORCE EFFECTOR dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
MAKE FORCE EFFECTOR Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem MAKE FORCE EFFECTOR — generated example
make force effector 1

Source: dbpro_reference.md:406

MOUSECLICK dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = MOUSECLICK()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem MOUSECLICK — generated example
result = mouseclick()
print result

Source: darkbasic_reference.md:630; dbpro_reference.md:1971

MOUSEMOVEX dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = MOUSEMOVEX()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem MOUSEMOVEX — generated example
result = mousemovex()
print result

Source: darkbasic_reference.md:631; dbpro_reference.md:1972

MOUSEMOVEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = MOUSEMOVEY()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem MOUSEMOVEY — generated example
result = mousemovey()
print result

Source: darkbasic_reference.md:632; dbpro_reference.md:1973

MOUSEX dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = MOUSEX()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example

do
   set cursor 0, 0
   print mousex(), ", ", mousey()
loop

Source: darkbasic_reference.md:634; dbpro_reference.md:1975

MOUSEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = MOUSEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example

do
   set cursor 0, 0
   print mousex(), ", ", mousey()
loop

Source: darkbasic_reference.md:635; dbpro_reference.md:1976

PHY ADD FORCE AT CLOTH VERTEX dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD FORCE AT CLOTH VERTEX Integer1, Integer2, Real3, Real4, Real5, Integer6

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—
Integer6integer—

Example generated example

rem PHY ADD FORCE AT CLOTH VERTEX — generated example
phy add force at cloth vertex 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:535

PHY ADD FORCE FIELD BOX dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD FORCE FIELD BOX Integer1, Integer2, Real3, Real4, Real5, Real6, Real7, Real8

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—
Real8real—

Example generated example

rem PHY ADD FORCE FIELD BOX — generated example
phy add force field box 1, 1, 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:536

PHY ADD FORCE FIELD CAPSULE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD FORCE FIELD CAPSULE Integer1, Integer2, Real3, Real4, Real5, Real6, Real7

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—

Example generated example

rem PHY ADD FORCE FIELD CAPSULE — generated example
phy add force field capsule 1, 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:537

PHY ADD FORCE FIELD SPHERE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD FORCE FIELD SPHERE Integer1, Integer2, Real3, Real4, Real5, Real6

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—
Real6real—

Example generated example

rem PHY ADD FORCE FIELD SPHERE — generated example
phy add force field sphere 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:538

PHY ADD RIGID BODY FORCE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD RIGID BODY FORCE Integer1, Real2, Real3, Real4, Integer5

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—
Integer5integer—
PHY ADD RIGID BODY FORCE Integer1, Real2, Real3, Real4, Real5, Real6, Real7, Integer8

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—
Integer8integer—

Example generated example

rem PHY ADD RIGID BODY FORCE — generated example
phy add rigid body force 1, 1, 1, 1, 1

Source: dbpro_reference.md:539

PHY ADD RIGID BODY FORCE AT LOCAL dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD RIGID BODY FORCE AT LOCAL Integer1, Real2, Real3, Real4, Real5, Real6, Real7, Integer8

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—
Integer8integer—

Example generated example

rem PHY ADD RIGID BODY FORCE AT LOCAL — generated example
phy add rigid body force at local 1, 1, 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:540

PHY ADD RIGID BODY LOCAL FORCE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD RIGID BODY LOCAL FORCE Integer1, Real2, Real3, Real4, Integer5

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—
Integer5integer—
PHY ADD RIGID BODY LOCAL FORCE Integer1, Real2, Real3, Real4, Real5, Real6, Real7, Integer8

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—
Integer8integer—

Example generated example

rem PHY ADD RIGID BODY LOCAL FORCE — generated example
phy add rigid body local force 1, 1, 1, 1, 1

Source: dbpro_reference.md:541

PHY ADD RIGID BODY LOCAL FORCE AT LOCAL dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY ADD RIGID BODY LOCAL FORCE AT LOCAL Integer1, Real2, Real3, Real4, Real5, Real6, Real7, Integer8

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—
Integer8integer—

Example generated example

rem PHY ADD RIGID BODY LOCAL FORCE AT LOCAL — generated example
phy add rigid body local force at local 1, 1, 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:542

PHY BUILD FORCE FIELD dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY BUILD FORCE FIELD Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem PHY BUILD FORCE FIELD — generated example
phy build force field 1

Source: dbpro_reference.md:561

PHY CREATE FORCE FIELD dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY CREATE FORCE FIELD Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem PHY CREATE FORCE FIELD — generated example
phy create force field 1

Source: dbpro_reference.md:572

PHY DELETE FORCE FIELD dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY DELETE FORCE FIELD Integer1

Typed signature: integer → void

Parameters

ParameterTypeNotes
Integer1integer—

Example generated example

rem PHY DELETE FORCE FIELD — generated example
phy delete force field 1

Source: dbpro_reference.md:579

PHY GET FORCE FIELD EXIST dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = PHY GET FORCE FIELD EXIST(Integer1)

Typed signature: integer → integer

Parameters

ParameterTypeNotes
Integer1integer—

Return value: integer

Example generated example

rem PHY GET FORCE FIELD EXIST — generated example
result = phy get force field exist(1)
print result

Source: dbpro_reference.md:2126

PHY GET VEHICLE MOTOR FORCE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = PHY GET VEHICLE MOTOR FORCE(Integer1)

Typed signature: integer → real

Parameters

ParameterTypeNotes
Integer1integer—

Return value: real

Example generated example

rem PHY GET VEHICLE MOTOR FORCE — generated example
result = phy get vehicle motor force(1)
print result

Source: dbpro_reference.md:2185

PHY SET ADAPTIVE FORCE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET ADAPTIVE FORCE Real1

Typed signature: real → void

Parameters

ParameterTypeNotes
Real1real—

Example generated example

rem PHY SET ADAPTIVE FORCE — generated example
phy set adaptive force 1

Source: dbpro_reference.md:676

PHY SET FORCE FIELD CLOTH SCALE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD CLOTH SCALE Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem PHY SET FORCE FIELD CLOTH SCALE — generated example
phy set force field cloth scale 1, 1

Source: dbpro_reference.md:772

PHY SET FORCE FIELD CONSTANT dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD CONSTANT Integer1, Real2, Real3, Real4

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET FORCE FIELD CONSTANT — generated example
phy set force field constant 1, 1, 1, 1

Source: dbpro_reference.md:773

PHY SET FORCE FIELD COORDINATES dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD COORDINATES Integer1, Integer2

Typed signature: integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Example generated example

rem PHY SET FORCE FIELD COORDINATES — generated example
phy set force field coordinates 1, 1

Source: dbpro_reference.md:774

PHY SET FORCE FIELD LINEAR FALLOFF dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD LINEAR FALLOFF Integer1, Real2, Real3, Real4

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET FORCE FIELD LINEAR FALLOFF — generated example
phy set force field linear falloff 1, 1, 1, 1

Source: dbpro_reference.md:775

PHY SET FORCE FIELD NOISE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD NOISE Integer1, Real2, Real3, Real4

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET FORCE FIELD NOISE — generated example
phy set force field noise 1, 1, 1, 1

Source: dbpro_reference.md:776

PHY SET FORCE FIELD POSITION dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD POSITION Integer1, Real2, Real3, Real4

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET FORCE FIELD POSITION — generated example
phy set force field position 1, 1, 1, 1

Source: dbpro_reference.md:777

PHY SET FORCE FIELD QUADRATIC FALLOFF dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD QUADRATIC FALLOFF Integer1, Real2, Real3, Real4

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem PHY SET FORCE FIELD QUADRATIC FALLOFF — generated example
phy set force field quadratic falloff 1, 1, 1, 1

Source: dbpro_reference.md:778

PHY SET FORCE FIELD RIGID BODY dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD RIGID BODY Integer1, Integer2

Typed signature: integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Example generated example

rem PHY SET FORCE FIELD RIGID BODY — generated example
phy set force field rigid body 1, 1

Source: dbpro_reference.md:779

PHY SET FORCE FIELD RIGID BODY SCALE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD RIGID BODY SCALE Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem PHY SET FORCE FIELD RIGID BODY SCALE — generated example
phy set force field rigid body scale 1, 1

Source: dbpro_reference.md:780

PHY SET FORCE FIELD SOFT BODY SCALE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD SOFT BODY SCALE Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem PHY SET FORCE FIELD SOFT BODY SCALE — generated example
phy set force field soft body scale 1, 1

Source: dbpro_reference.md:781

PHY SET FORCE FIELD TORUS RADIUS dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET FORCE FIELD TORUS RADIUS Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem PHY SET FORCE FIELD TORUS RADIUS — generated example
phy set force field torus radius 1, 1

Source: dbpro_reference.md:782

PHY SET VEHICLE LATERAL TIRE FORCE FUNCTION dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET VEHICLE LATERAL TIRE FORCE FUNCTION Integer1, Integer2, Real3, Real4, Real5, Real6, Real7

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—

Example generated example

rem PHY SET VEHICLE LATERAL TIRE FORCE FUNCTION — generated example
phy set vehicle lateral tire force function 1, 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:867

PHY SET VEHICLE LONGITUDAL TIRE FORCE FUNCTION dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET VEHICLE LONGITUDAL TIRE FORCE FUNCTION Integer1, Integer2, Real3, Real4, Real5, Real6, Real7

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

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—
Real3real—
Real4real—
Real5real—
Real6real—
Real7real—

Example generated example

rem PHY SET VEHICLE LONGITUDAL TIRE FORCE FUNCTION — generated example
phy set vehicle longitudal tire force function 1, 1, 1, 1, 1, 1, 1

Source: dbpro_reference.md:868

PHY SET VEHICLE MOTOR FORCE dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
PHY SET VEHICLE MOTOR FORCE Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem PHY SET VEHICLE MOTOR FORCE — generated example
phy set vehicle motor force 1, 1

Source: dbpro_reference.md:872

POSITION MOUSE dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
POSITION MOUSE Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem POSITION MOUSE — generated example
position mouse 1, 1

Source: darkbasic_reference.md:244; dbpro_reference.md:916

RETURNKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = RETURNKEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem RETURNKEY — generated example
result = returnkey()
print result

Source: darkbasic_reference.md:684; dbpro_reference.md:2243

RIGHTKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = RIGHTKEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem RIGHTKEY — generated example
result = rightkey()
print result

Source: darkbasic_reference.md:690; dbpro_reference.md:2250

SCANCODE dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = SCANCODE()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem SCANCODE — generated example
result = scancode()
print result

Source: darkbasic_reference.md:692; dbpro_reference.md:2253

SET CONTROL DEVICE dbcdbproCommand

Compatibility: dbc and dbpro

DarkBASIC Classic command implemented with an observable contract.

⚠ Behaves differently in DBC and DBPro

Difference(s): arity, typed overloads.

  • Arity: 1 in DBC, 1-2 in DBPro.
  • Typed signatures differ (see each variant).

DBC variant dbc

Implemented in OpenDBC
SET CONTROL DEVICE String1$

Typed signature: string → void

Parameters

ParameterTypeNotes
String1$string—

Example generated example

rem SET CONTROL DEVICE — generated example
set control device "text"

DBPro variant dbpro

Implemented in OpenDBC
SET CONTROL DEVICE String1$, [Number2]

Typed signature: string, number → void

Parameters

ParameterTypeNotes
String1$string—
Number2numberoptional

Example generated example

rem SET CONTROL DEVICE — generated example
set control device "text", 1

Source: darkbasic_reference.md:309; dbpro_reference.md:1085

SET CONTROL DEVICE INDEX dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
SET CONTROL DEVICE INDEX Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem SET CONTROL DEVICE INDEX — generated example
set control device index 1

Source: dbpro_reference.md:1086

SET FORCE EFFECTOR dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SET FORCE EFFECTOR Integer1, Real2, Real3, Real4

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

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—
Real4real—

Example generated example

rem SET FORCE EFFECTOR — generated example
set force effector 1, 1, 1, 1

Source: dbpro_reference.md:1175

SET JOYSTICK DEADZONE dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
SET JOYSTICK DEADZONE Number1

Typed signature: number → void

Parameters

ParameterTypeNotes
Number1number—

Example generated example

rem SET JOYSTICK DEADZONE — generated example
set joystick deadzone 1

Source: dbpro_reference.md:1190

SET KEY STATE TOGGLE dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
SET KEY STATE TOGGLE Number1, Number2

Typed signature: number, number → void

Parameters

ParameterTypeNotes
Number1number—
Number2number—

Example generated example

rem SET KEY STATE TOGGLE — generated example
set key state toggle 1, 1

Source: dbpro_reference.md:1191

SHIFTKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = SHIFTKEY()

Typed signature: none → real

Parameters

No parameters.

Return value: real

Example generated example

rem SHIFTKEY — generated example
result = shiftkey()
print result

Source: darkbasic_reference.md:699; dbpro_reference.md:2262

SHOW MOUSE dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
SHOW MOUSE

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem SHOW MOUSE — generated example
show mouse

Source: darkbasic_reference.md:381; dbpro_reference.md:1381

SIZE EFFECTOR ADD KEY dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = SIZE EFFECTOR ADD KEY(Integer1, Real2, Real3)

Typed signature: integer, real, real → integer

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—
Real3real—

Return value: integer

Example generated example

rem SIZE EFFECTOR ADD KEY — generated example
result = size effector add key(1, 1, 1)
print result

Source: dbpro_reference.md:2265

SIZE EFFECTOR DELETE KEY dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SIZE EFFECTOR DELETE KEY Integer1, Integer2

Typed signature: integer, integer → void

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Example generated example

rem SIZE EFFECTOR DELETE KEY — generated example
size effector delete key 1, 1

Source: dbpro_reference.md:1387

SIZE EFFECTOR DELETE KEY AT TIME dbproCommand

Compatibility: dbpro

Historical DarkBASIC Professional command recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
SIZE EFFECTOR DELETE KEY AT TIME Integer1, Real2

Typed signature: integer, real → void

Parameters

ParameterTypeNotes
Integer1integer—
Real2real—

Example generated example

rem SIZE EFFECTOR DELETE KEY AT TIME — generated example
size effector delete key at time 1, 1

Source: dbpro_reference.md:1388

SIZE EFFECTOR GET KEY TIME dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = SIZE EFFECTOR GET KEY TIME(Integer1, Integer2)

Typed signature: integer, integer → real

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: real

Example generated example

rem SIZE EFFECTOR GET KEY TIME — generated example
result = size effector get key time(1, 1)
print result

Source: dbpro_reference.md:2266

SIZE EFFECTOR GET KEY VALUE dbproFunction

Compatibility: dbpro

Historical DarkBASIC Professional function recognized for a stable unsupported diagnostic.

Not implemented (recognized, DBC2043 diagnostic)
Result = SIZE EFFECTOR GET KEY VALUE(Integer1, Integer2)

Typed signature: integer, integer → real

Parameters

ParameterTypeNotes
Integer1integer—
Integer2integer—

Return value: real

Example generated example

rem SIZE EFFECTOR GET KEY VALUE — generated example
result = size effector get key value(1, 1)
print result

Source: dbpro_reference.md:2267

SPACEKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = SPACEKEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem SPACEKEY — generated example
result = spacekey()
print result

Source: darkbasic_reference.md:709; dbpro_reference.md:2281

UPKEY dbcdbproFunction

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
Result = UPKEY()

Typed signature: none → integer

Parameters

No parameters.

Return value: integer

Example generated example

rem UPKEY — generated example
result = upkey()
print result

Source: darkbasic_reference.md:744; dbpro_reference.md:2344

WAIT KEY dbcdbproCommand

Compatibility: dbc and dbpro

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

Implemented in OpenDBC
WAIT KEY

Typed signature: none → void

Parameters

No parameters.

Example

print "Press any key…"
wait key
print "Thanks!"

Source: darkbasic_reference.md:414; dbpro_reference.md:1489

WAIT MOUSE dbproCommand

Compatibility: dbpro

DarkBASIC Professional command implemented with an observable contract.

Implemented in OpenDBC
WAIT MOUSE

Typed signature: none → void

Parameters

No parameters.

Example generated example

rem WAIT MOUSE — generated example
wait mouse

Source: dbpro_reference.md:1490

WINDIR$ dbcdbproFunction

Compatibility: dbc and dbpro

Historical DarkBASIC Classic function callable through a documented neutral compatibility stub.

⚠ Behaves differently in DBC and DBPro

Difference(s): implementation status.

  • Status: Compatibility stub (permanent) in DBC, Unsupported (DBC2043) in DBPro.

DBC variant dbc

Compatibility stub (callable neutral behavior)

Compatibility note: Executes a documented neutral compatibility behavior; it is not an implementation of the historical facility.

Result$ = WINDIR$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem WINDIR$ — generated example
result$ = windir$()
print result$

DBPro variant dbpro

Not implemented (recognized, DBC2043 diagnostic)
Result$ = WINDIR$()

Typed signature: none → string

Parameters

No parameters.

Return value: string

Example generated example

rem WINDIR$ — generated example
result$ = windir$()
print result$

Source: darkbasic_reference.md:747; dbpro_reference.md:2425