Keyword Reference - Alphabetical

From QB64 Wiki

Jump to: navigation, search


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


Go to keywords by Usage

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.

If code examples only display partial code, hit the browser Refresh button!



QB64 specific keywords:

These _keywords only work when compiled in QB64.

_A


_B

(Return to Table of Contents)

_C

(Return to Table of Contents)

_D


_E

(Return to Table of Contents)

_F


_G


_H


_I

(Return to Table of Contents)

_L


_M


_N

(Return to Table of Contents)

_O


_P

(Return to Table of Contents)

_R

(Return to Table of Contents)

_S

(Return to Table of Contents)


_T


_U


_W

(Return to Table of Contents)



(Go to Top of QB64 specific keywords)

Original QBasic keywords:

These Qbasic keywords (with a few noted exceptions) will work in QB64.

A


B

(Return to Table of Contents)

C

(Return to Table of Contents)

D

(Return to Table of Contents)

E

(Return to Table of Contents)

F
G


H

(Return to Table of Contents)

I


K

(Return to Table of Contents)

L

(Return to Table of Contents)

M


N

(Return to Table of Contents)

O

(Return to Table of Contents)

P

(Return to Table of Contents)

R

(Return to Table of Contents)

S

(Return to Table of Contents)

T


U

(Return to Table of Contents)

V


W


X
  • XOR (logic operator)

(Return to Table of Contents)


Symbols:

QB64 and QB Symbols:
[Note: All symbols below can also be used inside of literal strings except for quotation marks!]


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)

(Return to Table of Contents)

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]

(Return to Table of Contents)

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)


Mathematical Operations
  • + (Addition operator)
  • - (Subtraction operator or sign)
  • * (Multiplication operator)
  • / (Normal division operator)
  • \ (Long integer division operator)
  • ^ (Exponential operator)
  • MOD (Integer remainder division)


Relational Operations
  • = (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)

(Return to Table of Contents)


References:

(Go to QB64 specific keywords)

(Go to Top of Original QB keywords)


(Go to keywords by Usage)


(Go to WIKI Main Page)


Got a question about something?

Visit the QB64 FAQ

Visit the QB64 Main Site

Visit QB64 Community Forum


(Return to Table of Contents)

Personal tools