Command list
#6
A quick QB64 program to grab a brief command list and minor description from the web:

Code: (Select All)
Screen _NewImage(1024, 720, 32)

wiki$ = "http://qb64phoenix.com/qb64wiki/index.php/Keyword_Reference_-_Alphabetical" 'wiki page to download
outFile$ = "Keywords.txt" 'the name of the file on our disk where we save to.

text$ = Download$(wiki$) 'This downloads the wiki page we want from the web.

Open outFile$ For Output As #1
Do
    p = InStr(p + 1, text$, "<li>") 'find a keyword in the listing
    If p = 0 Then Exit Do 'we're finished when we don't find any more keywords
    t = InStr(p, text$, "title") 'find the name of the wiki page for the keyword
    tEnd = InStr(t, text$, ">") 'find the end point of the wiki page name
    nEnd = InStr(tEnd, text$, "</a>") 'the end of the name of the keyword
    keywordName$ = Mid$(text$, tEnd + 1, nEnd - tEnd - 1)
    If Left$(keywordName$, 3) = "_gl" Then Exit Do 'Quit parsing at the gl keywords as nobody really uses them.
    descriptionStart = InStr(nEnd + 5, text$, ">")
    descriptionEnd = InStr(descriptionStart, text$, "</li>")
    description$ = Mid$(text$, descriptionStart + 1, descriptionEnd - descriptionStart - 1)
    Print #1, keywordName$; " -- "; description$
    Print keywordName$; " -- "; description$ 'echo output to screen
    Print
Loop
Close




Function Download$ (toSite$)
    CRLF$ = Chr$(13) + Chr$(10)
    If Left$(UCase$(toSite$), 5) = "HTTPS" Then Exit Function 'can't open HTTPS pages like this
    webpage$ = toSite$
    If Left$(LCase$(webpage$), 7) = "http://" Then webpage$ = Mid$(webpage$, 8) 'trim http://
    p = InStr(webpage$, "/")
    If p = 0 Then Exit Function
    baseURL$ = Left$(webpage$, p - 1)
    path$ = Mid$(webpage$, p)
    OpenHandle = _OpenClient("TCP/IP:80:" + baseURL$)
    'base is everything before the first /, path is everything else.
    'for example: qb64phoenix.com/qb64wiki/index.php=Main_Page, our base is qb64phoenix.com
    '             and the path would be /qb64wiki/index.php=Main_Page
    Request$ = "GET " + path$ + " HTTP/1.1" + CRLF$ + "Host:" + baseURL$ + CRLF$ + CRLF$
    Put #OpenHandle, , Request$
    Do
        Get #OpenHandle, , t$
        tempDownload$ = tempDownload$ + t$
        _Limit 20
    Loop Until InStr(t$, "</html>")
    Close OpenHandle
    Download$ = tempDownload$
End Function


Run this and it generates a file called "Keywords.txt" on your drive which looks like the following:


