Keywords currently not supported by QB64: Difference between revisions
Jump to navigation
Jump to search
Wiki Pages
Main Page with Articles and Tutorials
QB64 specific keywords (alphabetical)
Original QBasic keywords (alphabetical)
QB64 OpenGL keywords (alphabetical)
Keywords by Usage
Got a question about something?
Frequently Asked Questions about QB64
QB64 Phoenix Edition Community Forum
Links to other QBasic Sites:
Pete's QBasic Forum
Pete's QBasic Downloads
m (Protected "Keywords currently not supported by QB64" ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
No edit summary |
||
(31 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
'''QB64''' is meant to be compatible with '''QB 4.5 or lower''' versions. '''PDS (7.1) is not supported'''. The keywords listed below are currently not supported in '''QB64'''. However, older code that uses these keywords won't generate errors, as these are ignored by the compiler. | |||
{|align="right" | {| align="right" style="max-width:30%;" | ||
|__TOC__ | | __TOC__ | ||
|} | |} | ||
== Keywords not supported in all versions == | |||
* [[ALIAS]] (supported in [[DECLARE LIBRARY]] only) | * [[ALIAS]] (supported in [[DECLARE LIBRARY]] only) | ||
* | * ANY | ||
* [[BYVAL]] (supported in [[DECLARE LIBRARY]] only) | * [[BYVAL]] (supported in [[DECLARE LIBRARY]] only) | ||
* CALLS | * CALLS | ||
Line 13: | Line 13: | ||
* DATE$ (statement) (reading the current [[DATE$]] is supported) | * DATE$ (statement) (reading the current [[DATE$]] is supported) | ||
* DECLARE (non-BASIC statement) | * DECLARE (non-BASIC statement) | ||
* DEF FN, EXIT DEF, END DEF | * DEF FN, EXIT DEF, END DEF (must be reworked into actual [[FUNCTION]]s) | ||
* ERDEV, ERDEV$ | * ERDEV, ERDEV$ | ||
* FILEATTR | * FILEATTR | ||
* FRE | * FRE | ||
* IOCTL, IOCTL$ | * IOCTL, IOCTL$ | ||
* [[OPEN]] with devices like '''LPT, CON, KBRD''', and other devices is not supported. [[LPRINT]] and [[OPEN COM]] are supported. | * [[OPEN]] with devices like '''LPT:''', '''CON:''', '''KBRD:''', and other devices is not supported. [[LPRINT]] and [[OPEN COM]] are supported. | ||
* ON PEN, PEN (statement), PEN (function) | * ON PEN, PEN (statement), PEN (function) | ||
* ON PLAY(n), PLAY(n) ON/OFF/STOP. ([[PLAY]] music is supported.) | * ON PLAY(n), PLAY(n) ON/OFF/STOP. ([[PLAY]] music is supported.) | ||
* ON UEVENT | * ON UEVENT, UEVENT (statement) | ||
* SETMEM | * SETMEM | ||
* SIGNAL | * SIGNAL | ||
* TIME$ (statement) (reading the current [[TIME$]] is supported) | * TIME$ (statement) (reading the current [[TIME$]] is supported) | ||
* TRON, TROFF | * TRON, TROFF | ||
* | * WIDTH [[LPRINT]] combined statement is not supported. | ||
==Keywords | == Keywords not supported in Linux or macOS versions == | ||
The commands listed here contain platform-specific calls and may be implemented in the future in Linux and macOS. These commands currently result in stub calls which do nothing. | The commands listed here contain platform-specific calls and may be implemented in the future in Linux and macOS. These commands currently result in stub calls which do nothing. | ||
'''Desktop and Window calls:''' | |||
* [[_ACCEPTFILEDROP]], [[_TOTALDROPPEDFILES]], [[_DROPPEDFILE]], [[_FINISHDROP]] | * [[_ACCEPTFILEDROP]], [[_TOTALDROPPEDFILES]], [[_DROPPEDFILE]], [[_FINISHDROP]] | ||
* [[_SCREENPRINT]] | * [[_SCREENPRINT]] | ||
* [[_SCREENCLICK]] | * [[_SCREENCLICK]] | ||
* [[_SCREENMOVE]] (available in macOS, not available in Linux) | * [[_SCREENMOVE]] (available in macOS, not available in Linux) | ||
* [[_WINDOWHASFOCUS]] (available in Linux, not available in macOS) | * [[_WINDOWHASFOCUS]] (available in Linux, not available in macOS) | ||
* [[_WINDOWHANDLE]] | * [[_WINDOWHANDLE]] | ||
* [[_CAPSLOCK]], [[_NUMLOCK]], [[_SCROLLLOCK]] (statements and functions) | * [[_CAPSLOCK]], [[_NUMLOCK]], [[_SCROLLLOCK]] (statements and functions) | ||
'''Console:''' | |||
* [[_CONSOLETITLE]], [[_CONSOLECURSOR]], [[_CONSOLEFONT]] | |||
* [[_CONSOLEINPUT]], [[_CINP]] | |||
'''Modularity:''' QB64 has no limit on file size so BAS file modules can be combined. | |||
* [[CHAIN]] | * [[CHAIN]] | ||
* [[RUN]] | * [[RUN]] | ||
'''Printing:''' | |||
Printing: | |||
* [[LPRINT]] | * [[LPRINT]] | ||
* [[_PRINTIMAGE]] | * [[_PRINTIMAGE]] | ||
Port access: | '''Port access:''' | ||
* [[OPEN COM]] | * [[OPEN COM]] | ||
File locking: | '''File locking:''' | ||
* [[LOCK]] | * [[LOCK]] | ||
* [[UNLOCK]] | * [[UNLOCK]] | ||
{{ | {{PageReferences}} |
Latest revision as of 12:17, 19 November 2024
QB64 is meant to be compatible with QB 4.5 or lower versions. PDS (7.1) is not supported. The keywords listed below are currently not supported in QB64. However, older code that uses these keywords won't generate errors, as these are ignored by the compiler.
Keywords not supported in all versions
- ALIAS (supported in DECLARE LIBRARY only)
- ANY
- BYVAL (supported in DECLARE LIBRARY only)
- CALLS
- CDECL
- DATE$ (statement) (reading the current DATE$ is supported)
- DECLARE (non-BASIC statement)
- DEF FN, EXIT DEF, END DEF (must be reworked into actual FUNCTIONs)
- ERDEV, ERDEV$
- FILEATTR
- FRE
- IOCTL, IOCTL$
- OPEN with devices like LPT:, CON:, KBRD:, and other devices is not supported. LPRINT and OPEN COM are supported.
- ON PEN, PEN (statement), PEN (function)
- ON PLAY(n), PLAY(n) ON/OFF/STOP. (PLAY music is supported.)
- ON UEVENT, UEVENT (statement)
- SETMEM
- SIGNAL
- TIME$ (statement) (reading the current TIME$ is supported)
- TRON, TROFF
- WIDTH LPRINT combined statement is not supported.
Keywords not supported in Linux or macOS versions
The commands listed here contain platform-specific calls and may be implemented in the future in Linux and macOS. These commands currently result in stub calls which do nothing.
Desktop and Window calls:
- _ACCEPTFILEDROP, _TOTALDROPPEDFILES, _DROPPEDFILE, _FINISHDROP
- _SCREENPRINT
- _SCREENCLICK
- _SCREENMOVE (available in macOS, not available in Linux)
- _WINDOWHASFOCUS (available in Linux, not available in macOS)
- _WINDOWHANDLE
- _CAPSLOCK, _NUMLOCK, _SCROLLLOCK (statements and functions)
Console:
Modularity: QB64 has no limit on file size so BAS file modules can be combined.
Printing:
Port access:
File locking: