Difference between revisions of "Keywords currently not supported by QB64"

From QB64.org wiki
Jump to: navigation, search
Line 9: Line 9:
 
* [[ANY]]
 
* [[ANY]]
 
* [[BYVAL]] (supported in [[DECLARE LIBRARY]] only)
 
* [[BYVAL]] (supported in [[DECLARE LIBRARY]] only)
* [[CALLS]]
+
* CALLS
* [[CDECL]]
+
* CDECL
* [[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
* [[ENVIRON]] (statement only)
+
* ENVIRON (statement) ([[ENVIRON$]] function is supported)
* [[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 ON/OFF/STOP]], [[PEN]] (function)
+
* ON PEN, PEN (statement), PEN (function)
* [[ON PLAY(n)]], [[PLAY(n)|PLAY(n) ON/OFF/STOP]]. ([[PLAY]] music is supported. See notes below.)
+
* ON PLAY(n), PLAY(n) ON/OFF/STOP. ([[PLAY]] music is supported.)
* [[ON UEVENT]]
+
* ON UEVENT
* [[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.
 
* '''[[WIDTH]] [[LPRINT]]''' combined statement is not supported.
** '''USB printers are supported. The default LPT printer should work with [[LPRINT]] and [[_PRINTIMAGE]].'''
+
** USB printers are supported. The default LPT printer should work with [[LPRINT]] and [[_PRINTIMAGE]].
  
  

Revision as of 03:41, 14 January 2020

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.


  • 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
  • ENVIRON (statement) (ENVIRON$ function is supported)
  • 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
  • SETMEM
  • SIGNAL
  • TIME$ (statement) (reading the current TIME$ is supported)
  • TRON, TROFF
  • WIDTH LPRINT combined statement is not supported.
    • USB printers are supported. The default LPT printer should work with LPRINT and _PRINTIMAGE.


Keywords Not Supported in Linux or MAC OSX 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.

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.


Some OS Specific window/desktop calls:


Modular: 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:

(Return to Table of Contents)

Reference



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page