Quote:_ACCEPTFILEDROP -- turns a program window into a valid drop destination for dragging files from Windows Explorer.</span>
_ACOS -- arccosine function returns the angle in radians based on an input <a href="/qb64wiki/index.php/COS" title="COS">COSine</a> value range from -1 to 1.</span>
_ACOSH -- Returns the nonnegative arc hyperbolic cosine of x, expressed in radians.</span>
_ALLOWFULLSCREEN -- allows setting the behavior of the ALT+ENTER combo.</span>
_ALPHA -- returns the alpha channel transparency level of a color value used on a screen page or image.</span>
_ALPHA32 -- returns the alpha channel transparency level of a color value used on a 32 bit screen page or image.</span>
_ARCCOT -- is the inverse function of the cotangent.</span>
_ARCCSC -- is the inverse function of the cosecant.</span>
_ARCSEC -- is the inverse function of the secant.</span>
_ASIN -- Returns the principal value of the arc sine of x, expressed in radians.</span>
_ASINH -- Returns the arc hyperbolic sine of x, expressed in radians.</span>
_ASSERT -- Performs debug tests.</span>
$ASSERTS -- enables debug tests with the <a href="/qb64wiki/index.php/ASSERT" title="ASSERT">_ASSERT</a> macro.</span>
_ATAN2 -- Returns the principal value of the <a href="/qb64wiki/index.php/ATN" title="ATN">arc tangent</a> of y/x, expressed in radians.</span>
_ATANH -- Returns the arc hyperbolic tangent of x, expressed in radians.</span>
_AUTODISPLAY -- enables the automatic display of the screen image changes previously disabled by <a href="/qb64wiki/index.php/DISPLAY" title="DISPLAY">_DISPLAY</a>.</span>
_AUTODISPLAY (function) -- returns the current display mode as true (-1) if automatic or false (0) if per request using <a href="/qb64wiki/index.php/DISPLAY" title="DISPLAY">_DISPLAY</a>.</span>
_AXIS -- returns a <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> value between -1 and 1 indicating the maximum distance from the device axis center, 0.</span>
_BACKGROUNDCOLOR -- returns the current <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen page</a> background color.</span>
_BIT -- can return only signed values of 0 (bit off) and -1 (bit on). Unsigned 0 or 1.</span>
_BIN$ -- returns the binary (base 2) <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> representation of the <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> part of any value.</span>
_BLEND -- statement turns on 32 bit alpha blending for the current image or screen mode and is default.</span>
_BLEND (function) -- returns -1 if enabled or 0 if disabled by <a href="/qb64wiki/index.php/DONTBLEND" title="DONTBLEND">_DONTBLEND</a> statement.</span>
_BLINK -- statement turns blinking colors on/off in SCREEN 0</span>
_BLINK (function) -- returns -1 if enabled or 0 if disabled by <a href="/qb64wiki/index.php/BLINK" title="BLINK">_BLINK</a> statement.</span>
_BLUE -- function returns the palette or the blue component intensity of a 32-bit image color.</span>
_BLUE32 -- returns the blue component intensity of a 32-bit color value.</span>
_BUTTON -- returns -1 when a controller device button is pressed and 0 when button is released.</span>
_BUTTONCHANGE -- returns -1 when a device button has been pressed and 1 when released. Zero indicates no change.</span>
_BYTE -- can hold signed values from -128 to 127 (one byte or _BIT * 8). Unsigned from 0 to 255.</span>
_CAPSLOCK (function) -- returns -1 when Caps Lock is on</span>
_CAPSLOCK -- sets Caps Lock key state</span>
$CHECKING -- Metacommand</a>) <span style="color:#888888;">turns event and error checking OFF or ON.</span>
_CEIL -- Rounds x upward, returning the smallest integral value that is not less than x.</span>
_CINP -- Returns a key code from $CONSOLE input</span>
_CLEARCOLOR (function) -- returns the current transparent color of an image.</span>
_CLEARCOLOR -- sets a specific color index of an image to be transparent</span>
_CLIP -- PUT</a> graphics option) <span style="color:#888888;">allows placement of an image partially off of the screen.</span>
_CLIPBOARD$ -- returns the operating system's clipboard contents as a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
_CLIPBOARD$ (statement) -- sets and overwrites the <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value in the operating system's clipboard.</span>
_CLIPBOARDIMAGE (function) -- pastes an image from the clipboard into a new QB64 image in memory.</span>
_CLIPBOARDIMAGE -- (statement) copies a valid QB64 image to the clipboard.</span>
$COLOR -- includes named color constants in a program.</span>
_COMMANDCOUNT -- returns the number of arguments passed to the compiled program from the command line.</span>
_CONNECTED -- returns the status of a TCP/IP connection handle.</span>
_CONNECTIONADDRESS$ -- returns a connected user's STRING IP address value using the handle.</span>
$CONSOLE -- Metacommand</a>) <span style="color:#888888;">creates a console window that can be used throughout a program.</span>
_CONSOLE -- used to turn a console window OFF or ON or to designate <a href="/qb64wiki/index.php/DEST" title="DEST">_DEST</a> _CONSOLE for output.</span>
_CONSOLEINPUT -- fetches input data from a <a href="/qb64wiki/index.php/$CONSOLE" title="$CONSOLE">$CONSOLE</a> window to be read later (both mouse and keyboard)</span>
_CONSOLETITLE -- creates the title of the console window using a literal or variable <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
_CONTINUE -- skips the remaining lines in a control block (DO/LOOP, FOR/NEXT or WHILE/WEND)</span>
_CONTROLCHR -- <a href="/qb64wiki/index.php/OFF" title="OFF">OFF</a> allows the control characters to be used as text characters. <a href="/qb64wiki/index.php/ON" title="ON">ON</a> (default) can use them as commands.</span>
_CONTROLCHR (function) --  returns the current state of _CONTROLCHR as 1 when OFF and 0 when ON.</span>
_COPYIMAGE -- copies an image handle value to a new designated handle.</span>
_COPYPALETTE -- copies the color palette intensities from one 4 or 8 BPP image to another image.</span>
_COT -- the mathematical function cotangent defined by 1/TAN.</span>
_COTH -- Returns the hyperbolic cotangent.</span>
_COSH -- Returns the hyperbolic cosine of x radians.</span>
_CSC -- the mathematical function cosecant defined by 1/SIN.</span>
_CSCH -- Returns the hyperbolic cosecant.</span>
_CV -- converts any <a href="/qb64wiki/index.php/MK$" title="MK$">_MK$</a> <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value to the designated numerical type value.</span>
_CWD$ -- returns the current working directory  as a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value.</span>
_D2G -- converts degrees to gradient angle values.</span>
_D2R -- converts degrees to radian angle values.</span>
$DEBUG -- enables debugging features, allowing you to step through your code line by line.</span>
DECLARE LIBRARY (QB64 statement block) -- declares a C++, SDL or Operating System <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> or <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a> to be used.</span>
DECLARE DYNAMIC LIBRARY (QB64 statement) -- declares DYNAMIC, CUSTOMTYPE or STATIC library (DLL) <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> or <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a>.</span>
_DEFAULTCOLOR -- returns the current default text color for an image handle or page.</span>
_DEFINE -- defines a range of variable names according to their first character as a data type.</span>
_DEFLATE$ -- compresses a string</span>
_DELAY -- suspends program execution for a <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> number of seconds.</span>
_DEPTHBUFFER -- enables, disables, locks or clears depth buffering.</span>
_DESKTOPHEIGHT -- returns the height of the desktop (not program window).</span>
_DESKTOPWIDTH -- returns the width of the desktop (not program window).</span>
_DEST -- sets the current write image or <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a> page destination for prints or graphics.</span>
_DEST (function) -- returns the current destination screen page or image handle value.</span>
_DEVICE$ -- returns a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> expression listing a designated numbered input device name and types of input.</span>
_DEVICEINPUT -- returns the <a href="/qb64wiki/index.php/DEVICES" title="DEVICES">_DEVICES</a> number of an <a href="/qb64wiki/index.php/AXIS" title="AXIS">_AXIS</a>, <a href="/qb64wiki/index.php/BUTTON" title="BUTTON">_BUTTON</a> or <a href="/qb64wiki/index.php/WHEEL" title="WHEEL">_WHEEL</a> event.</span>
_DEVICES -- returns the number of input devices found on a computer system including the keyboard and mouse.</span>
_DIR$ -- returns common paths in Windows only, like My Documents, My Pictures, My Music, Desktop.</span>
_DIREXISTS -- returns -1 if the Directory folder name <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> parameter exists. Zero if it does not.</span>
_DISPLAY -- turns off the <a href="/qb64wiki/index.php/AUTODISPLAY" title="AUTODISPLAY">automatic display</a> while only displaying the screen changes when called.</span>
_DISPLAY (function) -- returns the handle of the current image that is displayed on the screen.</span>
_DISPLAYORDER -- designates the order to render software, hardware and custom-opengl-code.</span>
_DONTBLEND -- statement turns off default <a href="/qb64wiki/index.php/BLEND" title="BLEND">_BLEND</a> 32 bit <a href="/qb64wiki/index.php/ALPHA" title="ALPHA">alpha</a> blending for the current image or screen.</span>
_DONTWAIT -- SHELL</a> action) <span style="color:#888888;">specifies that the program should not wait until the shelled command/program is finished.</span>
_DROPPEDFILE --  returns the list of items (files or folders) dropped in a program's window after <a href="/qb64wiki/index.php/ACCEPTFILEDROP" title="ACCEPTFILEDROP">_ACCEPTFILEDROP</a> is enabled.</span>
_ECHO -- used in conjunction with $IF for the precompiler.</span>
$ELSE -- Metacommand</a>) <span style="color:#888888;">used in conjunction with <a href="/qb64wiki/index.php/$IF" title="$IF">$IF</a> for the precompiler.</span>
$ELSEIF -- Metacommand</a>) <span style="color:#888888;">used in conjunction with <a href="/qb64wiki/index.php/$IF" title="$IF">$IF</a> for the precompiler.</span>
$END IF -- Metacommand</a>) <span style="color:#888888;">used in conjunction with <a href="/qb64wiki/index.php/$IF" title="$IF">$IF</a> for the precompiler.</span>
_ENVIRONCOUNT -- returns the number of key/value pairs currently exist in the environment table.</span>
$ERROR -- metacommand</a>) <span style="color:#888888;">used to trigger compiler errors from within the precompiling pass.</span>
_ERRORLINE -- returns the source code line number that caused the most recent runtime error.</span>
_ERRORMESSAGE$ -- returns a human-readable message describing the most recent runtime error.</span>
$EXEICON -- Metacommand</a>) <span style="color:#888888;">used with a .ICO icon file name to embed the image into the QB64 executable.</span>
_EXIT (function) -- prevents a user exit and indicates if a user has clicked the close X window button or CTRL + BREAK.</span>
_FILEEXISTS -- returns -1 if the file name <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> parameter exists. Zero if it does not.</span>
_FINISHDROP --  resets <a href="/qb64wiki/index.php/TOTALDROPPEDFILES" title="TOTALDROPPEDFILES">_TOTALDROPPEDFILES</a> and clears the <a href="/qb64wiki/index.php/DROPPEDFILE" title="DROPPEDFILE">_DROPPEDFILE</a> list of items (files/folders).</span>
_FLOAT -- offers the maximum floating-point decimal precision available using QB64.</span>
_FONT -- sets the current font handle to be used by PRINT or <a href="/qb64wiki/index.php/PRINTSTRING" title="PRINTSTRING">_PRINTSTRING</a>.</span>
_FONT (function) -- creates a new font handle from a designated image handle.</span>
_FONTHEIGHT -- returns the current text or font height.</span>
_FONTWIDTH -- returns the current text or font width.</span>
_FREEFONT -- releases the current font handle from memory.</span>
_FREEIMAGE -- releases a designated image handle from memory.</span>
_FREETIMER -- returns an unused timer number value to use with <a href="/qb64wiki/index.php/ON_TIMER(n)" title="ON TIMER(n)">ON TIMER(n)</a>.</span>
_FULLSCREEN -- sets the program window to full screen or OFF. Alt + Enter does it manually.</span>
_FULLSCREEN (function) -- returns the fullscreen mode in use by the program.</span>
_G2D -- converts gradient to degree angle values.</span>
_G2R -- converts gradient to radian angle values.</span>
_GLRENDER -- sets whether context is displayed, on top of or behind the software rendering.</span>
_GREEN -- function returns the palette or the green component intensity of a 32-bit image color.</span>
_GREEN32 -- returns the green component intensity of a 32-bit color value.</span>
_HEIGHT -- returns the height of a designated image handle.</span>
_HIDE -- SHELL</a> action) <span style="color:#888888;"> hides the command line display during a shell.</span>
_HYPOT -- Returns the hypotenuse of a right-angled triangle whose legs are x and y.</span>
$IF -- Metacommand</a>) <span style="color:#888888;">used to set an <a href="/qb64wiki/index.php/IF" title="IF">IF</a> condition for the precompiler.</span>
_ICON -- designates a <a href="/qb64wiki/index.php/LOADIMAGE" title="LOADIMAGE">_LOADIMAGE</a> image file handle to be used as the program's icon or loads the embedded icon (see <a href="/qb64wiki/index.php/$EXEICON" title="$EXEICON">$EXEICON</a>).</span>
_INCLERRORFILE$ -- returns the name of the original source code $INCLUDE module that caused the most recent error.</span>
_INCLERRORLINE -- returns the line number in an included file that caused the most recent error.</span>
_INFLATE$ -- decompresses a string</span>
_INSTRREV -- allows searching for a substring inside another string, but unlike <a href="/qb64wiki/index.php/INSTR" title="INSTR">INSTR</a> it returns the last occurrence instead of the first one.</span>
_INTEGER64 -- can hold whole numerical values from -9223372036854775808 to 9223372036854775807.</span>
_KEYCLEAR -- clears the keyboard buffers for INKEY$, _KEYHIT, and INP.</span>
_KEYHIT -- returns <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> one and two byte, SDL Virtual Key and <a href="/qb64wiki/index.php/Unicode" title="Unicode">Unicode</a> keyboard key press codes.</span>
_KEYDOWN -- returns whether CTRL, ALT, SHIFT, combinations and other keys are pressed.</span>
$LET -- Metacommand</a>) <span style="color:#888888;">used to set a variable for the precompiler.</span>
_LASTAXIS -- returns the number of axis available on a specified number device listed by <a href="/qb64wiki/index.php/DEVICE$" title="DEVICE$">_DEVICE$</a>.</span>
_LASTBUTTON -- returns the number of buttons available on a specified number device listed by <a href="/qb64wiki/index.php/DEVICE$" title="DEVICE$">DEVICE$</a>.</span>
_LASTWHEEL -- returns the number of scroll wheels available on a specified number device listed by <a href="/qb64wiki/index.php/DEVICE$" title="DEVICE$">_DEVICE$</a>.</span>
_LIMIT -- sets the loops per second rate to slow down loops and limit CPU usage.</span>
_LOADFONT -- designates a <a href="/qb64wiki/index.php/FONT" title="FONT">font</a> TTF file to load and returns a handle value.</span>
_LOADIMAGE -- designates an image file to load and returns a handle value.</span>
_MAPTRIANGLE -- maps a triangular image source area to put on a destination area.</span>
_MAPUNICODE -- maps a <a href="/qb64wiki/index.php/Unicode" title="Unicode">Unicode</a> value to an <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> code number.</span>
_MAPUNICODE (function) -- returns the <a href="/qb64wiki/index.php/Unicode" title="Unicode">Unicode</a> (UTF32) code point value of a mapped <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> character code.</span>
_MEM (function) -- returns <a href="/qb64wiki/index.php/MEM" title="MEM">_MEM</a> block referring to the largest continuous memory region beginning at a designated variable's offset.</span>
_MEM -- contains read only dot elements for the OFFSET, SIZE, TYPE and ELEMENTSIZE of a block of memory.</span>
_MEMCOPY -- copies a value from a designated OFFSET and SIZE <a href="/qb64wiki/index.php/TO" title="TO">TO</a> a block of memory at a designated OFFSET.</span>
_MEMELEMENT -- returns a <a href="/qb64wiki/index.php/MEM" title="MEM">_MEM</a> block referring to a variable's memory (but not past it).</span>
_MEMEXISTS -- verifies that a memory block exists for a memory variable name or returns zero.</span>
_MEMFILL -- fills a designated memory block OFFSET with a certain SIZE and TYPE of value.</span>
_MEMFREE -- frees a designated memory block in a program. Only free memory blocks once.</span>
_MEMGET -- reads a value from a designated memory block at a designated  OFFSET</span>
_MEMGET (function) -- returns a value from a designated memory block and OFFSET using a designated variable <a href="/qb64wiki/index.php/TYPE" title="TYPE">TYPE</a>.</span>
_MEMIMAGE -- returns a <a href="/qb64wiki/index.php/MEM" title="MEM">_MEM</a> block referring to a designated image handle's memory</span>
_MEMNEW -- allocates new memory with a designated SIZE and returns a <a href="/qb64wiki/index.php/MEM" title="MEM">_MEM</a> block referring to it.</span>
_MEMPUT -- places a designated value into a designated memory block OFFSET</span>
_MEMSOUND -- returns a <a href="/qb64wiki/index.php/MEM" title="MEM">_MEM</a> block referring to a designated sound handle's memory</span>
_MIDDLE -- centers the program window on the desktop in any screen resolution.</span>
_MK$ -- converts a numerical value to a designated <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value.</span>
_MOUSEBUTTON -- returns the status of a designated mouse button.</span>
_MOUSEHIDE -- hides the mouse pointer from view</span>
_MOUSEINPUT -- returns a value if the mouse status has changed since the last read.</span>
_MOUSEMOVE -- moves the mouse pointer to a designated position on the program <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
_MOUSEMOVEMENTX -- returns the relative horizontal position of the mouse cursor compared to the previous position.</span>
_MOUSEMOVEMENTY -- returns the relative vertical position of the mouse cursor compared to the previous position.</span>
_MOUSESHOW -- displays the mouse cursor after it has been hidden or can change the cursor shape.</span>
_MOUSEWHEEL -- returns the number of mouse scroll wheel "clicks" since last read.</span>
_MOUSEX -- returns the current horizontal position of the mouse cursor.</span>
_MOUSEY -- returns the current vertical position of the mouse cursor.</span>
_NEWIMAGE -- creates a designated size program <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a> or page image and returns a handle value.</span>
$NOPREFIX -- allows QB64-specific keywords to be used without the underscore prefix.</span>
_NUMLOCK (function) -- returns -1 when Num Lock is on</span>
_NUMLOCK -- sets Num Lock key state</span>
_OFFSET (function) -- returns the memory offset of a variable when used with <a href="/qb64wiki/index.php/DECLARE_LIBRARY" title="DECLARE LIBRARY">DECLARE LIBRARY</a> or <a href="/qb64wiki/index.php/MEM" title="MEM">_MEM</a> only.</span>
_OFFSET -- can be used store the value of an offset in memory when using <a href="/qb64wiki/index.php/DECLARE_LIBRARY" title="DECLARE LIBRARY">DECLARE LIBRARY</a> or <a href="/qb64wiki/index.php/MEM" title="MEM">MEM</a> only.</span>
_OPENCLIENT -- connects to a Host on the Internet as a Client and returns the Client status handle.</span>
_OPENCONNECTION -- open's a connection from a client that the host has detected and returns a status handle.</span>
_OPENHOST -- opens a Host and returns a Host status handle.</span>
OPTION _EXPLICIT -- instructs the compiler to require variable declaration with <a href="/qb64wiki/index.php/DIM" title="DIM">DIM</a> or an equivalent statement.</span>
OPTION _EXPLICITARRAY -- instructs the compiler to require array declaration with <a href="/qb64wiki/index.php/DIM" title="DIM">DIM</a> or an equivalent statement.</span>
_OS$ -- returns the QB64 compiler version in which the program was compiled as [WINDOWS], [LINUX] or [MACOSX] and [32BIT] or [64BIT].</span>
_PALETTECOLOR -- sets the color value of a palette entry of an image using 256 colors or less palette modes.</span>
_PALETTECOLOR (function) -- return the 32 bit attribute color setting of an image or screen page handle's palette.</span>
_PI -- returns the value of <b>π</b> or parameter multiples for angle or <a href="/qb64wiki/index.php/CIRCLE" title="CIRCLE">circle</a> calculations.</span>
_PIXELSIZE -- returns the pixel palette mode of a designated image handle.</span>
_PRESERVE -- REDIM</a> action) <span style="color:#888888;">preserves the data presently in an array when <a href="/qb64wiki/index.php/REDIM" title="REDIM">REDIM</a> is used.</span>
_PRINTIMAGE -- sends an image to the printer that is stretched to the current printer paper size.</span>
_PRINTMODE -- sets the text or _FONT printing mode on a background when using PRINT or <a href="/qb64wiki/index.php/PRINTSTRING" title="PRINTSTRING">_PRINTSTRING</a>.</span>
_PRINTMODE (function) -- returns the present <a href="/qb64wiki/index.php/PRINTMODE" title="PRINTMODE">_PRINTMODE</a> value number.</span>
_PRINTSTRING -- locates and prints a text <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> using graphic coordinates.</span>
_PRINTWIDTH -- returns the pixel width of a text string to be printed using <a href="/qb64wiki/index.php/PRINTSTRING" title="PRINTSTRING">_PRINTSTRING</a>.</span>
_PUTIMAGE -- maps a rectangular image source area to an image destination area.</span>
_R2D -- converts radians to degree angle values.</span>
_R2G -- converts radians to gradient angle values.</span>
_RED -- function returns the palette or the red component intensity of a 32-bit image color.</span>
_RED32 -- returns the red component intensity of a 32-bit color value.</span>
_READBIT -- returns the state of the specified bit of an integer variable.</span>
_RESETBIT -- is used to set the specified bit of an integer variable to 0.</span>
$RESIZE -- Metacommand</a>) <span style="color:#888888;">used with ON allows a user to resize the program window where OFF does not.</span>
_RESIZE -- sets resizing of the window ON or OFF and sets the method as _STRETCH or _SMOOTH.</span>
_RESIZE (function) -- returns -1 when a program user wants to resize the program screen.</span>
_RESIZEHEIGHT -- returns the requested new user screen height when <a href="/qb64wiki/index.php/$RESIZE" title="$RESIZE">$RESIZE</a>:ON allows it.</span>
_RESIZEWIDTH -- returns the requested new user screen width when <a href="/qb64wiki/index.php/$RESIZE" title="$RESIZE">$RESIZE</a>:ON allows it.</span>
_RGB -- returns the closest palette index OR the <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> 32 bit color value in 32 bit screens.</span>
_RGB32 -- returns the <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> 32 bit color value in 32 bit screens only</span>
_RGBA -- returns the closest palette index OR the <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> 32 bit color value in 32 bit screens with the <a href="/qb64wiki/index.php/ALPHA" title="ALPHA">ALPHA</a></span>
_RGBA32 -- returns the <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> 32 bit color value in 32 bit screens only with the <a href="/qb64wiki/index.php/ALPHA" title="ALPHA">ALPHA</a></span>
_ROUND -- rounds to the closest <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a>, <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> or <a href="/qb64wiki/index.php/INTEGER64" title="INTEGER64">_INTEGER64</a> numerical value.</span>
_SEC -- the mathematical function secant defined by 1/COS.</span>
_SECH -- Returns the hyperbolic secant.</span>
_SCREENCLICK -- simulates clicking on a point on the desktop screen with the left mouse button.</span>
_SCREENEXISTS -- returns a -1 value once a screen has been created.</span>
$SCREENHIDE -- hides the program window from view.</span>
_SCREENHIDE -- hides the program window from view.</span>
_SCREENICON (function) -- returns -1 or 0 to indicate if the window has been minimized to an icon on the taskbar.</span>
_SCREENICON -- minimizes the program window to an icon on the taskbar.</span>
_SCREENIMAGE -- creates an image of the current desktop and returns an image handle.</span>
_SCREENMOVE -- positions program window on the desktop using designated coordinates or the _MIDDLE option.</span>
_SCREENPRINT -- simulates typing text into a Windows program using the keyboard.</span>
$SCREENSHOW -- Metacommand</a>) <span style="color:#888888;">displays the program window after it was hidden.</span>
_SCREENSHOW -- displays the program window after it has been hidden by <a href="/qb64wiki/index.php/SCREENHIDE" title="SCREENHIDE">_SCREENHIDE</a>.</span>
_SCREENX -- returns the program window's upper left corner horizontal position on the desktop.</span>
_SCREENY -- returns the program window's upper left corner vertical position on the desktop.</span>
_SCROLLLOCK (function) -- returns -1 when Scroll Lock is on</span>
_SCROLLLOCK -- sets Scroll Lock key state</span>
_SETALPHA -- sets the alpha channel transparency level of some or all of the pixels of an image.</span>
_SETBIT -- is used to set the specified bit of an integer variable to 1.</span>
_SHELLHIDE -- returns the code sent by a program exit using <a href="/qb64wiki/index.php/END" title="END">END</a> or <a href="/qb64wiki/index.php/SYSTEM" title="SYSTEM">SYSTEM</a> followed by an <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> value.</span>
_SHL -- used to shift the bits of a numerical value to the left</span>
_SHR -- used to shift the bits of a numerical value to the right.</span>
_SINH -- Returns the hyperbolic sine of x radians.</span>
_SNDBAL -- attempts to set the balance or 3D position of a sound file.</span>
_SNDCLOSE -- frees and unloads an open sound using the sound handle created by <a href="/qb64wiki/index.php/SNDOPEN" title="SNDOPEN">_SNDOPEN</a>.</span>
_SNDCOPY -- copies a sound handle value to a new designated handle.</span>
_SNDGETPOS -- returns the current playing position in seconds from a sound file.</span>
_SNDLEN -- returns the length of a sound in seconds from a sound file.</span>
_SNDLIMIT -- stops playing a sound after it has been playing for a set number of seconds.</span>
_SNDLOOP -- plays a sound repeatedly until <a href="/qb64wiki/index.php/SNDSTOP" title="SNDSTOP">_SNDSTOP</a> is used.</span>
_SNDOPEN -- loads a sound file and returns a sound handle.</span>
_SNDOPENRAW -- opens a new channel to shove <a href="/qb64wiki/index.php/SNDRAW" title="SNDRAW">_SNDRAW</a> content into without mixing.</span>
_SNDPAUSE -- stops playing a sound file until resumed.</span>
_SNDPAUSED -- returns the current pause status of a sound file handle.</span>
_SNDPLAY -- plays a sound file handle that was created by <a href="/qb64wiki/index.php/SNDOPEN" title="SNDOPEN">_SNDOPEN</a> or <a href="/qb64wiki/index.php/SNDCOPY" title="SNDCOPY">_SNDCOPY</a>.</span>
_SNDPLAYCOPY -- copies a sound handle, plays it and automatically closes the copy when done.</span>
_SNDPLAYFILE -- directly plays a designated sound file.</span>
_SNDPLAYING -- returns the current playing status of a sound handle.</span>
_SNDRATE -- returns the sound card sample rate to set <a href="/qb64wiki/index.php/SNDRAW" title="SNDRAW">_SNDRAW</a> durations.</span>
_SNDRAW -- creates mono or stereo sounds from calculated wave frequency values.</span>
_SNDRAWDONE -- pads a <a href="/qb64wiki/index.php/SNDRAW" title="SNDRAW">_SNDRAW</a> stream so the final (partially filled) buffer section is played.</span>
_SNDRAWLEN -- returns a value until the <a href="/qb64wiki/index.php/SNDRAW" title="SNDRAW">_SNDRAW</a> buffer is empty.</span>
_SNDSETPOS -- sets the playing position of a sound handle.</span>
_SNDSTOP -- stops playing a sound handle.</span>
_SNDVOL -- sets the volume of a sound file handle.</span>
_SOURCE -- sets the source image handle.</span>
_SOURCE (function) -- returns the present source image handle value.</span>
_STARTDIR$ -- returns the user's program calling path as a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
_STRCMP -- compares the relationship between two strings.</span>
_STRICMP -- compares the relationship between two strings, without regard for case-sensitivity.</span>
_TANH -- Returns the hyperbolic tangent of x radians.</span>
_TITLE -- sets the program title <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> value.</span>
_TITLE$ -- gets the program title <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> value.</span>
_TOGGLEBIT -- is used to toggle the specified bit of an integer variable from 1 to 0 or 0 to 1.</span>
_TOTALDROPPEDFILES --  returns the number of items (files or folders) dropped in a program's window after <a href="/qb64wiki/index.php/ACCEPTFILEDROP" title="ACCEPTFILEDROP">_ACCEPTFILEDROP</a> is enabled.</span>
_TRIM$ -- shorthand to <a href="/qb64wiki/index.php/LTRIM$" title="LTRIM$">LTRIM$</a>(<a href="/qb64wiki/index.php/RTRIM$" title="RTRIM$">RTRIM$</a>("text"))</span>
_UNSIGNED -- expands the positive range of numerical <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a>, <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> or <a href="/qb64wiki/index.php/INTEGER64" title="INTEGER64">_INTEGER64</a> values returned.</span>
$VERSIONINFO -- Metacommand</a>) <span style="color:#888888;">adds metadata to Windows only binaries for identification purposes across the OS.</span>
$VIRTUALKEYBOARD -- Metacommand</a>) (<span style="color:red;">deprecated</span>) <span style="color:#888888;">turns the virtual keyboard ON or OFF for use in touch-enabled devices.</span>
_WHEEL -- returns -1 when a control device wheel is scrolled up and 1 when scrolled down. Zero indicates no activity.</span>
_WIDTH (function) -- returns the width of a <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a> or image handle.</span>
_WINDOWHANDLE -- returns the window handle assigned to the current program by the OS. Windows-only.</span>
_WINDOWHASFOCUS -- returns true (-1) if the current program's window has focus. Windows-only.</span>
ABS -- converts any negative numerical value to a positive value.</span>
ABSOLUTE -- is used to access computer interrupt registers.</span>
ACCESS -- sets the read and write access of a file when opened.</span>
ALIAS -- DECLARE LIBRARY</a> statement) <span style="color:#888888;">denotes the actual name of an imported <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a> or <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> procedure.</span>
AND -- is used to compare two numerical values bitwise.</span>
AND (boolean) --  conditonal operator is used to include another evaluation in an <a href="/qb64wiki/index.php/IF...THEN" title="IF...THEN">IF...THEN</a> or <a href="/qb64wiki/index.php/Boolean" title="Boolean">Boolean</a> statement.</span>
APPEND -- creates a new file or allows an existing file to have data added using <a href="/qb64wiki/index.php/WRITE_(file_statement)" title="WRITE (file statement)">WRITE</a> or <a href="/qb64wiki/index.php/PRINT_(file_statement)" title="PRINT (file statement)">PRINT</a></span>
AS -- is used to denote a variable type or file number.</span>
ASC -- returns the <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> code number of a text <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> character.</span>
ASC (statement) -- sets the code value of an <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> text character at a designated <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> position.</span>
ATN -- or arctangent returns the angle in radians of a numerical <a href="/qb64wiki/index.php/TAN" title="TAN">tangent</a> value.</span>
BEEP -- creates an error sound of a fixed duration.</span>
BINARY -- creates or opens an existing file for <a href="/qb64wiki/index.php/GET" title="GET">read</a> and <a href="/qb64wiki/index.php/PUT" title="PUT">write</a> byte-wise access.</span>
BLOAD -- transfers the contents of a <a href="/qb64wiki/index.php/BINARY" title="BINARY">BINARY</a> <a href="/qb64wiki/index.php/BSAVE" title="BSAVE">BSAVE</a> file to a specific <a href="/qb64wiki/index.php/Arrays" title="Arrays">array</a>.</span>
BSAVE -- transfers the contents of an <a href="/qb64wiki/index.php/Arrays" title="Arrays">array</a> to a specified size <a href="/qb64wiki/index.php/BINARY" title="BINARY">BINARY</a> file.</span>
BYVAL -- assigns a numerical variable value by its value, not the name.</span>
CALL -- optional statement that sends the program to a <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> procedure.  Requires parameters be enclosed in brackets(parenthesis).</span>
CALL ABSOLUTE -- is used to access computer interrupt registers.</span>
CASE -- SELECT CASE</a> condition) <span style="color:#888888;">designates specific conditions in a <a href="/qb64wiki/index.php/SELECT_CASE" title="SELECT CASE">SELECT CASE</a> statement block.</span>
CASE ELSE -- SELECT CASE</a> condition) <span style="color:#888888;">designates an alternative condition to be evaluated in a <a href="/qb64wiki/index.php/SELECT_CASE" title="SELECT CASE">SELECT CASE</a> statement block.</span>
CASE IS -- SELECT CASE</a> condition) <span style="color:#888888;">designates specific conditions in a <a href="/qb64wiki/index.php/SELECT_CASE" title="SELECT CASE">SELECT CASE</a> statement block.</span>
CDBL -- returns the closest <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> value of a number.</span>
CHAIN -- sends a program to another specified program module or compiled program.</span>
CHDIR -- changes the current program path for file access.</span>
CHR$ -- returns a text <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> character by the specified <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> code number.</span>
CINT -- returns the closest <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> value of a numerical value.</span>
CIRCLE -- creates a circle, ellipse or arc at a designated graphical coordinate position.</span>
CLEAR -- sets all variable and array values to zero number values or empty <a href="/qb64wiki/index.php/STRING" title="STRING">STRINGs</a>.</span>
CLNG -- returns the closest <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> value of a numerical value.</span>
CLOSE -- closes specific file number(s) or all files when a number is not specified.</span>
CLS -- clears a program <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen</a>, <a href="/qb64wiki/index.php/VIEW" title="VIEW">VIEW</a> port or <a href="/qb64wiki/index.php/WINDOW" title="WINDOW">WINDOW</a>.</span>
COLOR -- sets the current text foreground and/or background color to be used.</span>
COMMAND$ -- returns the command line arguments passed when a program is run.</span>
COMMON -- sets a variable name as shared by <a href="/qb64wiki/index.php/CHAIN" title="CHAIN">CHAINed</a> program modules.</span>
CONST -- sets a variable name and its value as a constant value to be used by all procedures.</span>
COS -- returns the cosine of a radian angle value.</span>
CSNG -- returns the closest <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> value of a numerical value.</span>
CSRLIN -- returns the present <a href="/qb64wiki/index.php/PRINT" title="PRINT">PRINT</a> cursor text row <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a> coordinate position.</span>
CVD -- returns the <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> numerical value of an 8 byte <a href="/qb64wiki/index.php/MKD$" title="MKD$">MKD$</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
CVDMBF -- returns the <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> numerical value of a <a href="/qb64wiki/index.php/MKDMBF$" title="MKDMBF$">Microsoft Binary Format</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
CVI -- returns the <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> numerical value of a 2 byte <a href="/qb64wiki/index.php/MKI$" title="MKI$">MKI$</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
CVL -- returns the <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> numerical value of a 4 byte <a href="/qb64wiki/index.php/MKL$" title="MKL$">MKL$</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
CVS -- returns the <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> numerical value of a 4 byte <a href="/qb64wiki/index.php/MKS$" title="MKS$">MKS$</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
CVSMBF -- returns the <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> numerical value of a <a href="/qb64wiki/index.php/MKSMBF$" title="MKSMBF$">Microsoft Binary Format</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
DATA -- creates a line of fixed program information separated by commas.</span>
DATE$ -- returns the present Operating System date <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> formatted as mm-dd-yyyy.</span>
DECLARE LIBRARY (QB64 statement block) -- declares a C++, SDL or Operating System <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> or <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a> to be used.</span>
DECLARE DYNAMIC LIBRARY (QB64 statement) -- declares DYNAMIC, CUSTOMTYPE or STATIC  library(DLL) <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> or <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a>.</span>
DEF SEG -- defines a segment in memory to be accessed by a memory procedure.</span>
DEFDBL -- defines a set of undefined variable name starting letters as <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> type numerical values.</span>
DEFINT -- defines a set of undefined variable name starting letters as <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> type numerical values.</span>
DEFLNG -- defines a set of undefined variable name starting letters as <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> type numerical values.</span>
DEFSNG -- defines a set of undefined variable name starting letters as <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> type numerical values.</span>
DEFSTR -- defines a set of undefined variable name starting letters as <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> type values.</span>
DIM -- defines a variable as a specified type and can size a <a href="/qb64wiki/index.php/STATIC" title="STATIC">STATIC</a>  array.</span>
DO...LOOP -- sets a recursive procedure loop that can be ignored or exited using conditional arguments.</span>
DOUBLE -- 8 byte value limited to values up to 15 decimal places.</span>
DRAW -- uses a special <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> format that draws graphical lines in specific directions.</span>
$DYNAMIC -- Metacommand</a>) <span style="color:#888888;">used at the start of a program to set all program arrays as changeable in size using <a href="/qb64wiki/index.php/REDIM" title="REDIM">REDIM</a>.</span>
ELSE -- IF...THEN</a> statement) <span style="color:#888888;">is used to direct program flow when no other condition is evaluated as true.</span>
ELSEIF -- IF...THEN</a> statement) <span style="color:#888888;">is used with <a href="/qb64wiki/index.php/THEN" title="THEN">THEN</a> to set alternate conditional evaluations.</span>
END -- sets the end of a program, sub-procedure, statement block, <a href="/qb64wiki/index.php/DECLARE_LIBRARY" title="DECLARE LIBRARY">DECLARE LIBRARY</a> or <a href="/qb64wiki/index.php/TYPE" title="TYPE">TYPE</a> definition.</span>
END IF -- <a href="/qb64wiki/index.php/END" title="END">ENDs</a> an IF...THEN conditional block statement using more than one line of code.</span>
ENVIRON -- temporarily sets an environmental key/pair value.</span>
ENVIRON$ -- returns a specified string setting or numerical position as an environmental <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value.</span>
EOF -- returns -1 when a file <a href="/qb64wiki/index.php/INPUT_(file_statement)" title="INPUT (file statement)">INPUT</a> or <a href="/qb64wiki/index.php/GET" title="GET">GET</a> has reached the end of a file.</span>
EQV -- is used to compare two numerical values bitwise.</span>
ERASE -- clears the values from <a href="/qb64wiki/index.php/$STATIC" title="$STATIC">$STATIC</a> arrays and completely removes <a href="/qb64wiki/index.php/$DYNAMIC" title="$DYNAMIC">$DYNAMIC</a> arrays.</span>
ERDEV -- returns an error code from the last device to create an error.</span>
ERDEV$ -- returns the 8 character name of the last device to declare an error as a <a href="/qb64wiki/index.php/STRING" title="STRING">string</a>.</span>
ERL -- returns the closest line number before an error occurred if line numbers are used.</span>
ERR -- returns the <a href="/qb64wiki/index.php/ERROR_Codes" title="ERROR Codes">ERROR code</a> when a program error occurs.</span>
ERROR -- sets a specific <a href="/qb64wiki/index.php/ERROR_Codes" title="ERROR Codes">ERROR code</a> to be simulated.</span>
EXIT -- immediately exits a program <a href="/qb64wiki/index.php/FOR...NEXT" title="FOR...NEXT">FOR...NEXT</a>, <a href="/qb64wiki/index.php/DO...LOOP" title="DO...LOOP">DO...LOOP</a>, <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> or <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a> procedure.</span>
EXP -- returns the value of e to the exponential power specified.</span>
FIELD -- defines the variable sizes to be written or read from a file.</span>
FILEATTR -- returns the current file access mode.</span>
FILES -- returns a list of files in the current directory path to the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
FIX -- returns the rounded <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> value of a numerical value.</span>
FOR...NEXT -- creates a recursive loop procedure that loop a specified number of times.</span>
FOR (file statement) -- used in an <a href="/qb64wiki/index.php/OPEN" title="OPEN">OPEN</a> file or device statement to indicate the access mode.</span>
FRE -- returns the number of bytes of Memory available to running programs.</span>
FREE (QB64 TIMER statement) -- frees a numbered TIMER event in QB64.</span>
FREEFILE -- returns a file number that is currently not in use by the Operating System.</span>
FUNCTION -- sub-procedure that can calculate and return one value to a program in its name.</span>
GET -- reads a file sequencially or at a specific position and returns the value as the variable type used.</span>
GET (QB64 TCP/IP statement) -- reads a connection port to return a value.</span>
GET (graphics statement) -- maps an area the current <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen's</a> video information and places it in an <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> <a href="/qb64wiki/index.php/Arrays" title="Arrays">array</a>.</span>
GOSUB -- sends the program to a designated line label procedure in the main program.</span>
GOTO -- sends the program to a designated line number or line label in a procedure.</span>
HEX$ -- returns the hexadecimal (base 16) <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> representation of the <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> part of any value.</span>
IF...THEN -- a conditional block statement used control program flow.</span>
IMP -- is used to compare two numerical values bitwise.</span>
$INCLUDE -- Metacommand</a>) <span style="color:#888888;">designates a text code library file to include with the program.</span>
INKEY$ -- ASCII</a> <span style="color:#888888;">returns a <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> value entry from the keyboard.</span>
INP -- returns a numerical value from a specified port register address. See <a href="/qb64wiki/index.php/Keyboard_scancodes" title="Keyboard scancodes">Keyboard scancodes</a></span>
INPUT -- a user input that returns a value to one or more specified variable(s).</span>
INPUT (file mode) -- <a href="/qb64wiki/index.php/OPEN" title="OPEN">OPEN</a> statement that only allows an existing file to be read using <a href="/qb64wiki/index.php/INPUT_(file_statement)" title="INPUT (file statement)">INPUT (file statement)</a> or <a href="/qb64wiki/index.php/INPUT$" title="INPUT$">INPUT$</a>.</span>
INPUT (file statement) -- reads a file sequentially using the variable types designated.</span>
INPUT$ -- returns a designated number of <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> bytes from the keyboard entry or a file number.</span>
INSTR -- returns the position in a text <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> where a character sequence match starts.</span>
INT -- rounds a numerical value to an <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> value by removing the decimal point fraction.</span>
INTEGER -- 2 byte whole values from -32768 to 32767.</span>
INTERRUPT -- is used to access computer interrupt registers.</span>
INTERRUPTX -- is used to access computer interrupt registers.</span>
IOCTL --
<li><a href="/qb64wiki/index.php?title=IOCTL$&amp;action=edit&amp;redlink=1" class="new" title="IOCTL$ (page does not exist)">IOCTL$</a> (function)
IOCTL$ -- </ul>
<p style="text-align: center">(<a href="#toc">Return to Table of Contents</a>)</p>
<hr />
<div id="K">K</div>
<ul><li><a href="/qb64wiki/index.php/KEY_n" title="KEY n">KEY n</a> (statement) <span style="color:#888888;">used with <a href="/qb64wiki/index.php/ON_KEY(n)" title="ON KEY(n)">ON KEY(n)</a> events to assign a "softkey" string to a key or create a  user defined key.</span>
KEY n -- used with <a href="/qb64wiki/index.php/ON_KEY(n)" title="ON KEY(n)">ON KEY(n)</a> events to assign a "softkey" string to a key or create a  user defined key.</span>
KEY(n) -- used with <a href="/qb64wiki/index.php/ON_KEY(n)" title="ON KEY(n)">ON KEY(n)</a> events to assign, enable, disable or suspend event trapping.</span>
KEY LIST -- lists the 12 Function key soft key string assignments going down left side of screen.</span>
KILL -- deletes the specified file without a warning. Remove empty folders with <a href="/qb64wiki/index.php/RMDIR" title="RMDIR">RMDIR</a>.</span>
LBOUND -- returns the lower boundary of the specified array.</span>
LCASE$ -- returns the lower case value of a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
LEFT$ -- returns the specified number of text characters from the left end of a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
LEN -- returns the length or number of characters in a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value in bytes.</span>
LET -- assigns a variable a literal value. Not required.</span>
LINE -- creates a graphic line or box on the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
LINE INPUT -- user input can be any text character including commas and quotes as a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value only.</span>
LINE INPUT (file statement) -- returns an entire text file line and returns it as a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> value.</span>
LIST -- displays the current <a href="/qb64wiki/index.php/ON_KEY(n)" title="ON KEY(n)">ON KEY(n)</a> function key (F1 to F10) "soft key" settings.</span>
LOC -- returns the present file byte position or number of bytes in the <a href="/qb64wiki/index.php/OPEN_COM" title="OPEN COM">OPEN COM</a> buffer.</span>
LOCATE -- sets the text cursor's row and column position for a <a href="/qb64wiki/index.php/PRINT" title="PRINT">PRINT</a> or <a href="/qb64wiki/index.php/INPUT" title="INPUT">INPUT</a> statement.</span>
LOCK -- restricts access to portions or all of a file by other programs or processes.</span>
LOF -- returns the size of an <a href="/qb64wiki/index.php/OPEN" title="OPEN">OPEN</a> file in bytes.</span>
LOG -- returns the natural logarithm of a specified numerical value</span>
LONG -- 4 byte whole values from -2147483648 to 2147483647.</span>
LOOP -- bottom end of a recursive DO loop.</span>
LPOS -- returns the printer head position.</span>
LPRINT -- sends <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> data to the default LPT or USB printer.</span>
LPRINT USING -- sends template formatted text to the default LPT or USB  printer.</span>
LSET -- left justifies the text in a string so that there are no leading spaces.</span>
LTRIM$ -- returns a <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> value with no leading spaces.</span>
MID$ -- returns a designated portion of a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
MID$ (statement) -- redefines existing characters in a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
MKD$ -- returns an 8 byte <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> representation of a <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> numerical value.</span>
MKDIR -- creates a new folder in the current or designated program path.</span>
MKDMBF$ -- returns an 8 byte Microsoft Binary Format <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> representation of a <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> numerical value.</span>
MKI$ -- returns a 2 byte <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> representation of an <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a>.</span>
MKL$ -- returns a 4 byte <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> representation of a <a href="/qb64wiki/index.php/LONG" title="LONG">LONG</a> numerical value.</span>
MKS$ -- returns a 4 byte <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> representation of a <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> numerical value.</span>
MKSMBF$ -- returns an 8 byte Microsoft Binary Format <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> representation of a <a href="/qb64wiki/index.php/DOUBLE" title="DOUBLE">DOUBLE</a> numerical value.</span>
MOD -- performs integer remainder division on a numerical value.</span>
NAME -- names an existing file name <a href="/qb64wiki/index.php/AS" title="AS">AS</a> a new file name.</span>
NEXT -- bottom end of a <a href="/qb64wiki/index.php/FOR...NEXT" title="FOR...NEXT">FOR...NEXT</a> counter loop to returns to the start or a <a href="/qb64wiki/index.php/RESUME" title="RESUME">RESUME NEXT</a> error.</span>
NOT -- inverts the value of a logic operation or returns True when a <a href="/qb64wiki/index.php/Boolean" title="Boolean">boolean</a> evaluation is False.</span>
OCT$ -- returns the octal (base 8) <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> representation of the <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> part of any value.</span>
OFF -- turns off all <a href="/qb64wiki/index.php/ON" title="ON">ON</a> event checking.</span>
ON COM(n) -- sets up a COM port event procedure call.</span>
ON ERROR -- sets up and activates an error event checking procedure call. Use to avoid program errors.</span>
ON KEY(n) -- sets up a keyboard key entry event procedure.</span>
ON PEN -- sets up a pen event procedure call.</span>
ON PLAY(n) -- sets up a <a href="/qb64wiki/index.php/PLAY" title="PLAY">PLAY</a> event procedure call.</span>
ON STRIG(n) -- sets up a joystick button event procedure call.</span>
ON TIMER(n) -- sets up a timed event procedure call.</span>
ON UEVENT -- <span style="color:#888888;">Not implemented in QB64.</span></b>
ON...GOSUB -- sets up a numerical event procedure call.</span>
ON...GOTO -- sets up a numerical event procedure call.</span>
OPEN -- opens a file name for an access mode with a specific file number.</span>
OPEN COM -- opens a serial communication port for access at a certain speed and mode.</span>
OPTION BASE -- can set the lower boundary of all arrays to 1.</span>
OR -- is used to compare two numerical values bitwise.</span>
OR (boolean) --  conditonal operator is used to include an alternative evaluation in an <a href="/qb64wiki/index.php/IF...THEN" title="IF...THEN">IF...THEN</a> or <a href="/qb64wiki/index.php/Boolean" title="Boolean">Boolean</a> statement.</span>
OUT -- writes numerical data to a specified register port.</span>
OUTPUT -- creates a new file or clears all data from an existing file to acess the file sequencially.</span>
PAINT -- fills an enclosed area of a graphics <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen</a> with a color until it encounters a specific colored border.</span>
PALETTE -- sets the Red, Green and Blue color attribute intensities using a RGB multiplier calculation.</span>
PALETTE USING -- sets the color intensity settings using a designated <a href="/qb64wiki/index.php/Arrays" title="Arrays">array</a>.</span>
PCOPY -- swaps two designated memory page images when page swapping is enabled in the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a> statement.</span>
PEEK -- returns a numerical value from a specified segment address in memory.</span>
PEN -- returns requested information about the lightpen device used.</span>
PEN (statement) -- enables/disables or suspends event trapping of a lightpen device.</span>
PLAY(n) -- returns the number of notes currently in the background music queue.</span>
PLAY -- uses a special <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> format that can produce musical tones and effects.</span>
PMAP -- returns the physical or WINDOW view graphic coordinates.</span>
POINT -- returns the color attribute number or 32 bit <a href="/qb64wiki/index.php/RGB32" title="RGB32">_RGB32</a> value.</span>
POKE -- writes a numerical value to a specified segment address in memory.</span>
POS -- returns the current text column position of the text cursor.</span>
PRESET -- sets a pixel coordinate to the background color unless one is specified.</span>
PRINT -- prints text <a href="/qb64wiki/index.php/STRING" title="STRING">strings</a> or numerical values to the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
PRINT (file statement) -- prints text <a href="/qb64wiki/index.php/STRING" title="STRING">strings</a> or numerical values to a file.</span>
PRINT USING -- prints a template formatted <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> to the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
PRINT USING (file statement) -- prints a template formatted <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> to a file.</span>
PSET -- sets a pixel coordinate to the current color unless a color is designated.</span>
PUT -- writes data sequencially or to a designated position using a variable value.</span>
PUT (QB64 TCP/IP statement) -- sends raw data to a user's connection handle.</span>
PUT (graphics statement) -- places pixel data stored in an <a href="/qb64wiki/index.php/INTEGER" title="INTEGER">INTEGER</a> array to a specified area of the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
RANDOM -- creates a file or opens an existing file to <a href="/qb64wiki/index.php/GET" title="GET">read</a> and <a href="/qb64wiki/index.php/PUT" title="PUT">write</a> records of a set byte size.</span>
RANDOMIZE -- sets the random seed value for a specific sequence of random <a href="/qb64wiki/index.php/RND" title="RND">RND</a> values.</span>
RANDOMIZE USING (QB64 statement) -- restarts the designated seed value's random sequence of values from the beginning.</span>
READ -- reads values from a <a href="/qb64wiki/index.php/DATA" title="DATA">DATA</a> field. <a href="/qb64wiki/index.php/ACCESS" title="ACCESS">ACCESS</a> READ is used with the <a href="/qb64wiki/index.php/OPEN" title="OPEN">OPEN</a> statement.</span>
REDIM -- creates a new <a href="/qb64wiki/index.php/$DYNAMIC" title="$DYNAMIC">dynamic</a> array or resizes one without losing data when <a href="/qb64wiki/index.php/PRESERVE" title="PRESERVE">_PRESERVE</a> is used.</span>
REM -- or an apostrophe tells the program to ignore statements following it on the same line.</span>
RESET --  closes all files and writes the directory information to a diskette before it is removed from a disk drive.</span>
RESTORE -- resets the <a href="/qb64wiki/index.php/DATA" title="DATA">DATA</a> pointer to the start of a designated field of data.</span>
RESUME -- an <a href="/qb64wiki/index.php/ERROR_Codes" title="ERROR Codes">error</a> handling procedure exit that can send the program to a line number or the <a href="/qb64wiki/index.php/NEXT" title="NEXT">NEXT</a> code line.</span>
RETURN -- returns the program to the code immediately following a <a href="/qb64wiki/index.php/GOSUB" title="GOSUB">GOSUB</a> call.</span>
RIGHT$ -- returns a specific number of text characters from the right end of a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
RMDIR -- removes an empty folder from the current path or the one designated.</span>
RND -- returns a random number value from 0 to .9999999.</span>
RSET -- right justifies a string value so that any end spaces are moved to the beginning.</span>
RTRIM$ -- returns a <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> with all spaces removed from the right end.</span>
RUN -- clears and restarts the program currently in memory or executes another specified program.</span>
SADD -- returns the address of a STRING variable as an offset from the current data segment.</span>
SCREEN (function) -- can return the <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> character code or color of the text at a text designated coordinate.</span>
SCREEN -- sets the display mode and size of the program window.</span>
SEEK -- returns the present byte position in an <a href="/qb64wiki/index.php/OPEN" title="OPEN">opened</a> file.</span>
SEEK (statement) -- moves to a specified position in an <a href="/qb64wiki/index.php/OPEN" title="OPEN">opened</a> file.</span>
SELECT CASE -- a program flow block that can handle numerous conditional evaluations.</span>
SETMEM -- sets the memory to use.</span>
SGN -- returns -1 for negative, 0 for zero, and 1 for positive numerical values.</span>
SHARED -- designates that a variable can be used by other procedures or the main procedure when in a sub-procedure.</span>
SHELL -- sends <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> commands to the command line. SHELL calls will not affect the current path.</span>
SHELL (QB64 function) -- executes an external command or calls another program. Returns codes sent by <a href="/qb64wiki/index.php/END" title="END">END</a> or <a href="/qb64wiki/index.php/SYSTEM" title="SYSTEM">SYSTEM</a>.</span>
SIGNAL --
<li><a href="/qb64wiki/index.php/SIN" title="SIN">SIN</a> (function) <span style="color:#888888;">returns the sine of a radian angle.</span>
SIN -- returns the sine of a radian angle.</span>
SINGLE -- 4 byte floating decimal point values up to 7 decimal places.</span>
SLEEP -- pauses the program for a designated number of seconds or until a key is pressed.</span>
SOUND -- creates a sound of a specified frequency and duration.</span>
SPACE$ -- returns a designated number of spaces to a <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
SPC -- moves the text cursor a number of spaces on the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a>.</span>
SQR -- returns the square root of a non-negative number.</span>
STATIC -- creates a <a href="/qb64wiki/index.php/SUB" title="SUB">SUB</a> or <a href="/qb64wiki/index.php/FUNCTION" title="FUNCTION">FUNCTION</a> variable that retains its value.</span>
$STATIC -- Metacommand</a>) <span style="color:#888888;">used at the start of a program to set all program arrays as unchangeable in size using <a href="/qb64wiki/index.php/DIM" title="DIM">DIM</a>.</span>
STEP -- move relatively from one graphic position or change the counting increment in a <a href="/qb64wiki/index.php/FOR...NEXT" title="FOR...NEXT">FOR...NEXT</a> loop.</span>
STICK -- returns the present joystick position.</span>
STOP -- stops a program when troubleshooting or stops an <a href="/qb64wiki/index.php/ON" title="ON">ON</a> event.</span>
STR$ -- returns a <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> value of a number with a leading space when it is positive.</span>
STRIG -- returns the joystick button press values when read.</span>
STRIG(n) --
<li><a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> ($ variable type) <span style="color:#888888;">one byte text variable with <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> code values from 0 to 255.</span>
STRING -- one byte text variable with <a href="/qb64wiki/index.php/ASCII" title="ASCII">ASCII</a> code values from 0 to 255.</span>
STRING$ -- returns a designated number of string characters.</span>
SUB -- sub-procedure that can calculate and return multiple parameter values.</span>
SWAP -- swaps two <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> or numerical values.</span>
SYSTEM -- ends a program immediately.</span>
TAB -- moves a designated number of columns on the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen</a>.</span>
TAN -- returns the ratio of <a href="/qb64wiki/index.php/SIN" title="SIN">SINe</a> to <a href="/qb64wiki/index.php/COS" title="COS">COSine</a> or tangent value of an angle measured in radians.</span>
THEN -- IF...THEN</a> keyword) <span style="color:#888888;">must be used in a one line <a href="/qb64wiki/index.php/IF...THEN" title="IF...THEN">IF...THEN</a> program flow statement.</span>
TIME$ -- returns the present time setting of the Operating System as a  format hh:mmConfuseds <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
TIMER -- returns the number of seconds since midnight as a <a href="/qb64wiki/index.php/SINGLE" title="SINGLE">SINGLE</a> value.</span>
TIMER (statement) -- events based on the designated time interval and timer number.</span>
TO -- indicates a range of numerical values or an assignment of one value to another.</span>
TYPE -- defines a variable type or file record that can include any <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a> or numerical types.</span>
UBOUND -- returns the upper-most index number of a designated <a href="/qb64wiki/index.php/Arrays" title="Arrays">array</a>.</span>
UCASE$ -- returns an uppercase representation of a specified <a href="/qb64wiki/index.php/STRING" title="STRING">STRING</a>.</span>
UEVENT -- <span style="color:#888888;">Not implemented in QB64.</span></b>
UNLOCK -- unlocks a designated file or portions of it.</span>
UNTIL -- evaluates a <a href="/qb64wiki/index.php/DO...LOOP" title="DO...LOOP">DO...LOOP</a> condition until it is True.</span>
VAL -- returns the numerical value of a <a href="/qb64wiki/index.php/STRING" title="STRING">string</a> number.</span>
VARPTR -- returns the <a href="/qb64wiki/index.php/Segment" title="Segment">segment</a> pointer address in memory.</span>
VARPTR$ -- returns the string value of a numerical value in memory.</span>
VARSEG -- returns the <a href="/qb64wiki/index.php/Segment" title="Segment">segment</a> address of a value in memory.</span>
VIEW -- sets up a graphic view port area of the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen</a>.</span>
VIEW PRINT -- sets up a text viewport area of the <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen</a>.</span>
WAIT -- waits until a vertical retrace is started or a <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">screen</a> draw ends.</span>
WEND -- the bottom end of a <a href="/qb64wiki/index.php/WHILE...WEND" title="WHILE...WEND">WHILE...WEND</a> loop.</span>
WHILE -- evaluates a <a href="/qb64wiki/index.php/DO...LOOP" title="DO...LOOP">DO...LOOP</a> or <a href="/qb64wiki/index.php/WHILE...WEND" title="WHILE...WEND">WHILE...WEND</a> condition until it is False.</span>
WHILE...WEND -- sets a recursive procedure loop that can only be exited using the <a href="/qb64wiki/index.php/WHILE" class="mw-redirect" title="WHILE">WHILE</a> conditional argument.</span>
WIDTH -- sets the text column and row sizes in several <a href="/qb64wiki/index.php/SCREEN" title="SCREEN">SCREEN</a> modes.</span>
WINDOW -- maps a window size different from the program's window size.</span>
WRITE -- prints variable values to the screen with commas separating each value.</span>
WRITE (file statement) -- writes data to a file with each variable value separated by commas.</span>
XOR -- is used to compare two numerical values bitwise.</span>
SUB _GL -- </ul>
<p><br />
</p>
<hr />
<div id="glA">_glA</div>
<ul><li><a href="/qb64wiki/index.php/GlAccum" title="GlAccum">_glAccum</a> (statement) <span style="color:#888888;">operates on the accumulation buffer</span>


