Keyword Reference - Alphabetical
From QB64 Wiki
Alphabetical QB64 Keyword Listings
QB64: _A _B _C _D _E _F _G _H _I _L _M _N _O _P _R _S _T _U _W
Qbasic: A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Symbols - References
Keywords beginning with _ are QB64 specific.
Keywords without the underscore at the beginning should work with both QB 4.5 and QB64.
Download the QB64 WIKI for Offline Reference!.
If FireFox does not copy page example code correctly use another browser. There is nothing wrong with this WIKI!
If you have a USER "workaround" for this problem, please post a note in the QB64 Community forum so we can post it here.
For discussions about this WIKI goto the QB64 Community Development Forum.
QB64 specific keywords:
These _keywords only work when compiled in QB64.
- _ALPHA (function)
- _ALPHA32 (function)
- _AUTODISPLAY (statement)
- _BACKGROUNDCOLOR (function)
- _BIT (numerical type)
- _BLEND (statement)
- _BLEND (function)
- _BLUE (function)
- _BLUE32 (function)
- _BYTE (numerical type)
- $CHECKING (QB64 C++ Metacommand)
- _CLEARCOLOR (statement)
- _CLEARCOLOR (function)
- _CLIP (PUT graphics option)
- _CLIPBOARD$ (function)
- _CLIPBOARD$ (statement)
- _CONNECTED (function)
- _CONNECTIONADDRESS (function)
- _COPYIMAGE (function)
- _COPYPALETTE (statement)
- _CV (function)
- _DEFAULTCOLOR (function)
- _DEFINE (statement)
- _DELAY (statement)
- _DEST (statement)
- _DEST (function)
- _DISPLAY (statement)
- _DISPLAY (function)
- _DONTBLEND (statement)
- _DONTWAIT (SHELL action)
- _ERRORLINE (function)
- _EXIT (function)
- _FLOAT (numerical type)
- _FONT (statement)
- _FONT (function)
- _FONTHEIGHT (function)
- _FONTWIDTH (function)
- _FREEFONT (statement)
- _FREEIMAGE (statement)
- _FREETIMER (function)
- _FULLSCREEN (function)
- _FULLSCREEN (statement)
- _ICON (statement)
- _INTEGER64 (numerical type)
- _LIMIT (statement)
- _LOADFONT (function)
- _LOADIMAGE (function)
- _MK$ (function)
- _MOUSEBUTTON (function)
- _MOUSEHIDE (statement)
- _MOUSEINPUT (function)
- _MOUSEMOVEMENTX (function)
- _MOUSEMOVEMENTY (function)
- _MOUSESHOW (statement)
- _MOUSEWHEEL (function)
- _MOUSEX (function)
- _MOUSEY (function)
- _NEWIMAGE (function)
- _OPENCLIENT (function)
- _OPENCONNECTION (function)
- _OPENHOST (function)
- _PALETTECOLOR (statement)
- _PALETTECOLOR (function)
- _PIXELSIZE (function)
- _PRESERVE (REDIM action)
- _PRINTIMAGE (printer statement)
- _PRINTMODE (statement)
- _PRINTMODE (function)
- _PRINTSTRING (statement)
- _PRINTWIDTH (function)
- _PUTIMAGE (statement)
- _RED (function)
- _RED32 (function)
- _RGB (function)
- _RGB32 (function)
- _RGBA (function)
- _RGBA32 (function)
- _ROUND (function)
- _SCREENCLICK (statement)
- _SCREENIMAGE (function)
- _SCREENPRINT (statement)
- _SETALPHA (statement)
- _SNDBAL (statement)
- _SNDCLOSE (statement)
- _SNDCOPY (function)
- _SNDGETPOS (function)
- _SNDLEN (function)
- _SNDLIMIT (statement)
- _SNDLOOP (statement)
- _SNDOPEN (function)
- _SNDPAUSE (statement)
- _SNDPAUSED (function)
- _SNDPLAY (statement)
- _SNDPLAYCOPY (statement)
- _SNDPLAYFILE (statement)
- _SNDPLAYING (function)
- _SNDSETPOS (statement)
- _SNDSTOP (statement)
- _SNDVOL (statement)
- _SOURCE (statement)
- _SOURCE (function)
- _TITLE (statement)
- _UNSIGNED (numerical type)
(Go to Top of QB64 specific keywords)
Original QBasic keywords:
These Qbasic keywords (with a few noted exceptions) will work in QB64.
- ABS (function)
- ABSOLUTE (statement)
- ACCESS (file statement)
- ALIAS
- AND (logic operator)
- AND (boolean)
- ANY
- APPEND (file mode)
- AS
- ASC (function)
- ASC (statement) (QB64)
- ATN (function)
- CALL (statement)
- CALL ABSOLUTE (statement)
- CALLS (statement)
- CASE
- CASE ELSE
- CDBL (function)
- CDECL
- CHAIN (statement)
- CHDIR (statement)
- CHR$ (function)
- CINT (function)
- CIRCLE (statement)
- CLEAR (statement)
- CLNG (function)
- CLOSE (statement)
- CLS (statement)
- COLOR (statement)
- COM (statement)
- COMMAND$ (function)
- COMMON (statement)
- COMMON SHARED (statement)
- CONST (statement)
- COS (function)
- CSNG (function)
- CSRLIN (function)
- CVD (function)
- CVDMBF (function)
- CVI (function)
- CVL (function)
- CVS (function)
- CVSMBF (function)
- DATA (statement)
- DATE$ (function)
- DATE$ (statement)
- DECLARE (BASIC statement)
- DECLARE (non-BASIC statement)
- DEF FN (statement)
- DEF SEG (statement)
- DEFDBL (statement)
- DEFINT (statement)
- DEFLNG (statement)
- DEFSNG (statement)
- DEFSTR (statement)
- DIM (statement)
- DO...LOOP (statement)
- DOUBLE (numerical type)
- DRAW (statement)
- $DYNAMIC (metacommand)
- ELSE
- ELSEIF
- END (statement)
- END FUNCTION (statement)
- END IF (statement)
- END SELECT (statement)
- END SUB (statement)
- END TYPE (statement)
- ENVIRON (statement)
- ENVIRON$ (function)
- EOF (file function)
- EQV (logic operator)
- ERASE (array statement)
- ERDEV (function)
- ERDEV$ (function)
- ERL (error function)
- ERR (error function)
- ERROR (error statement)
- EXIT (statement)
- EXIT DEF
- EXIT DO (statement)
- EXIT FOR (statement)
- EXIT FUNCTION (statement)
- EXIT SUB (statement)
- EXP (function)
- FIELD (statement)
- FILEATTR (function)
- FILES (statement)
- FIX (function)
- FOR...NEXT (statement)
- FOR (file statement)
- FRE (function)
- FREEFILE (file function)
- FUNCTION (statement)
- GET (file I/O statement)
- GET (TCP/IP statement) (QB64)
- GET (graphics statement)
- GOSUB (statement)
- GOTO (statement)
- HEX$ (function)
- IF...THEN (statement)
- IMP (logic operator)
- $INCLUDE (metacommand)
- INKEY$ (function)
- INP (function)
- INPUT (statement)
- INPUT (file mode)
- INPUT (file statement)
- INPUT (TCP/IP statement) (QB64)
- INPUT$ (function)
- INSTR (function)
- INT (function)
- INTEGER (numerical type)
- INTERRUPT (statement)
- INTERRUPTX (statement)
- IOCTL (statement)
- IOCTL$ (function)
- IS
- LBOUND (function)
- LCASE$ (function)
- LEFT$ (function)
- LEN (function)
- LET (statement)
- LINE (statement)
- LINE INPUT (statement)
- LINE INPUT (file statement)
- LIST
- LOC (function)
- LOCAL
- LOCATE (statement)
- LOCK (statement)
- LOF (function)
- LOG (function)
- LONG (numerical type)
- LOOP
- LPOS (function)
- LPRINT (statement)
- LPRINT USING (statement)
- LSET (statement)
- LTRIM$ (function)
- MID$ (function)
- MID$ (statement)
- MKD$ (function)
- MKDIR (statement)
- MKDMBF$ (function)
- MKI$ (function)
- MKL$ (function)
- MKS$ (function)
- MKSMBF$ (function)
- MOD
- OCT$ (function)
- OFF
- ON
- ON COM (n) (statement)
- ON ERROR (statement)
- ON KEY (n) (statement)
- ON PEN (statement)
- ON PLAY (n) (statement)
- ON STRIG (n) (statement)
- ON TIMER (n) (statement)
- ON UEVENT (statement)
- ON...GOSUB (statement)
- ON...GOTO (statement)
- OPEN (file I/O statement)
- OPEN COM (statement)
- OPTION BASE (statement)
- OR (logic operator)
- OR (boolean)
- OUT (statement)
- OUTPUT (file mode)
- PAINT (statement)
- PALETTE (statements)
- PCOPY (statement)
- PEEK (function)
- PEN (function)
- PEN (statement)
- PLAY(n) (function)
- PLAY (music statement)
- PMAP (function)
- POINT (function)
- POKE (statement)
- POS (function)
- PRESET (statement)
- PRINT (statement)
- PRINT (file statement)
- PRINT (TCP/IP statement) (QB64)
- PRINT USING (statement)
- PRINT USING (file statement)
- PSET (statement)
- PUT (file I/O statement)
- PUT (TCP/IP statement) (QB64)
- PUT (graphics statement)
- RANDOM (file mode)
- RANDOMIZE (statement)
- READ (statement)
- REDIM (statement)
- REM (statement)
- RESET (statement)
- RESTORE (statement)
- RESUME (statement)
- RETURN (statement)
- RIGHT$ (function)
- RMDIR (statement)
- RND (function)
- RSET (statement)
- RTRIM$ (function)
- RUN (statement)
- SADD (function)
- SCREEN (function)
- SCREEN (statement)
- SEEK (function)
- SEEK (statement)
- SELECT CASE (statement)
- SETMEM (function)
- SGN (function)
- SHARED (statement)
- SHELL (statement)
- SIGNAL
- SIN (function)
- SINGLE (numerical type)
- SLEEP (statement)
- SOUND (statement)
- SPACE$ (function)
- SPC (function)
- SQR (function)
- STATIC (statement)
- $STATIC (metacommand)
- STEP
- STICK (function)
- STOP (statement)
- STR$ (function)
- STRIG (function)
- STRIG (statements)
- STRING (textual type)
- STRING$ (function)
- SUB (statement)
- SWAP (statement)
- SYSTEM (statement)
- TAB (function)
- TAN (function)
- THEN
- TIME$ (function)
- TIME$ (statement)
- TIMER (function)
- TIMER (statement)
- TROFF (statement)
- TRON (statement)
- TYPE (statement)
- VAL (function)
- VARPTR (function)
- VARPTR$ (function)
- VARSEG (function)
- VIEW (graphics statement)
- VIEW PRINT (statement)
- WAIT (statement)
- WEND (statement)
- WHILE (statement)
- WHILE...WEND (statement)
- WIDTH (statement)
- WINDOW (statement)
- WRITE (screen I/O statement)
- WRITE (file statement)
- XOR (logic operator)
Symbols:
- Print or file Formatting
- ; (Semicolon after a PRINT stops the invisible cursor at end of the printed value.)
- , (Comma after a PRINT tabs the invisible cursor past the end of the printed value.)
- Program Code Markers
- ' (Apostrophe denotes programmer comment, ignore code line or Metacommand. Same as using REM.)
- , (SUB or FUNCTION parameter separator. DATA value separator)
- : (Colons can be used to separate two statements on one code line.)
- () (math or conditional procedure order, a SUB or FUNCTION parameter holder or pass by value indicator)
- $ (prefix denotes a Qbasic Metacommand. REM or ' precede the commands)
- Variable Name Type Suffixes
- $ (STRING character type: 1 byte)
- ~ (_UNSIGNED numerical type when it precedes the 8 numerical suffixes below:) [QB64]
- % (INTEGER numerical type: 2 bytes)
- & (LONG numerical type: 4 bytes)
- && (_INTEGER64 numerical type: 8 bytes) [QB64] (32 or 64 bit PC only)
- ! (SINGLE numerical type: 4 bytes)
- # (DOUBLE numerical type: 8 bytes)
- ## (_FLOAT numerical type: 32 bytes) [QB64]
- ` (_BIT numerical type: 1 bit.) [QB64] (Key below tilde(~): CHR$(96))
- %% (_BYTE numerical type: 1 byte) [QB64]
- Numerical Base Prefixes
- &B (Binary base 2 Digits 0 or 1) [QB64]
- &O (Octal base 8 Digits 0 to 7)
- &H (Hexadecimal base 16: Digits 0 to F)
- + (Addition operator)
- - (Subtraction operator or sign)
- * (Multiplication operator)
- / (Normal division operator)
- \ (Long integer division operator)
- ^ (Exponential operator)
- MOD (Integer remainder division)
- = (Equal to condition)
- > (Greater than condition)
- < (Less than condition)
- <> (Not equal to condition)
- >= (Greater than or equal to condition)
- <= (Less than or equal to condition)
References:
(Go to QB64 specific keywords)
(Go to Top of Original QB keywords)
Got a question about something?
Visit QB64 Community Forum
