Keywords currently not supported by QB64: Difference between revisions
Jump to navigation
Jump to search
Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
The keywords listed here are not supported in QB64. QB64 is meant to be compatible with '''QB 4.5 or lower''' versions. '''PDS (7.1) is not supported'''. Older code that uses these keywords won't generate errors, as these are ignored by the compiler. | The keywords listed here are not supported in QB64. QB64 is meant to be compatible with '''QB 4.5 or lower''' versions. '''PDS (7.1) is not supported'''. Older code that uses these keywords won't generate errors, as these are ignored by the compiler. | ||
;Note:The IDE does not support the opening or retrieval of more than one program at a time, but multiple instances of the IDE can be used simultaneously. | |||
Line 18: | Line 20: | ||
* 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.) | ||
Line 31: | Line 33: | ||
== Keywords Not Supported in Linux or macOS versions == | == 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. | ||
Some OS Specific window/desktop calls: | '''Some OS Specific window/desktop calls:''' | ||
* [[_ACCEPTFILEDROP]], [[_TOTALDROPPEDFILES]], [[_DROPPEDFILE]], [[_FINISHDROP]] | * [[_ACCEPTFILEDROP]], [[_TOTALDROPPEDFILES]], [[_DROPPEDFILE]], [[_FINISHDROP]] | ||
* [[_SCREENPRINT]] | * [[_SCREENPRINT]] | ||
Line 46: | Line 46: | ||
'''Modularity:''' QB64 has no limit on file size so BAS file modules can be combined. | |||
* [[CHAIN]] | * [[CHAIN]] | ||
* [[RUN]] | * [[RUN]] | ||
Mouse related: | '''Mouse related:''' | ||
* [[_MOUSEWHEEL]] (available in Linux, not available in macOS) | * [[_MOUSEWHEEL]] (available in Linux, not available in macOS) | ||
Printing: | '''Printing:''' | ||
* [[LPRINT]] | * [[LPRINT]] | ||
* [[_PRINTIMAGE]] | * [[_PRINTIMAGE]] | ||
Port access: | '''Port access:''' | ||
* [[OPEN COM]] | * [[OPEN COM]] | ||
File locking: | '''File locking:''' | ||
* [[LOCK]] | * [[LOCK]] | ||
* [[UNLOCK]] | * [[UNLOCK]] | ||
<p style="text-align: center">([[#toc|Return to Table of Contents]])</p> | <p style="text-align: center">([[#toc|Return to Table of Contents]])</p> | ||
== Reference == | == Reference == | ||
* [[QB64 FAQ|Frequently Asked Questions about QB64]] | * [[QB64 FAQ|Frequently Asked Questions about QB64]] | ||
Revision as of 20:43, 12 November 2022
The keywords listed here are not supported in QB64. QB64 is meant to be compatible with QB 4.5 or lower versions. PDS (7.1) is not supported. Older code that uses these keywords won't generate errors, as these are ignored by the compiler.
- Note
- The IDE does not support the opening or retrieval of more than one program at a time, but multiple instances of the IDE can be used simultaneously.
- 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.
Some OS Specific window/desktop calls:
- _ACCEPTFILEDROP, _TOTALDROPPEDFILES, _DROPPEDFILE, _FINISHDROP
- _SCREENPRINT
- _SCREENCLICK
- _SCREENMOVE (available in macOS, not available in Linux)
- _CLIPBOARDIMAGE, _CLIPBOARDIMAGE (function)
- _WINDOWHASFOCUS (available in Linux, not available in macOS)
- _WINDOWHANDLE
- _CAPSLOCK, _NUMLOCK, _SCROLLLOCK (statements and functions)
Modularity: QB64 has no limit on file size so BAS file modules can be combined.
Mouse related:
- _MOUSEWHEEL (available in Linux, not available in macOS)
Printing:
Port access:
File locking:
Reference