It should probably be parsed a little better and cleaned up more, but it gives a quick working list of keywords and a minimal description of what they do for us, for quick reference.  Smile
Reply


Messages In This Thread
Command list - by vinceg2022 - 07-19-2022, 06:24 AM
RE: Command list - by RhoSigma - 07-19-2022, 06:51 AM
RE: Command list - by vinceg2022 - 07-19-2022, 08:08 AM
RE: Command list - by RhoSigma - 07-19-2022, 09:38 AM
RE: Command list - by PhilOfPerth - 07-19-2022, 11:49 PM
RE: Command list - by SMcNeill - 07-20-2022, 12:41 AM
RE: Command list - by SMcNeill - 07-20-2022, 12:53 AM
RE: Command list - by JRace - 07-21-2022, 04:34 PM
RE: Command list - by RhoSigma - 07-21-2022, 05:47 PM
RE: Command list - by JRace - 07-21-2022, 07:11 PM
RE: Command list - by SMcNeill - 07-21-2022, 11:26 PM
RE: Command list - by bplus - 07-21-2022, 11:32 PM
RE: Command list - by vinceg2022 - 07-25-2022, 08:07 PM
RE: Command list - by SierraKen - 07-25-2022, 08:22 PM



Users browsing this thread: 12 Guest(s)