Keyword Reference - Alphabetical: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
(44 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
<p style="text-align:center">'''Alphabetical Keyword Listings'''<br><br>'''[[#QB64_specific_keywords|QB64:]]'''   [[#A_(QB64)|A]]   [[#B_(QB64)|B]]   [[#C_(QB64)|C]]   [[#D_(QB64)|D]]   [[#E_(QB64)|E]]   [[#F_(QB64)|F]]   [[#G_(QB64)|G]]   [[#H_(QB64)|H]]   [[#I_(QB64)|I]]   [[#K_(QB64)|K]]   [[#L_(QB64)|L]]   [[#M_(QB64)|M]]   [[#N_(QB64)|N]]   [[#O_(QB64)|O]]   [[#P_(QB64)|P]]   [[#R_(QB64)|R]]   [[#S_(QB64)|S]]   [[#T_(QB64)|T]]   [[#U_(QB64)|U]]   [[#V_(QB64)|V]]   [[#W_(QB64)|W]]<br><br>'''[[#Original_QBasic_keywords|QBasic:]]'''   [[#A_(QBasic)|A]]   [[#B_(QBasic)|B]]   [[#C_(QBasic)|C]]   [[#D_(QBasic)|D]]   [[#E_(QBasic)|E]]   [[#F_(QBasic)|F]]   [[#G_(QBasic)|G]]   [[#H_(QBasic)|H]]   [[#I_(QBasic)|I]]   [[#K_(QBasic)|K]]   [[#L_(QBasic)|L]]   [[#M_(QBasic)|M]]   [[#N_(QBasic)|N]]   [[#O_(QBasic)|O]]   [[#P_(QBasic)|P]]   [[#R_(QBasic)|R]]   [[#S_(QBasic)|S]]   [[#T_(QBasic)|T]]   [[#U_(QBasic)|U]]   [[#V_(QBasic)|V]]   [[#W_(QBasic)|W]]   [[#X_(QBasic)|X]]<br><br>'''[[#QB64_OpenGL_keywords|OpenGL:]]'''   [[#glA_(OpenGL)|A]]   [[#glB_(OpenGL)|B]]   [[#glC_(OpenGL)|C]]   [[#glD_(OpenGL)|D]]   [[#glE_(OpenGL)|E]]   [[#glF_(OpenGL)|F]]   [[#glG_(OpenGL)|G]]   [[#glH_(OpenGL)|H]]   [[#glI_(OpenGL)|I]]   [[#glL_(OpenGL)|L]]   [[#glM_(OpenGL)|M]]   [[#glN_(OpenGL)|N]]   [[#glO_(OpenGL)|O]]   [[#glP_(OpenGL)|P]]   [[#glR_(OpenGL)|R]]   [[#glS_(OpenGL)|S]]   [[#glT_(OpenGL)|T]]   [[#glV_(OpenGL)|V]]<br><br>[[Keyword Reference - Alphabetical#Symbols|Symbols]]   '''-'''   [[Keyword Reference - Alphabetical#QB64_Programming_References|References]]<br><br><hr></p>
<p style="text-align:center" id="toc">'''Alphabetical Keyword Listings'''<br><br>'''[[#QB64_specific_keywords|QB64:]]'''   [[#A_(QB64)|A]]  [[#B_(QB64)|B]]  [[#C_(QB64)|C]]  [[#D_(QB64)|D]]  [[#E_(QB64)|E]]  [[#F_(QB64)|F]]  [[#G_(QB64)|G]]  [[#H_(QB64)|H]]  [[#I_(QB64)|I]]  [[#K_(QB64)|K]]  [[#L_(QB64)|L]]  [[#M_(QB64)|M]]  [[#N_(QB64)|N]]  [[#O_(QB64)|O]]  [[#P_(QB64)|P]]  [[#R_(QB64)|R]]  [[#S_(QB64)|S]]  [[#T_(QB64)|T]]  [[#U_(QB64)|U]]  [[#V_(QB64)|V]]  [[#W_(QB64)|W]]<br><br>'''[[#Original_QBasic_keywords|QBasic:]]'''   [[#A_(QBasic)|A]]  [[#B_(QBasic)|B]]  [[#C_(QBasic)|C]]  [[#D_(QBasic)|D]]  [[#E_(QBasic)|E]]  [[#F_(QBasic)|F]]  [[#G_(QBasic)|G]]  [[#H_(QBasic)|H]]  [[#I_(QBasic)|I]]  [[#K_(QBasic)|K]]  [[#L_(QBasic)|L]]  [[#M_(QBasic)|M]]  [[#N_(QBasic)|N]]  [[#O_(QBasic)|O]]  [[#P_(QBasic)|P]]  [[#R_(QBasic)|R]]  [[#S_(QBasic)|S]]  [[#T_(QBasic)|T]]  [[#U_(QBasic)|U]]  [[#V_(QBasic)|V]]  [[#W_(QBasic)|W]]  [[#X_(QBasic)|X]]<br><br>'''[[#QB64_OpenGL_keywords|OpenGL:]]'''   [[#glA_(OpenGL)|A]]  [[#glB_(OpenGL)|B]]  [[#glC_(OpenGL)|C]]  [[#glD_(OpenGL)|D]]  [[#glE_(OpenGL)|E]]  [[#glF_(OpenGL)|F]]  [[#glG_(OpenGL)|G]]  [[#glH_(OpenGL)|H]]  [[#glI_(OpenGL)|I]]  [[#glL_(OpenGL)|L]]  [[#glM_(OpenGL)|M]]  [[#glN_(OpenGL)|N]]  [[#glO_(OpenGL)|O]]  [[#glP_(OpenGL)|P]]  [[#glR_(OpenGL)|R]]  [[#glS_(OpenGL)|S]]  [[#glT_(OpenGL)|T]]  [[#glV_(OpenGL)|V]]<br><br>[[Keyword Reference - Alphabetical#Symbols|Symbols]]   '''-'''   [[Keyword Reference - Alphabetical#QB64_Programming_References|References]]   '''-'''   [[Historic Pages|Historic]]</p>
 
 
----




<center>[[Main Page|Main Page with Articles and Tutorials]]</center>
<center>[[Main Page|Main Page with Articles and Tutorials]]</center>
<center>[[Metacommand|Metacommands overview]]</center>


<center>[[Keyword Reference - By usage|Keywords by Usage]]</center>
<center>[[Keyword Reference - By usage|Keywords by Usage]]</center>


<center>Keywords beginning with underscores are QB64 specific. '''To use them without the prefix, use [[$NOPREFIX]].'''</center>
<center>Keywords beginning with underscores are QB64 specific.</center>


<center>Keywords without the underscore at the beginning should work with both QB 4.5 and QB64.</center>
<center>Keywords without the underscore at the beginning should work with both QB 4.5 and QB64.</center>
Line 22: Line 27:
== QB64 specific keywords ==
== QB64 specific keywords ==
<center>'''All QB64 specific keywords must use the underscore prefix as listed below.'''</center>
<center>'''All QB64 specific keywords must use the underscore prefix as listed below.'''</center>
<center>Use [[$NOPREFIX]] to enable these to be used without the leading underscore.</center>


----
----


==== _A (QB64) ====
==== _A (QB64) ====
* [[_ACCEPTFILEDROP]] (statement) {{text|turns a program window into a valid drop destination for dragging files from Windows Explorer.}}
* [[_ACCEPTFILEDROP]] (statement) {{Text|turns a program window into a valid drop destination for dragging files from Windows Explorer.}}
* [[_ACOS]] (function) {{text|arccosine function returns the angle in radians based on an input [[COS]]ine value range from -1 to 1.}}
* [[_ACOS]] (function) {{Text|arccosine function returns the angle in radians based on an input [[COS]]ine value range from -1 to 1.}}
* [[_ACOSH]] (function) {{text|Returns the nonnegative arc hyperbolic cosine of x, expressed in radians.}}
* [[_ACOSH]] (function) {{Text|Returns the nonnegative arc hyperbolic cosine of x, expressed in radians.}}
* [[_ALLOWFULLSCREEN]] (statement) {{text|allows setting the behavior of the ALT+ENTER combo.}}
* [[_ADLER32]] (function) {{Text|Returns the Adler-32 checksum of any arbitrary string.}}
* [[_ALPHA]] (function) {{text|returns the alpha channel transparency level of a color value used on a screen page or image.}}
* [[_ALLOWFULLSCREEN]] (statement) {{Text|allows setting the behavior of the ALT+ENTER combo.}}
* [[_ALPHA32]] (function) {{text|returns the alpha channel transparency level of a color value used on a 32 bit screen page or image.}}
* [[_ALPHA]] (function) {{Text|returns the alpha channel transparency level of a color value used on a screen page or image.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_ARCCOT]] (function) {{text|is the inverse function of the cotangent.}}
* [[_ALPHA32]] (function) {{Text|returns the alpha channel transparency level of a color value used on a 32 bit screen page or image.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_ARCCSC]] (function) {{text|is the inverse function of the cosecant.}}
* [[_ANDALSO]] (logical operator) {{Text|performs short-circuiting logical conjunction on two expressions.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_ARCSEC]] (function) {{text|is the inverse function of the secant.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_ARCCOT]] (function) {{Text|is the inverse function of the cotangent.}}
* [[_ASIN]] (function) {{text|Returns the principal value of the arc sine of x, expressed in radians.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_ARCCSC]] (function) {{Text|is the inverse function of the cosecant.}}
* [[_ASINH]] (function) {{text|Returns the arc hyperbolic sine of x, expressed in radians.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_ARCSEC]] (function) {{Text|is the inverse function of the secant.}}
* [[_ASSERT]] (statement) {{text|Performs debug tests.}}
* [[_ASIN]] (function) {{Text|Returns the principal value of the arc sine of x, expressed in radians.}}
* [[$ASSERTS]] (metacommand) {{text|enables debug tests with the [[_ASSERT]] macro.}}
* [[_ASINH]] (function) {{Text|Returns the arc hyperbolic sine of x, expressed in radians.}}
* [[_ATAN2]] (function) {{text|Returns the principal value of the [[ATN|arc tangent]] of y/x, expressed in radians.}}
* [[_ASSERT]] (statement) {{Text|Performs debug tests.}}
* [[_ATANH]] (function) {{text|Returns the arc hyperbolic tangent of x, expressed in radians.}}
* [[$ASSERTS]] (metacommand) {{Text|enables debug tests with the [[_ASSERT]] macro.}}
* [[_AUTODISPLAY]] (statement) {{text|enables the automatic display of the screen image changes previously disabled by [[_DISPLAY]].}}
* [[_ATAN2]] (function) {{Text|Returns the principal value of the [[ATN|arc tangent]] of y/x, expressed in radians.}}
* [[_AUTODISPLAY (function)]] {{text|returns the current display mode as true (-1) if automatic or false (0) if per request using [[_DISPLAY]].}}
* [[_ATANH]] (function) {{Text|Returns the arc hyperbolic tangent of x, expressed in radians.}}
* [[_AXIS]] (function) {{text|returns a [[SINGLE]] value between -1 and 1 indicating the maximum distance from the device axis center, 0.}}
* [[_AUTODISPLAY]] (statement) {{Text|enables the automatic display of the screen image changes previously disabled by [[_DISPLAY]].}}
* [[_AUTODISPLAY (function)]] {{Text|returns the current display mode as true (-1) if automatic or false (0) if per request using [[_DISPLAY]].}}
* [[_AXIS]] (function) {{Text|returns a [[SINGLE]] value between -1 and 1 indicating the maximum distance from the device axis center, 0.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 51: Line 57:


==== _B (QB64) ====
==== _B (QB64) ====
* [[_BACKGROUNDCOLOR]] (function) {{text|returns the current background color for an image handle or page.}}
* [[_BACKGROUNDCOLOR]] (function) {{Text|returns the current background color for an image handle or page.}}
* [[_BIT]] (` numerical type) {{text|can return only signed values of 0 (bit off) and -1 (bit on). Unsigned 0 or 1.}}
* [[_BIT]] (` numerical type) {{Text|can return only signed values of 0 (bit off) and -1 (bit on). Unsigned 0 or 1.}}
* [[_BIN$]] (function) {{text|returns the binary (base 2) [[STRING]] representation of the [[INTEGER]] part of any value.}}
* [[_BIN$]] (function) {{Text|returns the binary (base 2) [[STRING]] representation of the [[INTEGER]] part of any value.}}
* [[_BLEND]] (statement) {{text|statement turns on 32 bit alpha blending for the current image or screen mode and is default.}}
* [[_BLEND]] (statement) {{Text|statement turns on 32 bit alpha blending for the current image or screen mode and is default.}}
* [[_BLEND (function)]] {{text|returns -1 if enabled or 0 if disabled by [[_DONTBLEND]] statement.}}
* [[_BLEND (function)]] {{Text|returns -1 if enabled or 0 if disabled by [[_DONTBLEND]] statement.}}
* [[_BLINK]] (statement) {{text|statement turns blinking colors on/off in SCREEN 0}}
* [[_BLINK]] (statement) {{Text|statement turns blinking colors on/off in SCREEN 0}}
* [[_BLINK (function)]] {{text|returns -1 if enabled or 0 if disabled by [[_BLINK]] statement.}}
* [[_BLINK (function)]] {{Text|returns -1 if enabled or 0 if disabled by [[_BLINK]] statement.}}
* [[_BLUE]] (function) {{text|function returns the palette or the blue component intensity of a 32-bit image color.}}
* [[_BLUE]] (function) {{Text|function returns the palette or the blue component intensity of a 32-bit image color.}}
* [[_BLUE32]] (function) {{text|returns the blue component intensity of a 32-bit color value.}}
* [[_BLUE32]] (function) {{Text|returns the blue component intensity of a 32-bit color value.}}
* [[_BUTTON]] (function) {{text|returns -1 when a controller device button is pressed and 0 when button is released.}}
* [[_BUTTON]] (function) {{Text|returns -1 when a controller device button is pressed and 0 when button is released.}}
* [[_BUTTONCHANGE]] (function) {{text|returns -1 when a device button has been pressed and 1 when released. Zero indicates no change.}}
* [[_BUTTONCHANGE]] (function) {{Text|returns -1 when a device button has been pressed and 1 when released. Zero indicates no change.}}
* [[_BYTE]] (%% numerical type) {{text|can hold signed values from -128 to 127 (one byte or _BIT * 8). Unsigned from 0 to 255.}}
* [[_BYTE]] (%% numerical type) {{Text|can hold signed values from -128 to 127 (one byte or _BIT * 8). Unsigned from 0 to 255.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 69: Line 75:


==== _C (QB64) ====
==== _C (QB64) ====
* [[_CAPSLOCK (function)]] {{text|returns -1 when Caps Lock is on}}
* [[_CAPSLOCK (function)]] {{Text|returns -1 when Caps Lock is on}}
* [[_CAPSLOCK]] (statement) {{text|sets Caps Lock key state}}
* [[_CAPSLOCK]] (statement) {{Text|sets Caps Lock key state}}
* [[$CHECKING]] (QB64 C++ [[Metacommand]]) {{text|turns event and error checking OFF or ON.}}
* [[$CHECKING]] (metacommand) {{Text|turns event and error checking OFF or ON.}}
* [[_CEIL]] (function) {{text|Rounds x upward, returning the smallest integral value that is not less than x.}}
* [[_CEIL]] (function) {{Text|Rounds x upward, returning the smallest integral value that is not less than x.}}
* [[_CINP]] (function) {{text|Returns a key code from $CONSOLE input}}
* [[_CINP]] (function) {{Text|Returns a key code from $CONSOLE input}}
* [[_CLEARCOLOR (function)]] {{text|returns the current transparent color of an image.}}
* [[_CLEARCOLOR (function)]] {{Text|returns the current transparent color of an image.}}
* [[_CLEARCOLOR]] (statement) {{text|sets a specific color index of an image to be transparent}}
* [[_CLEARCOLOR]] (statement) {{Text|sets a specific color index of an image to be transparent}}
* [[_CLIP]] ([[PUT (graphics statement)|PUT]] graphics option) {{text|allows placement of an image partially off of the screen.}}
* [[_CLIP]] ([[PUT (graphics statement)|PUT]] graphics option) {{Text|allows placement of an image partially off of the screen.}}
* [[_CLIPBOARD$]] (function) {{text|returns the operating system's clipboard contents as a [[STRING]].}}
* [[_CLIPBOARD$ (function)]] {{Text|returns the operating system's clipboard contents as a [[STRING]].}}
* [[_CLIPBOARD$ (statement)]] {{text|sets and overwrites the [[STRING]] value in the operating system's clipboard.}}
* [[_CLIPBOARD$]] (statement) {{Text|sets and overwrites the [[STRING]] value in the operating system's clipboard.}}
* [[_CLIPBOARDIMAGE (function)]] {{text|pastes an image from the clipboard into a new QB64 image in memory.}}
* [[_CLIPBOARDIMAGE (function)]] {{Text|pastes an image from the clipboard into a new QB64 image in memory.}}
* [[_CLIPBOARDIMAGE]] {{text|(statement) copies a valid QB64 image to the clipboard.}}
* [[_CLIPBOARDIMAGE]] {{Text|(statement) copies a valid QB64 image to the clipboard.}}
* [[$COLOR]] (metacommand) {{text|includes named color constants in a program.}}
* [[$COLOR]] (metacommand) {{Text|includes named color constants in a program.}}
* [[_COLORCHOOSERDIALOG]] (function) {{text|Displays a standard color picker dialog box and returns a 32-bit RGBA color selected by the user.}}
* [[_COLORCHOOSERDIALOG]] (function) {{Text|Displays a standard color picker dialog box and returns a 32-bit RGBA color selected by the user.}}
* [[_COMMANDCOUNT]] (function) {{text|returns the number of arguments passed to the compiled program from the command line.}}
* [[_COMMANDCOUNT]] (function) {{Text|returns the number of arguments passed to the compiled program from the command line.}}
* [[_CONNECTED]] (function) {{text|returns the status of a TCP/IP connection handle.}}
* [[_CONNECTED]] (function) {{Text|returns the status of a TCP/IP connection handle.}}
* [[_CONNECTIONADDRESS$]] (TCP/IP function) {{text|returns a connected user's STRING IP address value using the handle.}}
* [[_CONNECTIONADDRESS$]] (TCP/IP function) {{Text|returns a connected user's STRING IP address value using the handle.}}
* [[$CONSOLE]] (QB64 [[Metacommand]]) {{text|creates a console window that can be used throughout a program.}}
* [[$CONSOLE]] (metacommand) {{Text|creates a console window that can be used throughout a program.}}
* [[_CONSOLE]] (statement) {{text|used to turn a console window OFF or ON or to designate [[_DEST]] _CONSOLE for output.}}
* [[_CONSOLE]] (statement) {{Text|used to turn a console window OFF or ON or to designate [[_DEST]] _CONSOLE for output.}}
* [[_CONSOLEINPUT]] (function) {{text|fetches input data from a [[$CONSOLE]] window to be read later (both mouse and keyboard)}}
* [[_CONSOLEINPUT]] (function) {{Text|fetches input data from a [[$CONSOLE]] window to be read later (both mouse and keyboard)}}
* [[_CONSOLETITLE]] (statement) {{text|creates the title of the console window using a literal or variable [[STRING|string]].}}
* [[_CONSOLECURSOR]] (statement) {{Text|is used to switch the text cursor in [[Console Window]]s off/on or change its size.}}
* [[_CONTINUE]] (statement) {{text|skips the remaining lines in a control block (DO/LOOP, FOR/NEXT or WHILE/WEND)}}
* [[_CONSOLEFONT]] (statement) {{Text|is used to change the text font used in [[Console Window]]s or change its size.}}
* [[_CONTROLCHR]] (statement) {{text|[[OFF]] allows the control characters to be used as text characters. [[ON]] (default) can use them as commands.}}
* [[_CONSOLETITLE]] (statement) {{Text|creates the title of the console window using a literal or variable [[STRING|string]].}}
* [[_CONTROLCHR (function)]]  {{text| returns the current state of _CONTROLCHR as 1 when OFF and 0 when ON.}}
* [[_CONTINUE]] (statement) {{Text|skips the remaining lines in a control block (DO/LOOP, FOR/NEXT or WHILE/WEND)}}
* [[_COPYIMAGE]] (function) {{text|copies an image handle value to a new designated handle.}}
* [[_CONTROLCHR]] (statement) {{Text|[[OFF]] allows the control characters to be used as text characters. [[ON]] (default) can use them as commands.}}
* [[_COPYPALETTE]] (statement) {{text|copies the color palette intensities from one 4 or 8 BPP image to another image.}}
* [[_CONTROLCHR (function)]]  {{Text| returns the current state of _CONTROLCHR as 1 when OFF and 0 when ON.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_COT]] (function) {{text|the mathematical function cotangent defined by 1/TAN.}}
* [[_COPYIMAGE]] (function) {{Text|copies an image handle value to a new designated handle.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_COTH]] (function) {{text|Returns the hyperbolic cotangent.}}
* [[_COPYPALETTE]] (statement) {{Text|copies the color palette intensities from one 4 or 8 BPP image to another image.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_COSH]] (function) {{text|Returns the hyperbolic cosine of x radians.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_COT]] (function) {{Text|the mathematical function cotangent defined by 1/TAN.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_CSC]] (function) {{text|the mathematical function cosecant defined by 1/SIN.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_COTH]] (function) {{Text|Returns the hyperbolic cotangent.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_CSCH]] (function) {{text|Returns the hyperbolic cosecant.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_COSH]] (function) {{Text|Returns the hyperbolic cosine of x radians.}}
* [[_CV]] (function) {{text|converts any [[_MK$]] [[STRING]] value to the designated numerical type value.}}
* [[_CRC32]] (function) {{Text|Returns the Crc-32 checksum of any arbitrary string.}}
* [[_CWD$]] (function) {{text|returns the current working directory  as a [[STRING]] value.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_CSC]] (function) {{Text|the mathematical function cosecant defined by 1/SIN.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_CSCH]] (function) {{Text|Returns the hyperbolic cosecant.}}
* [[_CV]] (function) {{Text|converts any [[_MK$]] [[STRING]] value to the designated numerical type value.}}
* [[_CWD$]] (function) {{Text|returns the current working directory  as a [[STRING]] value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 108: Line 117:


==== _D (QB64) ====
==== _D (QB64) ====
* [[_D2G]] (function) {{text|converts degrees to gradient angle values.}}
* [[_D2G]] (function) {{Text|converts degrees to gradient angle values.}}
* [[_D2R]] (function) {{text|converts degrees to radian angle values.}}
* [[_D2R]] (function) {{Text|converts degrees to radian angle values.}}
* [[$DEBUG]] (metacommand) {{text|enables debugging features, allowing you to step through your code line by line.}}
* [[$DEBUG]] (metacommand) {{Text|enables debugging features, allowing you to step through your code line by line.}}
* [[_DEFAULTCOLOR]] (function) {{text|returns the current default (text/drawing) color for an image handle or page.}}
* [[_DEFAULTCOLOR]] (function) {{Text|returns the current default (text/drawing) color for an image handle or page.}}
* [[_DEFINE]] (statement) {{text|defines a range of variable names according to their first character as a data type.}}
* [[_DEFINE]] (statement) {{Text|defines a range of variable names according to their first character as a data type.}}
* [[_DEFLATE$]] (function) {{text|compresses a string}}
* [[_DEFLATE$]] (function) {{Text|compresses a string}}
* [[_DELAY]] (statement) {{text|suspends program execution for a [[SINGLE]] number of seconds.}}
* [[_DELAY]] (statement) {{Text|suspends program execution for a [[SINGLE]] number of seconds.}}
* [[_DEPTHBUFFER]] (statement) {{text|enables, disables, locks or clears depth buffering.}}
* [[_DEPTHBUFFER]] (statement) {{Text|enables, disables, locks or clears depth buffering.}}
* [[_DESKTOPHEIGHT]] (function) {{text|returns the height of the desktop (not program window).}}
* [[_DESKTOPHEIGHT]] (function) {{Text|returns the height of the desktop (not program window).}}
* [[_DESKTOPWIDTH]] (function) {{text|returns the width of the desktop (not program window).}}
* [[_DESKTOPWIDTH]] (function) {{Text|returns the width of the desktop (not program window).}}
* [[_DEST]] (statement) {{text|sets the current write image or [[SCREEN]] page destination for prints or graphics.}}
* [[_DEST]] (statement) {{Text|sets the current write image or [[SCREEN]] page destination for prints or graphics.}}
* [[_DEST (function)]] {{text|returns the current destination screen page or image handle value.}}
* [[_DEST (function)]] {{Text|returns the current destination screen page or image handle value.}}
* [[_DEVICE$]] (function) {{text|returns a [[STRING]] expression listing a designated numbered input device name and types of input.}}
* [[_DEVICE$]] (function) {{Text|returns a [[STRING]] expression listing a designated numbered input device name and types of input.}}
* [[_DEVICEINPUT]] (function) {{text|returns the [[_DEVICES]] number of an [[_AXIS]], [[_BUTTON]] or [[_WHEEL]] event.}}
* [[_DEVICEINPUT]] (function) {{Text|returns the [[_DEVICES]] number of an [[_AXIS]], [[_BUTTON]] or [[_WHEEL]] event.}}
* [[_DEVICES]] (function) {{text|returns the number of input devices found on a computer system including the keyboard and mouse.}}
* [[_DEVICES]] (function) {{Text|returns the number of input devices found on a computer system including the keyboard and mouse.}}
* [[_DIR$]] (function) {{text|returns common paths in Windows only, like My Documents, My Pictures, My Music, Desktop.}}
* [[_DIR$]] (function) {{Text|returns common paths in Windows only, like My Documents, My Pictures, My Music, Desktop.}}
* [[_DIREXISTS]] (function) {{text|returns -1 if the Directory folder name [[STRING|string]] parameter exists. Zero if it does not.}}
* [[_DIREXISTS]] (function) {{Text|returns -1 if the Directory folder name [[STRING|string]] parameter exists. Zero if it does not.}}
* [[_DISPLAY]] (statement) {{text|turns off the [[_AUTODISPLAY|automatic display]] while only displaying the screen changes when called.}}
* [[_DISPLAY]] (statement) {{Text|turns off the [[_AUTODISPLAY|automatic display]] while only displaying the screen changes when called.}}
* [[_DISPLAY (function)]] {{text|returns the handle of the current image that is displayed on the screen.}}
* [[_DISPLAY (function)]] {{Text|returns the handle of the current image that is displayed on the screen.}}
* [[_DISPLAYORDER]] (statement) {{text|designates the order to render software, hardware and custom-opengl-code.}}
* [[_DISPLAYORDER]] (statement) {{Text|designates the order to render software, hardware and custom-opengl-code.}}
* [[_DONTBLEND]] (statement) {{text|statement turns off default [[_BLEND]] 32 bit [[_ALPHA|alpha]] blending for the current image or screen.}}
* [[_DONTBLEND]] (statement) {{Text|statement turns off default [[_BLEND]] 32 bit [[_ALPHA|alpha]] blending for the current image or screen.}}
* [[_DONTWAIT]] ([[SHELL]] action) {{text|specifies that the program should not wait until the shelled command/program is finished.}}
* [[_DONTWAIT]] ([[SHELL]] action) {{Text|specifies that the program should not wait until the shelled command/program is finished.}}
* [[_DROPPEDFILE]] (function) {{text| returns the list of items (files or folders) dropped in a program's window after [[_ACCEPTFILEDROP]] is enabled.}}
* [[_DROPPEDFILE]] (function) {{Text| returns the list of items (files or folders) dropped in a program's window after [[_ACCEPTFILEDROP]] is enabled.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 137: Line 146:


==== _E (QB64) ====
==== _E (QB64) ====
* [[_ECHO]] (statement) {{text|used in conjunction with $IF for the precompiler.}}
* [[_ECHO]] (statement) {{Text|used in conjunction with $IF for the precompiler.}}
* [[$ELSE]] (Pre-Compiler [[Metacommand]]) {{text|used in conjunction with [[$IF]] for the precompiler.}}
* [[$ELSE]] (metacommand) {{Text|used in conjunction with [[$IF]] for the precompiler.}}
* [[$ELSEIF]] (Pre-Compiler [[Metacommand]]) {{text|used in conjunction with [[$IF]] for the precompiler.}}
* [[$ELSEIF]] (metacommand) {{Text|used in conjunction with [[$IF]] for the precompiler.}}
* [[$END IF]] (Pre-Compiler [[Metacommand]]) {{text|used in conjunction with [[$IF]] for the precompiler.}}
* [[$EMBED]] (metacommand) {{Text|is used to embed any file's contents into the compiled executable.}}
* [[_ENVIRONCOUNT]] (function) {{text|returns the number of key/value pairs currently exist in the environment table.}}
* [[_EMBEDDED$]] (function) {{Text|recalls the contents of a file embedded using [[$EMBED]].}}
* [[$ERROR]] (precompiler [[metacommand]]) {{text|used to trigger compiler errors from within the precompiling pass.}}
* [[$END IF]] (metacommand) {{Text|used in conjunction with [[$IF]] for the precompiler.}}
* [[_ERRORLINE]] (function) {{text|returns the source code line number that caused the most recent runtime error.}}
* [[_ENVIRONCOUNT]] (function) {{Text|returns the number of key/value pairs currently exist in the environment table.}}
* [[_ERRORMESSAGE$]] (function) {{text|returns a human-readable message describing the most recent runtime error.}}
* [[$ERROR]] (metacommand) {{Text|used to trigger compiler errors from within the precompiling pass.}}
* [[$EXEICON]] (QB64 [[Metacommand]]) {{text|used with a .ICO icon file name to embed the image into the QB64 executable.}}
* [[_ERRORLINE]] (function) {{Text|returns the source code line number that caused the most recent runtime error.}}
* [[_EXIT (function)]] {{text|prevents a user exit and indicates if a user has clicked the close X window button or CTRL + BREAK.}}
* [[_ERRORMESSAGE$]] (function) {{Text|returns a human-readable message describing the most recent runtime error.}}
* [[$EXEICON]] (metacommand) {{Text|used with a .ICO icon file name to embed the image into the QB64 executable.}}
* [[_EXIT (function)]] {{Text|prevents a user exit and indicates if a user has clicked the close X window button or CTRL + BREAK.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 153: Line 164:


==== _F (QB64) ====
==== _F (QB64) ====
* [[_FILEEXISTS]] (function) {{text|returns -1 if the file name [[STRING|string]] parameter exists. Zero if it does not.}}
* [[_FILEEXISTS]] (function) {{Text|returns -1 if the file name [[STRING|string]] parameter exists. Zero if it does not.}}
* [[_FINISHDROP]] (statement) {{text| resets [[_TOTALDROPPEDFILES]] and clears the [[_DROPPEDFILE]] list of items (files/folders).}}
* [[_FILES$]] (function) {{Text|returns a file or directory name that matches the specified pattern.}}
* [[_FLOAT]] (numerical type ##) {{text|offers the maximum floating-point decimal precision available using QB64.}}
* [[_FINISHDROP]] (statement) {{Text|resets [[_TOTALDROPPEDFILES]] and clears the [[_DROPPEDFILE]] list of items (files/folders).}}
* [[_FONT]] (statement) {{text|sets the current font handle to be used by PRINT or [[_PRINTSTRING]].}}
* [[_FLOAT]] (numerical type ##) {{Text|offers the maximum floating-point decimal precision available using QB64.}}
* [[_FONT (function)]] {{text|creates a new font handle from a designated image handle.}}
* [[_FONT]] (statement) {{Text|sets the current font handle to be used by PRINT or [[_PRINTSTRING]].}}
* [[_FONTHEIGHT]] (function) {{text|returns the current text or font height.}}
* [[_FONT (function)]] {{Text|creates a new font handle from a designated image handle.}}
* [[_FONTWIDTH]] (function) {{text|returns the current text or font width.}}
* [[_FONTHEIGHT]] (function) {{Text|returns the current text or font height.}}
* [[_FREEFONT]] (statement) {{text|releases the current font handle from memory.}}
* [[_FONTWIDTH]] (function) {{Text|returns the current text or font width.}}
* [[_FREEIMAGE]] (statement) {{text|releases a designated image handle from memory.}}
* [[_FREEFONT]] (statement) {{Text|releases the current font handle from memory.}}
* [[_FREETIMER]] (function) {{text|returns an unused timer number value to use with [[ON TIMER(n)]].}}
* [[_FREEIMAGE]] (statement) {{Text|releases a designated image handle from memory.}}
* [[_FULLSCREEN]] (statement) {{text|sets the program window to full screen or OFF. Alt + Enter does it manually.}}
* [[_FREETIMER]] (function) {{Text|returns an unused timer number value to use with [[ON TIMER(n)]].}}
* [[_FULLSCREEN (function)]] {{text|returns the fullscreen mode in use by the program.}}
* [[_FULLPATH$]] (function) {{Text|returns an absolute or full path name for the specified relative path name.}}
* [[_FULLSCREEN]] (statement) {{Text|sets the program window to full screen or OFF. Alt + Enter does it manually.}}
* [[_FULLSCREEN (function)]] {{Text|returns the fullscreen mode in use by the program.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 171: Line 184:


==== _G (QB64) ====
==== _G (QB64) ====
* [[_G2D]] (function) {{text|converts gradient to degree angle values.}}
* [[_G2D]] (function) {{Text|converts gradient to degree angle values.}}
* [[_G2R]] (function) {{text|converts gradient to radian angle values.}}
* [[_G2R]] (function) {{Text|converts gradient to radian angle values.}}
* [[_GLRENDER]] (statement) {{text|sets whether context is displayed, on top of or behind the software rendering.}}
* [[_GLRENDER]] (statement) {{Text|sets whether context is displayed, on top of or behind the software rendering.}}
* [[_GREEN]] (function) {{text|function returns the palette or the green component intensity of a 32-bit image color.}}
* [[_GREEN]] (function) {{Text|function returns the palette or the green component intensity of a 32-bit image color.}}
* [[_GREEN32]] (function) {{text|returns the green component intensity of a 32-bit color value.}}
* [[_GREEN32]] (function) {{Text|returns the green component intensity of a 32-bit color value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 182: Line 195:


==== _H (QB64) ====
==== _H (QB64) ====
* [[_HEIGHT]] (function) {{text|returns the height of a designated image handle.}}
* [[_HEIGHT]] (function) {{Text|returns the height of a designated image handle.}}
* [[_HIDE]] ([[SHELL]] action) {{text| hides the command line display during a shell.}}
* [[_HIDE]] ([[SHELL]] action) {{Text| hides the command line display during a shell.}}
* [[_HYPOT]] (function) {{text|Returns the hypotenuse of a right-angled triangle whose legs are x and y.}}
* [[_HYPOT]] (function) {{Text|Returns the hypotenuse of a right-angled triangle whose legs are x and y.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 191: Line 204:


==== _I (QB64) ====
==== _I (QB64) ====
* [[$IF]] (Pre-Compiler [[Metacommand]]) {{text|used to set an [[IF]] condition for the precompiler.}}
* [[$IF]] (metacommand) {{Text|used to set an [[IF]] condition for the precompiler.}}
* [[_ICON]] (statement) {{text|designates a [[_LOADIMAGE]] image file handle to be used as the program's icon or loads the embedded icon (see [[$EXEICON]]).}}
* [[_ICON]] (statement) {{Text|designates a [[_LOADIMAGE]] image file handle to be used as the program's icon or loads the embedded icon (see [[$EXEICON]]).}}
* [[_INCLERRORFILE$]] {function) {{text|returns the name of the original source code $INCLUDE module that caused the most recent error.}}
* [[_INCLERRORFILE$]] {function) {{Text|returns the name of the original source code $INCLUDE module that caused the most recent error.}}
* [[_INCLERRORLINE]] (function) {{text|returns the line number in an included file that caused the most recent error.}}
* [[_INCLERRORLINE]] (function) {{Text|returns the line number in an included file that caused the most recent error.}}
* [[_INFLATE$]] (function) {{text|decompresses a string}}
* [[$INCLUDEONCE]] (metacommand) {{Text|prevents that include file contents is injected multiple times into a program.}}
* [[_INPUTBOX$]] (function) {{text|Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a string containing the contents of the text box.}}
* [[_INFLATE$]] (function) {{Text|decompresses a string}}
* [[_INSTRREV]] (function) {{text|allows searching for a substring inside another string, but unlike [[INSTR]] it returns the last occurrence instead of the first one.}}
* [[_INPUTBOX$]] (function) {{Text|Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a string containing the contents of the text box.}}
* [[_INTEGER64]] (&& numerical type) {{text|can hold whole numerical values from -9223372036854775808 to 9223372036854775807.}}
* [[_INSTRREV]] (function) {{Text|allows searching for a substring inside another string, but unlike [[INSTR]] it returns the last occurrence instead of the first one.}}
* [[_INTEGER64]] (&& numerical type) {{Text|can hold whole numerical values from -9223372036854775808 to 9223372036854775807.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 205: Line 219:


==== _K (QB64) ====
==== _K (QB64) ====
*[[_KEYCLEAR]] (statement) {{text|clears the keyboard buffers for INKEY$, _KEYHIT, and INP.}}
*[[_KEYCLEAR]] (statement) {{Text|clears the keyboard buffers for INKEY$, _KEYHIT, and INP.}}
*[[_KEYHIT]] (function) {{text|returns [[ASCII]] one and two byte, SDL Virtual Key and [[Unicode]] keyboard key press codes.}}
*[[_KEYHIT]] (function) {{Text|returns [[ASCII]] one and two byte, SDL Virtual Key and [[Unicode]] keyboard key press codes.}}
*[[_KEYDOWN]] (function) {{text|returns whether CTRL, ALT, SHIFT, combinations and other keys are pressed.}}
*[[_KEYDOWN]] (function) {{Text|returns whether CTRL, ALT, SHIFT, combinations and other keys are pressed.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 214: Line 228:


==== _L (QB64) ====
==== _L (QB64) ====
* [[$LET]] (Pre-Compiler [[Metacommand]]) {{text|used to set a variable for the precompiler.}}
* [[$LET]] (metacommand) {{Text|used to set a variable for the precompiler.}}
* [[_LASTAXIS]] (function) {{text|returns the number of axis available on a specified number device listed by [[_DEVICE$]].}}
* [[_LASTAXIS]] (function) {{Text|returns the number of axis available on a specified number device listed by [[_DEVICE$]].}}
* [[_LASTBUTTON]] (function) {{text|returns the number of buttons available on a specified number device listed by [[DEVICE$]].}}
* [[_LASTBUTTON]] (function) {{Text|returns the number of buttons available on a specified number device listed by [[DEVICE$]].}}
* [[_LASTWHEEL]] (function) {{text|returns the number of scroll wheels available on a specified number device listed by [[_DEVICE$]].}}
* [[_LASTWHEEL]] (function) {{Text|returns the number of scroll wheels available on a specified number device listed by [[_DEVICE$]].}}
* [[_LIMIT]] (statement) {{text|sets the loops per second rate to slow down loops and limit CPU usage.}}
* [[_LIMIT]] (statement) {{Text|sets the loops per second rate to slow down loops and limit CPU usage.}}
* [[_LOADFONT]] (function) {{text|designates a [[_FONT|font]] TTF file to load and returns a handle value.}}
* [[_LOADFONT]] (function) {{Text|designates a [[_FONT|font]] TTF file to load and returns a handle value.}}
* [[_LOADIMAGE]] (function) {{text|designates an image file to load and returns a handle value.}}
* [[_LOADIMAGE]] (function) {{Text|designates an image file to load and returns a handle value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 227: Line 241:


==== _M (QB64) ====
==== _M (QB64) ====
* [[_MAPTRIANGLE]] (statement) {{text|maps a triangular image source area to put on a destination area.}}
* [[_MAPTRIANGLE]] (statement) {{Text|maps a triangular image source area to put on a destination area.}}
* [[_MAPUNICODE]] (statement) {{text|maps a [[Unicode]] value to an [[ASCII]] code number.}}
* [[_MAPUNICODE]] (statement) {{Text|maps a [[Unicode]] value to an [[ASCII]] code number.}}
* [[_MAPUNICODE (function)]] {{text|returns the [[Unicode]] (UTF32) code point value of a mapped [[ASCII]] character code.}}
* [[_MAPUNICODE (function)]] {{Text|returns the [[Unicode]] (UTF32) code point value of a mapped [[ASCII]] character code.}}
* [[_MEM (function)]] {{text|returns [[_MEM]] block referring to the largest continuous memory region beginning at a designated variable's offset.}}
* [[_MAX]] (function) {{Text|Returns the greater of two given numeric values.}}
* [[_MEM]] (variable type) {{text|contains read only dot elements for the OFFSET, SIZE, TYPE and ELEMENTSIZE of a block of memory.}}
* [[_MD5$]] (function) {{Text|Returns the MD5 hash value of any arbitrary string.}}
* [[_MEMCOPY]] (statement) {{text|copies a value from a designated OFFSET and SIZE [[TO]] a block of memory at a designated OFFSET.}}
* [[_MEM (function)]] {{Text|returns [[_MEM]] block referring to the largest continuous memory region beginning at a designated variable's offset.}}
* [[_MEMELEMENT]] (function) {{text|returns a [[_MEM]] block referring to a variable's memory (but not past it).}}
* [[_MEM]] (variable type) {{Text|contains read only dot elements for the OFFSET, SIZE, TYPE and ELEMENTSIZE of a block of memory.}}
* [[_MEMEXISTS]] (function) {{text|verifies that a memory block exists for a memory variable name or returns zero.}}
* [[_MEMCOPY]] (statement) {{Text|copies a value from a designated OFFSET and SIZE [[TO]] a block of memory at a designated OFFSET.}}
* [[_MEMFILL]] (statement) {{text|fills a designated memory block OFFSET with a certain SIZE and TYPE of value.}}
* [[_MEMELEMENT]] (function) {{Text|returns a [[_MEM]] block referring to a variable's memory (but not past it).}}
* [[_MEMFREE]] (statement) {{text|frees a designated memory block in a program. Only free memory blocks once.}}
* [[_MEMEXISTS]] (function) {{Text|verifies that a memory block exists for a memory variable name or returns zero.}}
* [[_MEMGET]] (statement) {{text|reads a value from a designated memory block at a designated  OFFSET}}
* [[_MEMFILL]] (statement) {{Text|fills a designated memory block OFFSET with a certain SIZE and TYPE of value.}}
* [[_MEMGET (function)]] {{text|returns a value from a designated memory block and OFFSET using a designated variable [[TYPE]].}}
* [[_MEMFREE]] (statement) {{Text|frees a designated memory block in a program. Only free memory blocks once.}}
* [[_MEMIMAGE]] (function) {{text|returns a [[_MEM]] block referring to a designated image handle's memory}}
* [[_MEMGET]] (statement) {{Text|reads a value from a designated memory block at a designated  OFFSET}}
* [[_MEMNEW]] (function) {{text|allocates new memory with a designated SIZE and returns a [[_MEM]] block referring to it.}}
* [[_MEMGET (function)]] {{Text|returns a value from a designated memory block and OFFSET using a designated variable [[TYPE]].}}
* [[_MEMPUT]] (statement) {{text|places a designated value into a designated memory block OFFSET}}
* [[_MEMIMAGE]] (function) {{Text|returns a [[_MEM]] block referring to a designated image handle's memory}}
* [[_MEMSOUND]] (function) {{text|returns a [[_MEM]] block referring to a designated sound handle's memory}}
* [[_MEMNEW]] (function) {{Text|allocates new memory with a designated SIZE and returns a [[_MEM]] block referring to it.}}
* [[_MESSAGEBOX (function)]] {{text|Displays a message dialog box, which presents a message and returns the button ID clicked by the user.}}
* [[_MEMPUT]] (statement) {{Text|places a designated value into a designated memory block OFFSET}}
* [[_MESSAGEBOX]] (statement) {{text|Displays a message dialog box, which presents a message to the user.}}
* [[_MEMSOUND]] (function) {{Text|returns a [[_MEM]] block referring to a designated sound handle's memory}}
* [[_SCREENMOVE|_MIDDLE]] (_SCREENMOVE parameter) {{text|centers the program window on the desktop in any screen resolution.}}
* [[_MESSAGEBOX (function)]] {{Text|Displays a message dialog box, which presents a message and returns the button ID clicked by the user.}}
* [[$MIDISOUNDFONT]] (metacommand) {{text|enables the MIDI support for [[_SNDOPEN]].}}
* [[_MESSAGEBOX]] (statement) {{Text|Displays a message dialog box, which presents a message to the user.}}
* [[_MK$]] (function) {{text|converts a numerical value to a designated [[ASCII]] [[STRING]] value.}}
* [[_SCREENMOVE|_MIDDLE]] (_SCREENMOVE parameter) {{Text|centers the program window on the desktop in any screen resolution.}}
* [[_MOUSEBUTTON]] (function) {{text|returns the status of a designated mouse button.}}
* [[_MIDISOUNDBANK]] {{Text|enables [[_SNDOPEN]] to use external FM Banks or SoundFonts when playing MIDI files.}}
* [[_MOUSEHIDE]] (statement) {{text|hides the mouse pointer from view}}
* [[$MIDISOUNDFONT]] (metacommand) ({{Text|deprecated|red}}) {{Text|enables the MIDI support for [[_SNDOPEN]].}}
* [[_MOUSEINPUT]] (function) {{text|returns a value if the mouse status has changed since the last read.}}
* [[_MIN]] (function) {{Text|Returns the lesser of two given numeric values.}}
* [[_MOUSEMOVE]] (statement) {{text|moves the mouse pointer to a designated position on the program [[SCREEN]].}}
* [[_MK$]] (function) {{Text|converts a numerical value to a designated [[ASCII]] [[STRING]] value.}}
* [[_MOUSEMOVEMENTX]] (function) {{text|returns the relative horizontal position of the mouse cursor compared to the previous position.}}
* [[_MOUSEBUTTON]] (function) {{Text|returns the status of a designated mouse button.}}
* [[_MOUSEMOVEMENTY]] (function) {{text|returns the relative vertical position of the mouse cursor compared to the previous position.}}
* [[_MOUSEHIDDEN]] (function) {{Text|returns the current state of the mouse pointer.}}
* [[_MOUSESHOW]] (statement) {{text|displays the mouse cursor after it has been hidden or can change the cursor shape.}}
* [[_MOUSEHIDE]] (statement) {{Text|hides the mouse pointer from view}}
* [[_MOUSEWHEEL]] (function) {{text|returns the number of mouse scroll wheel "clicks" since last read.}}
* [[_MOUSEINPUT]] (function) {{Text|returns a value if the mouse status has changed since the last read.}}
* [[_MOUSEX]] (function) {{text|returns the current horizontal position of the mouse cursor.}}
* [[_MOUSEMOVE]] (statement) {{Text|moves the mouse pointer to a designated position on the program [[SCREEN]].}}
* [[_MOUSEY]] (function) {{text|returns the current vertical position of the mouse cursor.}}
* [[_MOUSEMOVEMENTX]] (function) {{Text|returns the relative horizontal position of the mouse cursor compared to the previous position.}}
* [[_MOUSEMOVEMENTY]] (function) {{Text|returns the relative vertical position of the mouse cursor compared to the previous position.}}
* [[_MOUSESHOW]] (statement) {{Text|displays the mouse cursor after it has been hidden or can change the cursor shape.}}
* [[_MOUSEWHEEL]] (function) {{Text|returns the number of mouse scroll wheel "clicks" since last read.}}
* [[_MOUSEX]] (function) {{Text|returns the current horizontal position of the mouse cursor.}}
* [[_MOUSEY]] (function) {{Text|returns the current vertical position of the mouse cursor.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 264: Line 283:


==== _N (QB64) ====
==== _N (QB64) ====
* [[_NEWIMAGE]] (function) {{text|creates a designated size program [[SCREEN]] or page image and returns a handle value.}}
* [[_NEGATE]] (logical operator) {{Text|returns True when a [[boolean]] evaluation is False and vice-versa.}}
* [[$NOPREFIX]] (metacommand) {{text|allows QB64-specific keywords to be used without the underscore prefix.}}
* [[_NEWIMAGE]] (function) {{Text|creates a designated size program [[SCREEN]] or page image and returns a handle value.}}
* [[_NOTIFYPOPUP]] (statement) {{text|Shows a system notification popup.}}
* [[$NOPREFIX]] (metacommand) ({{Text|deprecated|red}}) {{Text|allows QB64-specific keywords to be used without the underscore prefix.}}
* [[_NUMLOCK (function)]] {{text|returns -1 when Num Lock is on}}
* [[_NOTIFYPOPUP]] (statement) {{Text|Shows a system notification popup.}}
* [[_NUMLOCK]] (statement) {{text|sets Num Lock key state}}
* [[_NUMLOCK (function)]] {{Text|returns -1 when Num Lock is on}}
* [[_NUMLOCK]] (statement) {{Text|sets Num Lock key state}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 275: Line 295:


==== _O (QB64) ====
==== _O (QB64) ====
* [[_OFFSET (function)]] {{text|returns the memory offset of a variable when used with [[DECLARE LIBRARY]] or [[_MEM]] only.}}
* [[_OFFSET (function)]] {{Text|returns the memory offset of a variable when used with [[DECLARE LIBRARY]] or [[_MEM]] only.}}
* [[_OFFSET]] (%& numerical type) {{text|can be used store the value of an offset in memory when using [[DECLARE LIBRARY]] or [[MEM]] only.}}
* [[_OFFSET]] (%& numerical type) {{Text|can be used store the value of an offset in memory when using [[DECLARE LIBRARY]] or [[MEM]] only.}}
* [[_OPENCLIENT]] (TCP/IP function) {{text|connects to a Host on the Internet as a Client and returns the Client status handle.}}
* [[_OPENCLIENT]] (TCP/IP function) {{Text|connects to a Host on the Internet as a Client and returns the Client status handle.}}
* [[_OPENCONNECTION]] (TCP/IP function) {{text|open's a connection from a client that the host has detected and returns a status handle.}}
* [[_OPENCONNECTION]] (TCP/IP function) {{Text|open's a connection from a client that the host has detected and returns a status handle.}}
* [[_OPENFILEDIALOG$]] (function) {{text|Displays a standard dialog box that prompts the user to open a file.}}
* [[_OPENFILEDIALOG$]] (function) {{Text|Displays a standard dialog box that prompts the user to open a file.}}
* [[_OPENHOST]] (TCP/IP function) {{text|opens a Host and returns a Host status handle.}}
* [[_OPENHOST]] (TCP/IP function) {{Text|opens a Host and returns a Host status handle.}}
* [[OPTION _EXPLICIT]] (Pre-compiler directive) {{text|instructs the compiler to require variable declaration with [[DIM]] or an equivalent statement.}}
* [[OPTION _EXPLICIT]] (Pre-compiler directive) {{Text|instructs the compiler to require variable declaration with [[DIM]] or an equivalent statement.}}
* [[OPTION _EXPLICITARRAY]] (Pre-compiler directive) {{text|instructs the compiler to require array declaration with [[DIM]] or an equivalent statement.}}
* [[OPTION _EXPLICITARRAY]] (Pre-compiler directive) {{Text|instructs the compiler to require array declaration with [[DIM]] or an equivalent statement.}}
* [[_OS$]] (function) {{text|returns the QB64 compiler version in which the program was compiled as [WINDOWS], [LINUX] or [MACOSX] and [32BIT] or [64BIT].}}
* [[_ORELSE]] (logical operator) {{Text|performs short-circuiting inclusive logical disjunction on two expressions.}}
* [[_OS$]] (function) {{Text|returns the QB64 compiler version in which the program was compiled as [WINDOWS], [LINUX] or [MACOSX] and [32BIT] or [64BIT].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 290: Line 311:


==== _P (QB64) ====
==== _P (QB64) ====
* [[_PALETTECOLOR]] (statement) {{text|sets the color value of a palette entry of an image using 256 colors or less palette modes.}}
* [[_PALETTECOLOR]] (statement) {{Text|sets the color value of a palette entry of an image using 256 colors or less palette modes.}}
* [[_PALETTECOLOR (function)]] {{text|return the 32 bit attribute color setting of an image or screen page handle's palette.}}
* [[_PALETTECOLOR (function)]] {{Text|return the 32 bit attribute color setting of an image or screen page handle's palette.}}
* [[_PI]] (function) {{text|returns the value of '''π''' or parameter multiples for angle or [[CIRCLE|circle]] calculations.}}
* [[_PI]] (function) {{Text|returns the value of '''π''' or parameter multiples for angle or [[CIRCLE|circle]] calculations.}}
* [[_PIXELSIZE]] (function) {{text|returns the pixel palette mode of a designated image handle.}}
* [[_PIXELSIZE]] (function) {{Text|returns the pixel palette mode of a designated image handle.}}
* [[_PRESERVE]] ([[REDIM]] action) {{text|preserves the data presently in an array when [[REDIM]] is used.}}
* [[_PRESERVE]] ([[REDIM]] action) {{Text|preserves the data presently in an array when [[REDIM]] is used.}}
* [[_PRINTIMAGE]] (statement) {{text|sends an image to the printer that is stretched to the current printer paper size.}}
* [[_PRINTIMAGE]] (statement) {{Text|sends an image to the printer that is stretched to the current printer paper size.}}
* [[_PRINTMODE]] (statement) {{text|sets the text or _FONT printing mode on a background when using PRINT or [[_PRINTSTRING]].}}
* [[_PRINTMODE]] (statement) {{Text|sets the text or _FONT printing mode on a background when using PRINT or [[_PRINTSTRING]].}}
* [[_PRINTMODE (function)]] {{text|returns the present [[_PRINTMODE]] value number.}}
* [[_PRINTMODE (function)]] {{Text|returns the present [[_PRINTMODE]] value number.}}
* [[_PRINTSTRING]] (statement) {{text|locates and prints a text [[STRING|string]] using graphic coordinates.}}
* [[_PRINTSTRING]] (statement) {{Text|locates and prints a text [[STRING|string]] using graphic coordinates.}}
* [[_PRINTWIDTH]] (function) {{text|returns the pixel width of a text string to be printed using [[_PRINTSTRING]].}}
* [[_PRINTWIDTH]] (function) {{Text|returns the pixel width of a text string to be printed using [[_PRINTSTRING]].}}
* [[_PUTIMAGE]] (statement) {{text|maps a rectangular image source area to an image destination area.}}
* [[_PUTIMAGE]] (statement) {{Text|maps a rectangular image source area to an image destination area.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 307: Line 328:


==== _R (QB64) ====
==== _R (QB64) ====
* [[_R2D]] (function) {{text|converts radians to degree angle values.}}
* [[_R2D]] (function) {{Text|converts radians to degree angle values.}}
* [[_R2G]] (function) {{text|converts radians to gradient angle values.}}
* [[_R2G]] (function) {{Text|converts radians to gradient angle values.}}
* [[_RED]] (function) {{text|function returns the palette or the red component intensity of a 32-bit image color.}}
* [[_RED]] (function) {{Text|function returns the palette or the red component intensity of a 32-bit image color.}}
* [[_RED32]] (function) {{text|returns the red component intensity of a 32-bit color value.}}
* [[_RED32]] (function) {{Text|returns the red component intensity of a 32-bit color value.}}
* [[_READBIT]] (function) {{text|returns the state of the specified bit of an integer variable.}}
* [[_READBIT]] (function) {{Text|returns the state of the specified bit of an integer variable.}}
* [[_RESETBIT]] (function) {{text|is used to set the specified bit of an integer variable to 0.}}
* [[_READFILE$]] (function) {{Text|directly read a file into a string, without [[OPEN]]/[[CLOSE]] overhead.}}
* [[$RESIZE]] ([[Metacommand]]) {{text|used with ON allows a user to resize the program window where OFF does not.}}
* [[_RESETBIT]] (function) {{Text|is used to set the specified bit of an integer variable to 0.}}
* [[_RESIZE]] (statement) {{text|sets resizing of the window ON or OFF and sets the method as _STRETCH or _SMOOTH.}}
* [[$RESIZE]] (metacommand) {{Text|used with ON allows a user to resize the program window where OFF does not.}}
* [[_RESIZE (function)]] {{text|returns -1 when a program user wants to resize the program screen.}}
* [[_RESIZE]] (statement) {{Text|sets resizing of the window ON or OFF and sets the method as _STRETCH or _SMOOTH.}}
* [[_RESIZEHEIGHT]] (function) {{text|returns the requested new user screen height when [[$RESIZE]]:ON allows it.}}
* [[_RESIZE (function)]] {{Text|returns -1 when a program user wants to resize the program screen.}}
* [[_RESIZEWIDTH]] (function) {{text|returns the requested new user screen width when [[$RESIZE]]:ON allows it.}}
* [[_RESIZEHEIGHT]] (function) {{Text|returns the requested new user screen height when [[$RESIZE]]:ON allows it.}}
* [[_RGB]] (function) {{text|returns the closest palette index OR the [[LONG]] 32 bit color value in 32 bit screens.}}
* [[_RESIZEWIDTH]] (function) {{Text|returns the requested new user screen width when [[$RESIZE]]:ON allows it.}}
* [[_RGB32]] (function) {{text|returns the [[LONG]] 32 bit color value in 32 bit screens only}}
* [[_RGB]] (function) {{Text|returns the closest palette index OR the [[LONG]] 32 bit color value in 32 bit screens.}}
* [[_RGBA]] (function) {{text|returns the closest palette index OR the [[LONG]] 32 bit color value in 32 bit screens with the [[ALPHA]]}}
* [[_RGB32]] (function) {{Text|returns the [[LONG]] 32 bit color value in 32 bit screens only}}
* [[_RGBA32]] (function) {{text|returns the [[LONG]] 32 bit color value in 32 bit screens only with the [[ALPHA]]}}
* [[_RGBA]] (function) {{Text|returns the closest palette index OR the [[LONG]] 32 bit color value in 32 bit screens with the [[ALPHA]]}}
* [[_ROL]] (function) {{text|used to rotate the bits of a numerical value to the left}}
* [[_RGBA32]] (function) {{Text|returns the [[LONG]] 32 bit color value in 32 bit screens only with the [[ALPHA]]}}
* [[_ROR]] (function) {{text|used to rotate the bits of a numerical value to the right.}}
* [[_ROL]] (function) {{Text|used to rotate the bits of a numerical value to the left}}
* [[_ROUND]] (function) {{text|rounds to the closest [[INTEGER]], [[LONG]] or [[_INTEGER64]] numerical value.}}
* [[_ROR]] (function) {{Text|used to rotate the bits of a numerical value to the right.}}
* [[_ROUND]] (function) {{Text|rounds to the closest [[INTEGER]], [[LONG]] or [[_INTEGER64]] numerical value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 331: Line 353:


==== _S (QB64) ====
==== _S (QB64) ====
* [[_SAVEFILEDIALOG$]] (function) {{text|Displays a standard dialog box that prompts the user to save a file.}}
* [[_SAVEFILEDIALOG$]] (function) {{Text|Displays a standard dialog box that prompts the user to save a file.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_SEC]] (function) {{text|the mathematical function secant defined by 1/COS.}}
* [[_SAVEIMAGE]] (statement) {{Text|Saves the screen or an image handle to an image file.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_SECH]] (function) {{text|Returns the hyperbolic secant.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_SEC]] (function) {{Text|the mathematical function secant defined by 1/COS.}}
* [[_SELECTFOLDERDIALOG$]] (function) {{text|Displays a dialog box that enables the user to select a folder (directory).}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_SECH]] (function) {{Text|Returns the hyperbolic secant.}}
* [[_SCREENCLICK]] (statement) {{text|simulates clicking on a point on the desktop screen with the left mouse button.}}
* [[_SELECTFOLDERDIALOG$]] (function) {{Text|Displays a dialog box that enables the user to select a folder (directory).}}
* [[_SCREENEXISTS]] (function) {{text|returns a -1 value once a screen has been created.}}
* [[_SCREENCLICK]] (statement) {{Text|simulates clicking on a point on the desktop screen with the left mouse button.}}
* [[$SCREENHIDE]] ([QB64 [Metacommand]]) {{text|hides the program window from view.}}
* [[_SCREENEXISTS]] (function) {{Text|returns a -1 value once a screen has been created.}}
* [[_SCREENHIDE]] (statement) {{text|hides the program window from view.}}
* [[$SCREENHIDE]] (metacommand) {{Text|hides the program window from view.}}
* [[_SCREENICON (function)]] {{text|returns -1 or 0 to indicate if the window has been minimized to an icon on the taskbar.}}
* [[_SCREENHIDE]] (statement) {{Text|hides the program window from view.}}
* [[_SCREENICON]] (statement) {{text|minimizes the program window to an icon on the taskbar.}}
* [[_SCREENICON (function)]] {{Text|returns -1 or 0 to indicate if the window has been minimized to an icon on the taskbar.}}
* [[_SCREENIMAGE]] (function) {{text|creates an image of the current desktop and returns an image handle.}}
* [[_SCREENICON]] (statement) {{Text|minimizes the program window to an icon on the taskbar.}}
* [[_SCREENMOVE]] (statement) {{text|positions program window on the desktop using designated coordinates or the _MIDDLE option.}}
* [[_SCREENIMAGE]] (function) {{Text|creates an image of the current desktop and returns an image handle.}}
* [[_SCREENPRINT]] (statement) {{text|simulates typing text into a Windows program using the keyboard.}}
* [[_SCREENMOVE]] (statement) {{Text|positions program window on the desktop using designated coordinates or the _MIDDLE option.}}
* [[$SCREENSHOW]] (QB64 [[Metacommand]]) {{text|displays the program window after it was hidden.}}
* [[_SCREENPRINT]] (statement) {{Text|simulates typing text into a Windows program using the keyboard.}}
* [[_SCREENSHOW]] (statement) {{text|displays the program window after it has been hidden by [[_SCREENHIDE]].}}
* [[$SCREENSHOW]] (metacommand) {{Text|displays the program window after it was hidden.}}
* [[_SCREENX]] (function) {{text|returns the program window's upper left corner horizontal position on the desktop.}}
* [[_SCREENSHOW]] (statement) {{Text|displays the program window after it has been hidden by [[_SCREENHIDE]].}}
* [[_SCREENY]] (function) {{text|returns the program window's upper left corner vertical position on the desktop.}}
* [[_SCREENX]] (function) {{Text|returns the program window's upper left corner horizontal position on the desktop.}}
* [[_SCROLLLOCK (function)]] {{text|returns -1 when Scroll Lock is on}}
* [[_SCREENY]] (function) {{Text|returns the program window's upper left corner vertical position on the desktop.}}
* [[_SCROLLLOCK]] (statement) {{text|sets Scroll Lock key state}}
* [[_SCROLLLOCK (function)]] {{Text|returns -1 when Scroll Lock is on}}
* [[_SETALPHA]] (statement) {{text|sets the alpha channel transparency level of some or all of the pixels of an image.}}
* [[_SCROLLLOCK]] (statement) {{Text|sets Scroll Lock key state}}
* [[_SETBIT]] (function) {{text|is used to set the specified bit of an integer variable to 1.}}
* [[_SETALPHA]] (statement) {{Text|sets the alpha channel transparency level of some or all of the pixels of an image.}}
* [[_SHELLHIDE]] (function) {{text|returns the code sent by a program exit using [[END]] or [[SYSTEM]] followed by an [[INTEGER]] value.}}
* [[_SETBIT]] (function) {{Text|is used to set the specified bit of an integer variable to 1.}}
* [[_SHL]] (function) {{text|used to shift the bits of a numerical value to the left}}
* [[_SHELLHIDE]] (function) {{Text|returns the code sent by a program exit using [[END]] or [[SYSTEM]] followed by an [[INTEGER]] value.}}
* [[_SHR]] (function) {{text|used to shift the bits of a numerical value to the right.}}
* [[_SHL]] (function) {{Text|used to shift the bits of a numerical value to the left}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_SINH]] (function) {{text|Returns the hyperbolic sine of x radians.}}
* [[_SHR]] (function) {{Text|used to shift the bits of a numerical value to the right.}}
* [[_SMOOTH (function)]] {{text|checks whether the current [[_FULLSCREEN]] mode has antialiasing enabled or not.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_SINH]] (function) {{Text|Returns the hyperbolic sine of x radians.}}
* [[_SNDBAL]] (statement) {{text|attempts to set the balance or 3D position of a sound file.}}
* [[_SMOOTH (function)]] {{Text|checks whether the current [[_FULLSCREEN]] mode has antialiasing enabled or not.}}
* [[_SNDCLOSE]] (statement) {{text|frees and unloads an open sound using the sound handle created by [[_SNDOPEN]].}}
* [[_SNDBAL]] (statement) {{Text|attempts to set the balance or 3D position of a sound file.}}
* [[_SNDCOPY]] (function) {{text|copies a sound handle value to a new designated handle.}}
* [[_SNDCLOSE]] (statement) {{Text|frees and unloads an open sound using the sound handle created by [[_SNDOPEN]].}}
* [[_SNDGETPOS]] (function) {{text|returns the current playing position in seconds from a sound file.}}
* [[_SNDCOPY]] (function) {{Text|copies a sound handle value to a new designated handle.}}
* [[_SNDLEN]] (function) {{text|returns the length of a sound in seconds from a sound file.}}
* [[_SNDGETPOS]] (function) {{Text|returns the current playing position in seconds from a sound file.}}
* [[_SNDLIMIT]] (statement) {{text|stops playing a sound after it has been playing for a set number of seconds.}}
* [[_SNDLEN]] (function) {{Text|returns the length of a sound in seconds from a sound file.}}
* [[_SNDLOOP]] (statement) {{text|plays a sound repeatedly until [[_SNDSTOP]] is used.}}
* [[_SNDLIMIT]] (statement) {{Text|stops playing a sound after it has been playing for a set number of seconds.}}
* [[_SNDNEW]] (function) {{text|creates a raw empty sound in memory and returns a LONG handle value for later access.}}
* [[_SNDLOOP]] (statement) {{Text|plays a sound repeatedly until [[_SNDSTOP]] is used.}}
* [[_SNDOPEN]] (function) {{text|loads a sound file and returns a sound handle.}}
* [[_SNDNEW]] (function) {{Text|creates a raw empty sound in memory and returns a LONG handle value for later access.}}
* [[_SNDOPENRAW]] (function) {{text|opens a new channel to shove [[_SNDRAW]] content into without mixing.}}
* [[_SNDOPEN]] (function) {{Text|loads a sound file and returns a sound handle.}}
* [[_SNDPAUSE]] (statement) {{text|stops playing a sound file until resumed.}}
* [[_SNDOPENRAW]] (function) {{Text|opens a new channel to shove [[_SNDRAW]] content into without mixing.}}
* [[_SNDPAUSED]] (function) {{text|returns the current pause status of a sound file handle.}}
* [[_SNDPAUSE]] (statement) {{Text|stops playing a sound file until resumed.}}
* [[_SNDPLAY]] (statement) {{text|plays a sound file handle that was created by [[_SNDOPEN]] or [[_SNDCOPY]].}}
* [[_SNDPAUSED]] (function) {{Text|returns the current pause status of a sound file handle.}}
* [[_SNDPLAYCOPY]] (statement) {{text|copies a sound handle, plays it and automatically closes the copy when done.}}
* [[_SNDPLAY]] (statement) {{Text|plays a sound file handle that was created by [[_SNDOPEN]] or [[_SNDCOPY]].}}
* [[_SNDPLAYFILE]] (statement) {{text|directly plays a designated sound file.}}
* [[_SNDPLAYCOPY]] (statement) {{Text|copies a sound handle, plays it and automatically closes the copy when done.}}
* [[_SNDPLAYING]] (function) {{text|returns the current playing status of a sound handle.}}
* [[_SNDPLAYFILE]] (statement) {{Text|directly plays a designated sound file.}}
* [[_SNDRATE]] (function) {{text|returns the sound card sample rate to set [[_SNDRAW]] durations.}}
* [[_SNDPLAYING]] (function) {{Text|returns the current playing status of a sound handle.}}
* [[_SNDRAW]] (statement) {{text|creates mono or stereo sounds from calculated wave frequency values.}}
* [[_SNDRATE]] (function) {{Text|returns the sound card sample rate to set [[_SNDRAW]] durations.}}
* [[_SNDRAWDONE]] (statement) {{text|pads a [[_SNDRAW]] stream so the final (partially filled) buffer section is played.}}
* [[_SNDRAW]] (statement) {{Text|creates mono or stereo sounds from calculated wave frequency values.}}
* [[_SNDRAWLEN]] (function) {{text|returns a value until the [[_SNDRAW]] buffer is empty.}}
* [[_SNDRAWDONE]] (statement) {{Text|pads a [[_SNDRAW]] stream so the final (partially filled) buffer section is played.}}
* [[_SNDSETPOS]] (statement) {{text|sets the playing position of a sound handle.}}
* [[_SNDRAWLEN]] (function) {{Text|returns a value until the [[_SNDRAW]] buffer is empty.}}
* [[_SNDSTOP]] (statement) {{text|stops playing a sound handle.}}
* [[_SNDSETPOS]] (statement) {{Text|sets the playing position of a sound handle.}}
* [[_SNDVOL]] (statement) {{text|sets the volume of a sound file handle.}}
* [[_SNDSTOP]] (statement) {{Text|stops playing a sound handle.}}
* [[_SOURCE]] (statement) {{text|sets the source image handle.}}
* [[_SNDVOL]] (statement) {{Text|sets the volume of a sound file handle.}}
* [[_SOURCE (function)]] {{text|returns the present source image handle value.}}
* [[_SOURCE]] (statement) {{Text|sets the source image handle.}}
* [[_STARTDIR$]] (function) {{text|returns the user's program calling path as a [[STRING]].}}
* [[_SOURCE (function)]] {{Text|returns the present source image handle value.}}
* [[_STATUSCODE]] (function) {{text|gives the HTTP status code of an HTTP response that was opened using [[_OPENCLIENT]].}}
* [[_STARTDIR$]] (function) {{Text|returns the user's program calling path as a [[STRING]].}}
* [[_STRCMP]] (function) {{text|compares the relationship between two strings.}}
* [[_STATUSCODE]] (function) {{Text|gives the HTTP status code of an HTTP response that was opened using [[_OPENCLIENT]].}}
* [[_STRICMP]] (function) {{text|compares the relationship between two strings, without regard for case-sensitivity.}}
* [[_STRCMP]] (function) {{Text|compares the relationship between two strings.}}
* [[_STRICMP]] (function) {{Text|compares the relationship between two strings, without regard for case-sensitivity.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 392: Line 415:


==== _T (QB64) ====
==== _T (QB64) ====
* [[Mathematical Operations#Derived_Mathematical_Functions|_TANH]] (function) {{text|Returns the hyperbolic tangent of x radians.}}
* [[Mathematical Operations#Derived_Mathematical_Functions|_TANH]] (function) {{Text|Returns the hyperbolic tangent of x radians.}}
* [[_TITLE]] (statement) {{text|sets the program title [[STRING|string]] value.}}
* [[_TITLE]] (statement) {{Text|sets the program title [[STRING|string]] value.}}
* [[_TITLE$]] (function) {{text|gets the program title [[STRING|string]] value.}}
* [[_TITLE$]] (function) {{Text|gets the program title [[STRING|string]] value.}}
* [[_TOGGLEBIT]] (function) {{text|is used to toggle the specified bit of an integer variable from 1 to 0 or 0 to 1.}}
* [[_TOGGLEBIT]] (function) {{Text|is used to toggle the specified bit of an integer variable from 1 to 0 or 0 to 1.}}
* [[_TOTALDROPPEDFILES]] (function) {{text| returns the number of items (files or folders) dropped in a program's window after [[_ACCEPTFILEDROP]] is enabled.}}
* [[_TOSTR$]] (function) {{Text|Returns the [[STRING]] representation of a numerical value. It's a successor of the legacy [[STR$]] function.}}
* [[_TRIM$]] (function) {{text|shorthand to [[LTRIM$]]([[RTRIM$]]("text"))}}
* [[_TOTALDROPPEDFILES]] (function) {{Text| returns the number of items (files or folders) dropped in a program's window after [[_ACCEPTFILEDROP]] is enabled.}}
* [[_TRIM$]] (function) {{Text|shorthand to [[LTRIM$]]([[RTRIM$]]("text"))}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 404: Line 428:


==== _U (QB64) ====
==== _U (QB64) ====
* [[_UNSIGNED]] (numerical type) {{text|expands the positive range of numerical [[INTEGER]], [[LONG]] or [[_INTEGER64]] values returned.}}
* [[_UCHARPOS]] (function) {{Text|calculates the starting pixel positions of every character of a (unicode) text string.}}
* [[$UNSTABLE]] (metacommand) {{text|will enable the use of features that have not yet been made a permanent part of the language.}}
* [[_UFONTHEIGHT]] (function) {{Text|returns the global glyph height (incl. ascender/descender) of a loaded font.}}
* [[_ULINESPACING]] (function) {{Text|returns the vertical line spacing (distance between two consecutive baselines) in pixels.}}
* [[_UNSIGNED]] (numerical type) {{Text|expands the positive range of numerical [[INTEGER]], [[LONG]] or [[_INTEGER64]] values returned.}}
* [[$UNSTABLE]] (metacommand) {{Text|will enable the use of features that have not yet been made a permanent part of the language.}}
* [[_UPRINTSTRING]] (statement) {{Text|locates and prints a (unicode) text [[STRING|string]] using graphic coordinates.}}
* [[_UPRINTWIDTH]] (function) {{Text|returns the pixel width of a (unicode) text string to be printed using [[_UPRINTSTRING]].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 412: Line 441:


==== _V (QB64) ====
==== _V (QB64) ====
* [[$VERSIONINFO]] ([[metacommand]]) {{text|adds metadata to Windows only binaries for identification purposes across the OS.}}
* [[$VERSIONINFO]] (metacommand) {{Text|adds metadata to Windows only binaries for identification purposes across the OS.}}
* [[$VIRTUALKEYBOARD]] ([[metacommand]]) ({{text|deprecated|red}}) {{text|turns the virtual keyboard ON or OFF for use in touch-enabled devices.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 420: Line 448:


==== _W (QB64) ====
==== _W (QB64) ====
* [[_WHEEL]] (function) {{text|returns -1 when a control device wheel is scrolled up and 1 when scrolled down. Zero indicates no activity.}}
* [[_WHEEL]] (function) {{Text|returns -1 when a control device wheel is scrolled up and 1 when scrolled down. Zero indicates no activity.}}
* [[_WIDTH (function)]] {{text|returns the width of a [[SCREEN]] or image handle.}}
* [[_WIDTH (function)]] {{Text|returns the width of a [[SCREEN]] or image handle.}}
* [[_WINDOWHANDLE]] (function) {{text|returns the window handle assigned to the current program by the OS. Windows-only.}}
* [[_WINDOWHANDLE]] (function) {{Text|returns the window handle assigned to the current program by the OS. Windows-only.}}
* [[_WINDOWHASFOCUS]] (function) {{text|returns true (-1) if the current program's window has focus. Windows-only.}}
* [[_WINDOWHASFOCUS]] (function) {{Text|returns true (-1) if the current program's window has focus. Windows-only.}}
* [[_WRITEFILE]] (statement) {{Text|directly write a string into a file, without [[OPEN]]/[[CLOSE]] overhead.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 436: Line 465:


==== A (QBasic) ====
==== A (QBasic) ====
* [[ABS]] (function) {{text|converts any negative numerical value to a positive value.}}
* [[ABS]] (function) {{Text|converts any negative numerical value to a positive value.}}
* [[CALL ABSOLUTE|ABSOLUTE]] (statement) {{text|is used to access computer interrupt registers.}}
* [[CALL ABSOLUTE|ABSOLUTE]] (statement) {{Text|is used to access computer interrupt registers.}}
* [[ACCESS]] (file statement) {{text|sets the read and write access of a file when opened.}}
* [[ACCESS]] (file statement) {{Text|sets the read and write access of a file when opened.}}
* [[ALIAS]] (QB64 [[DECLARE LIBRARY]] statement) {{text|denotes the actual name of an imported [[FUNCTION]] or [[SUB]] procedure.}}
* [[ALIAS]] (QB64 [[DECLARE LIBRARY]] statement) {{Text|denotes the actual name of an imported [[FUNCTION]] or [[SUB]] procedure.}}
* [[AND]] (logical operator) {{text|is used to compare two numerical values bitwise.}}
* [[AND]] (logical operator) {{Text|is used to compare two numerical values bitwise.}}
* [[AND (boolean)]] {{text| conditonal operator is used to include another evaluation in an [[IF...THEN]] or [[Boolean]] statement.}}
* [[AND (boolean)]] {{Text| conditonal operator is used to include another evaluation in an [[IF...THEN]] or [[Boolean]] statement.}}
* [[APPEND]] (file mode) {{text|creates a new file or allows an existing file to have data added using [[WRITE (file statement)|WRITE]] or [[PRINT (file statement)|PRINT]]}}
* [[APPEND]] (file mode) {{Text|creates a new file or allows an existing file to have data added using [[WRITE (file statement)|WRITE]] or [[PRINT (file statement)|PRINT]]}}
* [[AS]] {{text|is used to denote a variable type or file number.}}
* [[AS]] {{Text|is used to denote a variable type or file number.}}
* [[ASC]] (function) {{text|returns the [[ASCII]] code number of a text [[STRING|string]] character.}}
* [[ASC (function)]] {{Text|returns the [[ASCII]] code number of a text [[STRING|string]] character.}}
* [[ASC (statement)]] (QB64 only) {{text|sets the code value of an [[ASCII]] text character at a designated [[STRING|string]] position.}}
* [[ASC]] (statement) (QB64 only) {{Text|sets the code value of an [[ASCII]] text character at a designated [[STRING|string]] position.}}
* [[ATN]] (function) {{text|or arctangent returns the angle in radians of a numerical [[TAN|tangent]] value.}}
* [[ATN]] (function) {{Text|or arctangent returns the angle in radians of a numerical [[TAN|tangent]] value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 453: Line 482:


==== B (QBasic) ====
==== B (QBasic) ====
* [[BEEP]] (statement) {{text|creates an error sound of a fixed duration.}}
* [[BEEP]] (statement) {{Text|creates an error sound of a fixed duration.}}
* [[BINARY]] (file mode) {{text|creates or opens an existing file for [[GET|read]] and [[PUT|write]] byte-wise access.}}
* [[BINARY]] (file mode) {{Text|creates or opens an existing file for [[GET|read]] and [[PUT|write]] byte-wise access.}}
* [[BLOAD]] (statement) {{text|transfers the contents of a [[BINARY]] [[BSAVE]] file to a specific [[Arrays|array]].}}
* [[BLOAD]] (statement) {{Text|transfers the contents of a [[BINARY]] [[BSAVE]] file to a specific [[Arrays|array]].}}
* [[BSAVE]] (statement) {{text|transfers the contents of an [[Arrays|array]] to a specified size [[BINARY]] file.}}
* [[BSAVE]] (statement) {{Text|transfers the contents of an [[Arrays|array]] to a specified size [[BINARY]] file.}}
* [[BYVAL]] (statement) {{text|assigns a numerical variable value by its value, not the name.}}
* [[BYVAL]] (statement) {{Text|assigns a numerical variable value by its value, not the name.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 464: Line 493:


==== C (QBasic) ====
==== C (QBasic) ====
* [[CALL]] (statement) {{text|optional statement that sends the program to a [[SUB]] procedure.  Requires parameters be enclosed in brackets(parenthesis).}}
* [[CALL]] (statement) {{Text|optional statement that sends the program to a [[SUB]] procedure.  Requires parameters be enclosed in brackets(parenthesis).}}
* [[CALL ABSOLUTE]] (statement) {{text|is used to access computer interrupt registers.}}
* [[CALL ABSOLUTE]] (statement) {{Text|is used to access computer interrupt registers.}}
* [[CASE]] ([[SELECT CASE]] condition) {{text|designates specific conditions in a [[SELECT CASE]] statement block.}}
* [[CASE]] ([[SELECT CASE]] condition) {{Text|designates specific conditions in a [[SELECT CASE]] statement block.}}
* [[CASE ELSE]] ([[SELECT CASE]] condition) {{text|designates an alternative condition to be evaluated in a [[SELECT CASE]] statement block.}}
* [[CASE ELSE]] ([[SELECT CASE]] condition) {{Text|designates an alternative condition to be evaluated in a [[SELECT CASE]] statement block.}}
* [[CASE IS]] ([[SELECT CASE]] condition) {{text|designates specific conditions in a [[SELECT CASE]] statement block.}}
* [[CASE IS]] ([[SELECT CASE]] condition) {{Text|designates specific conditions in a [[SELECT CASE]] statement block.}}
* [[CDBL]] (function) {{text|returns the closest [[DOUBLE]] value of a number.}}
* [[CDBL]] (function) {{Text|returns the closest [[DOUBLE]] value of a number.}}
* [[CHAIN]] (statement) {{text|sends a program to another specified program module or compiled program.}}
* [[CHAIN]] (statement) {{Text|sends a program to another specified program module or compiled program.}}
* [[CHDIR]] (statement) {{text|changes the current program path for file access.}}
* [[CHDIR]] (statement) {{Text|changes the current program path for file access.}}
* [[CHR$]] (function) {{text|returns a text [[STRING|string]] character by the specified [[ASCII]] code number.}}
* [[CHR$]] (function) {{Text|returns a text [[STRING|string]] character by the specified [[ASCII]] code number.}}
* [[CINT]] (function) {{text|returns the closest [[INTEGER]] value of a numerical value.}}
* [[CINT]] (function) {{Text|returns the closest [[INTEGER]] value of a numerical value.}}
* [[CIRCLE]] (statement) {{text|creates a circle, ellipse or arc at a designated graphical coordinate position.}}
* [[CIRCLE]] (statement) {{Text|creates a circle, ellipse or arc at a designated graphical coordinate position.}}
* [[CLEAR]] (statement) {{text|sets all variable and array values to zero number values or empty [[STRING]]s.}}
* [[CLEAR]] (statement) {{Text|sets all variable and array values to zero number values or empty [[STRING]]s.}}
* [[CLNG]] (function) {{text|returns the closest [[LONG]] value of a numerical value.}}
* [[CLNG]] (function) {{Text|returns the closest [[LONG]] value of a numerical value.}}
* [[CLOSE]] (statement) {{text|closes specific file number(s) or all files when a number is not specified.}}
* [[CLOSE]] (statement) {{Text|closes specific file number(s) or all files when a number is not specified.}}
* [[CLS]] (statement) {{text|clears a program [[SCREEN|screen]], [[VIEW]] port or [[WINDOW]].}}
* [[CLS]] (statement) {{Text|clears a program [[SCREEN|screen]], [[VIEW]] port or [[WINDOW]].}}
* [[COLOR]] (statement) {{text|sets the current text foreground and/or background color to be used.}}
* [[COLOR]] (statement) {{Text|sets the current text foreground and/or background color to be used.}}
* [[COMMAND$]] (function) {{text|returns the command line arguments passed when a program is run.}}
* [[COMMAND$]] (function) {{Text|returns the command line arguments passed when a program is run.}}
* [[COMMON]] (statement) {{text|sets a variable name as shared by [[CHAIN]]ed program modules.}}
* [[COMMON]] (statement) {{Text|sets a variable name as shared by [[CHAIN]]ed program modules.}}
* [[CONST]] (statement) {{text|sets a variable name and its value as a constant value to be used by all procedures.}}
* [[CONST]] (statement) {{Text|sets a variable name and its value as a constant value to be used by all procedures.}}
* [[COS]] (function) {{text|returns the cosine of a radian angle value.}}
* [[COS]] (function) {{Text|returns the cosine of a radian angle value.}}
* [[CSNG]] (function) {{text|returns the closest [[SINGLE]] value of a numerical value.}}
* [[CSNG]] (function) {{Text|returns the closest [[SINGLE]] value of a numerical value.}}
* [[CSRLIN]] (function) {{text|returns the present [[PRINT]] cursor text row [[SCREEN]] coordinate position.}}
* [[CSRLIN]] (function) {{Text|returns the present [[PRINT]] cursor text row [[SCREEN]] coordinate position.}}
* [[CVD]] (function) {{text|returns the [[DOUBLE]] numerical value of an 8 byte [[MKD$]] [[STRING|string]].}}
* [[CVD]] (function) {{Text|returns the [[DOUBLE]] numerical value of an 8 byte [[MKD$]] [[STRING|string]].}}
* [[CVDMBF]] (function) {{text|returns the [[DOUBLE]] numerical value of a [[MKDMBF$|Microsoft Binary Format]] [[STRING|string]].}}
* [[CVDMBF]] (function) {{Text|returns the [[DOUBLE]] numerical value of a [[MKDMBF$|Microsoft Binary Format]] [[STRING|string]].}}
* [[CVI]] (function) {{text|returns the [[INTEGER]] numerical value of a 2 byte [[MKI$]] [[STRING|string]].}}
* [[CVI]] (function) {{Text|returns the [[INTEGER]] numerical value of a 2 byte [[MKI$]] [[STRING|string]].}}
* [[CVL]] (function) {{text|returns the [[LONG]] numerical value of a 4 byte [[MKL$]] [[STRING|string]].}}
* [[CVL]] (function) {{Text|returns the [[LONG]] numerical value of a 4 byte [[MKL$]] [[STRING|string]].}}
* [[CVS]] (function) {{text|returns the [[SINGLE]] numerical value of a 4 byte [[MKS$]] [[STRING|string]].}}
* [[CVS]] (function) {{Text|returns the [[SINGLE]] numerical value of a 4 byte [[MKS$]] [[STRING|string]].}}
* [[CVSMBF]] (function) {{text|returns the [[SINGLE]] numerical value of a [[MKSMBF$|Microsoft Binary Format]] [[STRING|string]].}}
* [[CVSMBF]] (function) {{Text|returns the [[SINGLE]] numerical value of a [[MKSMBF$|Microsoft Binary Format]] [[STRING|string]].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 498: Line 527:


==== D (QBasic) ====
==== D (QBasic) ====
* [[DATA]] (statement) {{text|creates a line of fixed program information separated by commas.}}
* [[DATA]] (statement) {{Text|creates a line of fixed program information separated by commas.}}
* [[DATE$]] (function) {{text|returns the present Operating System date [[STRING|string]] formatted as mm-dd-yyyy.}}
* [[DATE$]] (function) {{Text|returns the present Operating System date [[STRING|string]] formatted as mm-dd-yyyy.}}
* [[DECLARE LIBRARY|DECLARE LIBRARY (QB64 statement block)]] {{text|declares a C++, SDL or Operating System [[SUB]] or [[FUNCTION]] to be used.}}
* [[DECLARE LIBRARY|DECLARE LIBRARY (QB64 statement block)]] {{Text|declares a C++, SDL or Operating System [[SUB]] or [[FUNCTION]] to be used.}}
* [[DECLARE DYNAMIC LIBRARY|DECLARE DYNAMIC LIBRARY (QB64 statement)]] {{text|declares DYNAMIC, CUSTOMTYPE or STATIC  library(DLL) [[SUB]] or [[FUNCTION]].}}
* [[DEF SEG]] (statement) {{Text|defines a segment in memory to be accessed by a memory procedure.}}
* [[DEF SEG]] (statement) {{text|defines a segment in memory to be accessed by a memory procedure.}}
* [[DEFDBL]] (statement) {{Text|defines a set of undefined variable name starting letters as [[DOUBLE]] type numerical values.}}
* [[DEFDBL]] (statement) {{text|defines a set of undefined variable name starting letters as [[DOUBLE]] type numerical values.}}
* [[DEFINT]] (statement) {{Text|defines a set of undefined variable name starting letters as [[INTEGER]] type numerical values.}}
* [[DEFINT]] (statement) {{text|defines a set of undefined variable name starting letters as [[INTEGER]] type numerical values.}}
* [[DEFLNG]] (statement) {{Text|defines a set of undefined variable name starting letters as [[LONG]] type numerical values.}}
* [[DEFLNG]] (statement) {{text|defines a set of undefined variable name starting letters as [[LONG]] type numerical values.}}
* [[DEFSNG]] (statement) {{Text|defines a set of undefined variable name starting letters as [[SINGLE]] type numerical values.}}
* [[DEFSNG]] (statement) {{text|defines a set of undefined variable name starting letters as [[SINGLE]] type numerical values.}}
* [[DEFSTR]] (statement) {{Text|defines a set of undefined variable name starting letters as [[STRING]] type values.}}
* [[DEFSTR]] (statement) {{text|defines a set of undefined variable name starting letters as [[STRING]] type values.}}
* [[DIM]] (statement) {{Text|defines a variable as a specified type and can size a [[STATIC]]  array.}}
* [[DIM]] (statement) {{text|defines a variable as a specified type and can size a [[STATIC]]  array.}}
* [[DO...LOOP]] (statement) {{Text|sets a recursive procedure loop that can be ignored or exited using conditional arguments.}}
* [[DO...LOOP]] (statement) {{text|sets a recursive procedure loop that can be ignored or exited using conditional arguments.}}
* [[DOUBLE]] (numerical type #) {{Text|8 byte value limited to values up to 15 decimal places.}}
* [[DOUBLE]] (numerical type #) {{text|8 byte value limited to values up to 15 decimal places.}}
* [[DRAW]] (statement) {{Text|uses a special [[STRING|string]] format that draws graphical lines in specific directions.}}
* [[DRAW]] (statement) {{text|uses a special [[STRING|string]] format that draws graphical lines in specific directions.}}
* [[$DYNAMIC]] (metacommand) {{Text|used at the start of a program to set all program arrays as changeable in size using [[REDIM]].}}
* [[$DYNAMIC]] ([[Metacommand]]) {{text|used at the start of a program to set all program arrays as changeable in size using [[REDIM]].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 519: Line 547:


==== E (QBasic) ====
==== E (QBasic) ====
* [[ELSE]] ([[IF...THEN]] statement) {{text|is used to direct program flow when no other condition is evaluated as true.}}
* [[ELSE]] ([[IF...THEN]] statement) {{Text|is used to direct program flow when no other condition is evaluated as true.}}
* [[ELSEIF]] ([[IF...THEN]] statement) {{text|is used with [[THEN]] to set alternate conditional evaluations.}}
* [[ELSEIF]] ([[IF...THEN]] statement) {{Text|is used with [[THEN]] to set alternate conditional evaluations.}}
* [[END]] (statement) {{text|sets the end of a program, sub-procedure, statement block, [[DECLARE LIBRARY]] or [[TYPE]] definition.}}
* [[END]] (statement) {{Text|sets the end of a program, sub-procedure, statement block, [[DECLARE LIBRARY]] or [[TYPE]] definition.}}
* [[IF...THEN|END IF]] (statement) {{text|[[END]]s an IF...THEN conditional block statement using more than one line of code.}}
* [[IF...THEN|END IF]] (statement) {{Text|[[END]]s an IF...THEN conditional block statement using more than one line of code.}}
* [[ENVIRON]] (statement) {{text|temporarily sets an environmental key/pair value.}}
* [[ENVIRON]] (statement) {{Text|temporarily sets an environmental key/pair value.}}
* [[ENVIRON$]] (function) {{text|returns a specified string setting or numerical position as an environmental [[STRING]] value.}}
* [[ENVIRON$]] (function) {{Text|returns a specified string setting or numerical position as an environmental [[STRING]] value.}}
* [[EOF]] (file function) {{text|returns -1 when a file [[INPUT (file statement)|INPUT]] or [[GET]] has reached the end of a file.}}
* [[EOF]] (function) {{Text|returns -1 when a file [[INPUT (file statement)|INPUT]] or [[GET]] has reached the end of a file.}}
* [[EQV]] (logic operator) {{text|is used to compare two numerical values bitwise.}}
* [[EQV]] (logic operator) {{Text|is used to compare two numerical values bitwise.}}
* [[ERASE]] (statement) {{text|clears the values from [[$STATIC]] arrays and completely removes [[$DYNAMIC]] arrays.}}
* [[ERASE]] (statement) {{Text|clears the values from [[$STATIC]] arrays and completely removes [[$DYNAMIC]] arrays.}}
* [[ERL]] (error function) {{text|returns the closest line number before an error occurred if line numbers are used.}}
* [[ERL]] (function) {{Text|returns the closest line number before an error occurred if line numbers are used.}}
* [[ERR]] (function) {{text|returns the [[ERROR Codes|ERROR code]] when a program error occurs.}}
* [[ERR]] (function) {{Text|returns the [[ERROR Codes|ERROR code]] when a program error occurs.}}
* [[ERROR]] (statement) {{text|sets a specific [[ERROR Codes|ERROR code]] to be simulated.}}
* [[ERROR]] (statement) {{Text|sets a specific [[ERROR Codes|ERROR code]] to be simulated.}}
* [[EXIT]] (statement) {{text|immediately exits a program [[FOR...NEXT]], [[DO...LOOP]], [[SUB]] or [[FUNCTION]] procedure.}}
* [[EXIT]] (statement) {{Text|immediately exits a program [[FOR...NEXT]], [[DO...LOOP]], [[SUB]] or [[FUNCTION]] procedure.}}
* [[EXP]] (function) {{text|returns the value of e to the exponential power specified.}}
* [[EXP]] (function) {{Text|returns the value of e to the exponential power specified.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 539: Line 567:


==== F (QBasic) ====
==== F (QBasic) ====
* [[FIELD]] (statement) {{text|defines the variable sizes to be written or read from a file.}}
* [[FIELD]] (statement) {{Text|defines the variable sizes to be written or read from a file.}}
* [[FILES]] (statement) {{text|returns a list of files in the current directory path to the [[SCREEN]].}}
* [[FILES]] (statement) {{Text|returns a list of files in the current directory path to the [[SCREEN]].}}
* [[FIX]] (function) {{text|returns the rounded [[INTEGER]] value of a numerical value.}}
* [[FIX]] (function) {{Text|returns the rounded [[INTEGER]] value of a numerical value.}}
* [[FOR...NEXT]] (statement) {{text|creates a recursive loop procedure that loop a specified number of times.}}
* [[FOR...NEXT]] (statement) {{Text|creates a recursive loop procedure that loop a specified number of times.}}
* [[FOR (file statement)]] {{text|used in an [[OPEN]] file or device statement to indicate the access mode.}}
* [[FOR (file statement)]] {{Text|used in an [[OPEN]] file or device statement to indicate the access mode.}}
* [[TIMER (statement)|FREE (QB64 TIMER statement)]] {{text|frees a numbered TIMER event in QB64.}}
* [[TIMER|FREE]] (QB64 TIMER statement) {{Text|frees a numbered TIMER event in QB64.}}
* [[FREEFILE]] (file function) {{text|returns a file number that is currently not in use by the Operating System.}}
* [[FREEFILE]] (function) {{Text|returns a file number that is currently not in use by the Operating System.}}
* [[FUNCTION]] (procedure block) {{text|sub-procedure that can calculate and return one value to a program in its name.}}
* [[FUNCTION]] (procedure block) {{Text|sub-procedure that can calculate and return one value to a program in its name.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 553: Line 581:


==== G (QBasic) ====
==== G (QBasic) ====
* [[GET]] (file statement) {{text|reads a file sequencially or at a specific position and returns the value as the variable type used.}}
* [[GET]] (file statement) {{Text|reads a file sequencially or at a specific position and returns the value as the variable type used.}}
* [[GET (HTTP statement)]] {{text|reads the response of an HTTP request that was opened using [[_OPENCLIENT]].}}
* [[GET (HTTP statement)]] {{Text|reads the response of an HTTP request that was opened using [[_OPENCLIENT]].}}
* [[GET (TCP/IP statement)]] {{text|reads a TCP/IP connection port to return a value.}}
* [[GET (TCP/IP statement)]] {{Text|reads a TCP/IP connection port to return a value.}}
* [[GET (graphics statement)]] {{text|maps an area the current [[SCREEN|screen's]] video information and places it in an [[INTEGER]] [[arrays|array]].}}
* [[GET (graphics statement)]] {{Text|maps an area the current [[SCREEN|screen's]] video information and places it in an [[INTEGER]] [[arrays|array]].}}
* [[GOSUB]] (statement) {{text|sends the program to a designated line label procedure in the main program.}}
* [[GOSUB]] (statement) {{Text|sends the program to a designated line label procedure in the main program.}}
* [[GOTO]] (statement) {{text|sends the program to a designated line number or line label in a procedure.}}
* [[GOTO]] (statement) {{Text|sends the program to a designated line number or line label in a procedure.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 565: Line 593:


==== H (QBasic) ====
==== H (QBasic) ====
* [[HEX$]] (function) {{text|returns the hexadecimal (base 16) [[STRING]] representation of the [[INTEGER]] part of any value.}}
* [[HEX$]] (function) {{Text|returns the hexadecimal (base 16) [[STRING]] representation of the [[INTEGER]] part of any value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 572: Line 600:


==== I (QBasic) ====
==== I (QBasic) ====
* [[IF...THEN]] (statement) {{text|a conditional block statement used control program flow.}}
* [[IF...THEN]] (statement) {{Text|a conditional block statement used control program flow.}}
* [[IMP]] (logic operator) {{text|is used to compare two numerical values bitwise.}}
* [[IMP]] (logic operator) {{Text|is used to compare two numerical values bitwise.}}
* [[$INCLUDE]] ([[Metacommand]]) {{text|designates a text code library file to include with the program.}}
* [[$INCLUDE]] (metacommand) {{Text|designates a text code library file to include with the program.}}
* [[INKEY$]] (function) [[ASCII]] {{text|returns a [[STRING|string]] value entry from the keyboard.}}
* [[INKEY$]] (function) [[ASCII]] {{Text|returns a [[STRING|string]] value entry from the keyboard.}}
* [[INP]] (function) {{text|returns a numerical value from a specified port register address. See [[Keyboard scancodes]]}}
* [[INP]] (function) {{Text|returns a numerical value from a specified port register address. See [[Keyboard scancodes]]}}
* [[INPUT]] (statement) {{text|a user input that returns a value to one or more specified variable(s).}}
* [[INPUT]] (statement) {{Text|a user input that returns a value to one or more specified variable(s).}}
* [[INPUT (file mode)]] {{text|[[OPEN]] statement that only allows an existing file to be read using [[INPUT (file statement)]] or [[INPUT$]].}}
* [[INPUT (file mode)]] {{Text|[[OPEN]] statement that only allows an existing file to be read using [[INPUT (file statement)]] or [[INPUT$]].}}
* [[INPUT (file statement)]] {{text|reads a file sequentially using the variable types designated.}}
* [[INPUT (file statement)]] {{Text|reads a file sequentially using the variable types designated.}}
* [[INPUT$]] (function) {{text|returns a designated number of [[STRING|string]] bytes from the keyboard entry or a file number.}}
* [[INPUT$]] (function) {{Text|returns a designated number of [[STRING|string]] bytes from the keyboard entry or a file number.}}
* [[INSTR]] (function) {{text|returns the position in a text [[STRING|string]] where a character sequence match starts.}}
* [[INSTR]] (function) {{Text|returns the position in a text [[STRING|string]] where a character sequence match starts.}}
* [[INT]] (function) {{text|rounds a numerical value to an [[INTEGER]] value by removing the decimal point fraction.}}
* [[INT]] (function) {{Text|rounds a numerical value to an [[INTEGER]] value by removing the decimal point fraction.}}
* [[INTEGER]] (% numerical type) {{text|2 byte whole values from -32768 to 32767.}}
* [[INTEGER]] (% numerical type) {{Text|2 byte whole values from -32768 to 32767.}}
* [[INTERRUPT]] (statement) {{text|is used to access computer interrupt registers.}}
* [[INTERRUPT]] (statement) {{Text|is used to access computer interrupt registers.}}
* [[INTERRUPTX]] (statement) {{text|is used to access computer interrupt registers.}}
* [[INTERRUPTX]] (statement) {{Text|is used to access computer interrupt registers.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 592: Line 620:


==== K (QBasic) ====
==== K (QBasic) ====
* [[KEY n]] (statement) {{text|used with [[ON KEY(n)]] events to assign a "softkey" string to a key or create a  user defined key.}}
* [[KEY n]] (statement) {{Text|used with [[ON KEY(n)]] events to assign a "softkey" string to a key or create a  user defined key.}}
* [[KEY(n)]] (statement) {{text|used with [[ON KEY(n)]] events to assign, enable, disable or suspend event trapping.}}
* [[KEY(n)]] (statement) {{Text|used with [[ON KEY(n)]] events to assign, enable, disable or suspend event trapping.}}
* [[KEY LIST]] (statement) {{text|lists the 12 Function key soft key string assignments going down left side of screen.}}
* [[KEY LIST]] (statement) {{Text|lists the 12 Function key soft key string assignments going down left side of screen.}}
* [[KILL]] (statement) {{text|deletes the specified file without a warning. Remove empty folders with [[RMDIR]].}}
* [[KILL]] (statement) {{Text|deletes the specified file without a warning. Remove empty folders with [[RMDIR]].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 602: Line 630:


==== L (QBasic) ====
==== L (QBasic) ====
* [[LBOUND]] (function) {{text|returns the lower boundary of the specified array.}}
* [[LBOUND]] (function) {{Text|returns the lower boundary of the specified array.}}
* [[LCASE$]] (function) {{text|returns the lower case value of a [[STRING]].}}
* [[LCASE$]] (function) {{Text|returns the lower case value of a [[STRING]].}}
* [[LEFT$]] (function) {{text|returns the specified number of text characters from the left end of a [[STRING]].}}
* [[LEFT$]] (function) {{Text|returns the specified number of text characters from the left end of a [[STRING]].}}
* [[LEN]] (function) {{text|returns the length or number of characters in a [[STRING]] value in bytes.}}
* [[LEN]] (function) {{Text|returns the length or number of characters in a [[STRING]] value in bytes.}}
* [[LET]] (statement) {{text|assigns a variable a literal value. Not required.}}
* [[LET]] (statement) {{Text|assigns a variable a literal value. Not required.}}
* [[LINE]] (statement) {{text|creates a graphic line or box on the [[SCREEN]].}}
* [[LINE]] (statement) {{Text|creates a graphic line or box on the [[SCREEN]].}}
* [[LINE INPUT]] (statement) {{text|user input can be any text character including commas and quotes as a [[STRING]] value only.}}
* [[LINE INPUT]] (statement) {{Text|user input can be any text character including commas and quotes as a [[STRING]] value only.}}
* [[LINE INPUT (file statement)]] {{text|returns an entire text file line and returns it as a [[STRING]] value.}}
* [[LINE INPUT (file statement)]] {{Text|returns an entire text file line and returns it as a [[STRING]] value.}}
* [[KEY LIST|LIST]] {{text|displays the current [[ON KEY(n)]] function key (F1 to F10) "soft key" settings.}}
* [[KEY LIST|LIST]] {{Text|displays the current [[ON KEY(n)]] function key (F1 to F10) "soft key" settings.}}
* [[LOC]] (function) {{text|returns the present file byte position or number of bytes in the [[OPEN COM]] buffer.}}
* [[LOC]] (function) {{Text|returns the present file byte position or number of bytes in the [[OPEN COM]] buffer.}}
* [[LOCATE]] (statement) {{text|sets the text cursor's row and column position for a [[PRINT]] or [[INPUT]] statement.}}
* [[LOCATE]] (statement) {{Text|sets the text cursor's row and column position for a [[PRINT]] or [[INPUT]] statement.}}
* [[LOCK]] (statement) {{text|restricts access to portions or all of a file by other programs or processes.}}
* [[LOCK]] (statement) {{Text|restricts access to portions or all of a file by other programs or processes.}}
* [[LOF]] (function) {{text|returns the size of an [[OPEN]] file in bytes.}}
* [[LOF]] (function) {{Text|returns the size of an [[OPEN]] file in bytes.}}
* [[LOG]] (function) {{text|returns the natural logarithm of a specified numerical value}}
* [[LOG]] (function) {{Text|returns the natural logarithm of a specified numerical value}}
* [[LONG]] (& numerical type) {{text|4 byte whole values from -2147483648 to 2147483647.}}
* [[LONG]] (& numerical type) {{Text|4 byte whole values from -2147483648 to 2147483647.}}
* [[DO...LOOP|LOOP]] (block statement) {{text|bottom end of a recursive DO loop.}}
* [[DO...LOOP|LOOP]] (block statement) {{Text|bottom end of a recursive DO loop.}}
* [[LPOS]] (function) {{text|returns the printer head position.}}
* [[LPOS]] (function) {{Text|returns the printer head position.}}
* [[LPRINT]] (statement) {{text|sends [[STRING]] data to the default LPT or USB printer.}}
* [[LPRINT]] (statement) {{Text|sends [[STRING]] data to the default LPT or USB printer.}}
* [[LPRINT USING]] (statement) {{text|sends template formatted text to the default LPT or USB  printer.}}
* [[LPRINT USING]] (statement) {{Text|sends template formatted text to the default LPT or USB  printer.}}
* [[LSET]] (statement) {{text|left justifies the text in a string so that there are no leading spaces.}}
* [[LSET]] (statement) {{Text|left justifies the text in a string so that there are no leading spaces.}}
* [[LTRIM$]] (function) {{text|returns a [[STRING|string]] value with no leading spaces.}}
* [[LTRIM$]] (function) {{Text|returns a [[STRING|string]] value with no leading spaces.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 629: Line 657:


==== M (QBasic) ====
==== M (QBasic) ====
* [[MID$]] (function) {{text|returns a designated portion of a [[STRING]].}}
* [[MID$ (function)]] {{Text|returns a designated portion of a [[STRING]].}}
* [[MID$ (statement)]] {{text|redefines existing characters in a [[STRING]].}}
* [[MID$]] (statement) {{Text|redefines existing characters in a [[STRING]].}}
* [[MKD$]] (function) {{text|returns an 8 byte [[ASCII]] [[STRING|string]] representation of a [[DOUBLE]] numerical value.}}
* [[MKD$]] (function) {{Text|returns an 8 byte [[ASCII]] [[STRING|string]] representation of a [[DOUBLE]] numerical value.}}
* [[MKDIR]] (statement) {{text|creates a new folder in the current or designated program path.}}
* [[MKDIR]] (statement) {{Text|creates a new folder in the current or designated program path.}}
* [[MKDMBF$]] (function) {{text|returns an 8 byte Microsoft Binary Format [[STRING]] representation of a [[DOUBLE]] numerical value.}}
* [[MKDMBF$]] (function) {{Text|returns an 8 byte Microsoft Binary Format [[STRING]] representation of a [[DOUBLE]] numerical value.}}
* [[MKI$]] (function) {{text|returns a 2 byte [[ASCII]] [[STRING|string]] representation of an [[INTEGER]].}}
* [[MKI$]] (function) {{Text|returns a 2 byte [[ASCII]] [[STRING|string]] representation of an [[INTEGER]].}}
* [[MKL$]] (function) {{text|returns a 4 byte [[ASCII]] [[STRING|string]] representation of a [[LONG]] numerical value.}}
* [[MKL$]] (function) {{Text|returns a 4 byte [[ASCII]] [[STRING|string]] representation of a [[LONG]] numerical value.}}
* [[MKS$]] (function) {{text|returns a 4 byte [[ASCII]] [[STRING|string]] representation of a [[SINGLE]] numerical value.}}
* [[MKS$]] (function) {{Text|returns a 4 byte [[ASCII]] [[STRING|string]] representation of a [[SINGLE]] numerical value.}}
* [[MKSMBF$]] (function) {{text|returns an 8 byte Microsoft Binary Format [[STRING]] representation of a [[DOUBLE]] numerical value.}}
* [[MKSMBF$]] (function) {{Text|returns an 8 byte Microsoft Binary Format [[STRING]] representation of a [[DOUBLE]] numerical value.}}
* [[MOD]] (math operator) {{text|performs integer remainder division on a numerical value.}}
* [[MOD]] (math operator) {{Text|performs integer remainder division on a numerical value.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 645: Line 673:


==== N (QBasic) ====
==== N (QBasic) ====
* [[NAME]] (statement) {{text|names an existing file name [[AS]] a new file name.}}
* [[NAME]] (statement) {{Text|names an existing file name [[AS]] a new file name.}}
* [[NEXT]] (statement) {{text|bottom end of a [[FOR...NEXT]] counter loop to returns to the start or a [[RESUME|RESUME NEXT]] error.}}
* [[NEXT]] (statement) {{Text|bottom end of a [[FOR...NEXT]] counter loop to returns to the start or a [[RESUME|RESUME NEXT]] error.}}
* [[NOT]] (logical operator) {{text|inverts the value of a logic operation or returns True when a [[boolean]] evaluation is False.}}
* [[NOT]] (logical operator) {{Text|inverts the value of a logic operation or returns True when a [[boolean]] evaluation is False.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 654: Line 682:


==== O (QBasic) ====
==== O (QBasic) ====
* [[OCT$]] (function) {{text|returns the octal (base 8) [[STRING]] representation of the [[INTEGER]] part of any value.}}
* [[OCT$]] (function) {{Text|returns the octal (base 8) [[STRING]] representation of the [[INTEGER]] part of any value.}}
* [[OFF]] (event statement) {{text|turns off all [[ON]] event checking.}}
* [[OFF]] (event statement) {{Text|turns off all [[ON]] event checking.}}
* [[ON ERROR]] (statement) {{text|sets up and activates an error event checking procedure call. Use to avoid program errors.}}
* [[ON ERROR]] (statement) {{Text|sets up and activates an error event checking procedure call. Use to avoid program errors.}}
* [[ON KEY(n)]] (statement) {{text|sets up a keyboard key entry event procedure.}}
* [[ON KEY(n)]] (statement) {{Text|sets up a keyboard key entry event procedure.}}
* [[ON STRIG(n)]] (statement) {{text|sets up a joystick button event procedure call.}}
* [[ON STRIG(n)]] (statement) {{Text|sets up a joystick button event procedure call.}}
* [[ON TIMER(n)]] (statement) {{text|sets up a timed event procedure call.}}
* [[ON TIMER(n)]] (statement) {{Text|sets up a timed event procedure call.}}
* [[ON...GOSUB]] (statement) {{text|sets up a numerical event procedure call.}}
* [[ON...GOSUB]] (statement) {{Text|sets up a numerical event procedure call.}}
* [[ON...GOTO]] (statement) {{text|sets up a numerical event procedure call.}}
* [[ON...GOTO]] (statement) {{Text|sets up a numerical event procedure call.}}
* [[OPEN]] (file statement) {{text|opens a file name for an access mode with a specific file number.}}
* [[OPEN]] (file statement) {{Text|opens a file name for an access mode with a specific file number.}}
* [[OPEN COM]] (statement) {{text|opens a serial communication port for access at a certain speed and mode.}}
* [[OPEN COM]] (statement) {{Text|opens a serial communication port for access at a certain speed and mode.}}
* [[OPTION BASE]] (statement) {{text|can set the lower boundary of all arrays to 1.}}
* [[OPTION BASE]] (statement) {{Text|can set the lower boundary of all arrays to 1.}}
* [[OR]] (logic operator) {{text|is used to compare two numerical values bitwise.}}
* [[OR]] (logic operator) {{Text|is used to compare two numerical values bitwise.}}
* [[OR (boolean)]] {{text| conditonal operator is used to include an alternative evaluation in an [[IF...THEN]] or [[Boolean]] statement.}}
* [[OR (boolean)]] {{Text| conditonal operator is used to include an alternative evaluation in an [[IF...THEN]] or [[Boolean]] statement.}}
* [[OUT]] (statement) {{text|writes numerical data to a specified register port.}}
* [[OUT]] (statement) {{Text|writes numerical data to a specified register port.}}
* [[OUTPUT]] (file mode) {{text|creates a new file or clears all data from an existing file to acess the file sequencially.}}
* [[OUTPUT]] (file mode) {{Text|creates a new file or clears all data from an existing file to acess the file sequencially.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 675: Line 703:


==== P (QBasic) ====
==== P (QBasic) ====
* [[PAINT]] (statement) {{text|fills an enclosed area of a graphics [[SCREEN|screen]] with a color until it encounters a specific colored border.}}
* [[PAINT]] (statement) {{Text|fills an enclosed area of a graphics [[SCREEN|screen]] with a color until it encounters a specific colored border.}}
* [[PALETTE]] (statement) {{text|sets the Red, Green and Blue color attribute intensities using a RGB multiplier calculation.}}
* [[PALETTE]] (statement) {{Text|sets the Red, Green and Blue color attribute intensities using a RGB multiplier calculation.}}
* [[PALETTE USING]] (statement) {{text|sets the color intensity settings using a designated [[arrays|array]].}}
* [[PALETTE USING]] (statement) {{Text|sets the color intensity settings using a designated [[arrays|array]].}}
* [[PCOPY]] (statement) {{text|swaps two designated memory page images when page swapping is enabled in the [[SCREEN]] statement.}}
* [[PCOPY]] (statement) {{Text|swaps two designated memory page images when page swapping is enabled in the [[SCREEN]] statement.}}
* [[PEEK]] (function) {{text|returns a numerical value from a specified segment address in memory.}}
* [[PEEK]] (function) {{Text|returns a numerical value from a specified segment address in memory.}}
* [[PLAY]] (statement) {{text|uses a special [[STRING|string]] format that can produce musical tones and effects.}}
* [[PLAY]] (statement) {{Text|uses a special [[STRING|string]] format that can produce musical tones and effects.}}
* [[PLAY (function)]] {{text|returns the number of remaining notes in the background music queue.}}
* [[PLAY (function)]] {{Text|returns the number of remaining notes in the background music queue.}}
* [[PMAP]] (function) {{text|returns the physical or WINDOW view graphic coordinates.}}
* [[PMAP]] (function) {{Text|returns the physical or WINDOW view graphic coordinates.}}
* [[POINT]] (function) {{text|returns the color attribute number or 32 bit [[_RGB32]] value.}}
* [[POINT]] (function) {{Text|returns the color attribute number or 32 bit [[_RGB32]] value.}}
* [[POKE]] (statement) {{text|writes a numerical value to a specified segment address in memory.}}
* [[POKE]] (statement) {{Text|writes a numerical value to a specified segment address in memory.}}
* [[POS]] (function) {{text|returns the current text column position of the text cursor.}}
* [[POS]] (function) {{Text|returns the current text column position of the text cursor.}}
* [[PRESET]] (statement) {{text|sets a pixel coordinate to the background color unless one is specified.}}
* [[PRESET]] (statement) {{Text|sets a pixel coordinate to the background color unless one is specified.}}
* [[PRINT]] (statement) {{text|prints text [[STRING|strings]] or numerical values to the [[SCREEN]].}}
* [[PRINT]] (statement) {{Text|prints text [[STRING|strings]] or numerical values to the [[SCREEN]].}}
* [[PRINT (file statement)]] {{text|prints text [[STRING|strings]] or numerical values to a file.}}
* [[PRINT (file statement)]] {{Text|prints text [[STRING|strings]] or numerical values to a file.}}
* [[PRINT USING]] (statement) {{text|prints a template formatted [[STRING|string]] to the [[SCREEN]].}}
* [[PRINT USING]] (statement) {{Text|prints a template formatted [[STRING|string]] to the [[SCREEN]].}}
* [[PRINT USING (file statement)]] {{text|prints a template formatted [[STRING|string]] to a file.}}
* [[PRINT USING (file statement)]] {{Text|prints a template formatted [[STRING|string]] to a file.}}
* [[PSET]] (statement) {{text|sets a pixel coordinate to the current color unless a color is designated.}}
* [[PSET]] (statement) {{Text|sets a pixel coordinate to the current color unless a color is designated.}}
* [[PUT]] (file I/O statement) {{text|writes data sequencially or to a designated position using a variable value.}}
* [[PUT]] (file I/O statement) {{Text|writes data sequencially or to a designated position using a variable value.}}
* [[PUT (TCP/IP statement)|PUT (QB64 TCP/IP statement)]] {{text|sends raw data to a user's connection handle.}}
* [[PUT (TCP/IP statement)|PUT (QB64 TCP/IP statement)]] {{Text|sends raw data to a user's connection handle.}}
* [[PUT (graphics statement)]] {{text|places pixel data stored in an [[INTEGER]] array to a specified area of the [[SCREEN]].}}
* [[PUT (graphics statement)]] {{Text|places pixel data stored in an [[INTEGER]] array to a specified area of the [[SCREEN]].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 701: Line 729:


==== R (QBasic) ====
==== R (QBasic) ====
* [[RANDOM]] (file mode) {{text|creates a file or opens an existing file to [[GET|read]] and [[PUT|write]] records of a set byte size.}}
* [[RANDOM]] (file mode) {{Text|creates a file or opens an existing file to [[GET|read]] and [[PUT|write]] records of a set byte size.}}
* [[RANDOMIZE]] (statement) {{text|sets the random seed value for a specific sequence of random [[RND]] values.}}
* [[RANDOMIZE]] (statement) {{Text|sets the random seed value for a specific sequence of random [[RND]] values.}}
* [[RANDOMIZE|RANDOMIZE USING (QB64 statement)]] {{text|restarts the designated seed value's random sequence of values from the beginning.}}
* [[RANDOMIZE|RANDOMIZE USING (QB64 statement)]] {{Text|restarts the designated seed value's random sequence of values from the beginning.}}
* [[READ]] (statement) {{text|reads values from a [[DATA]] field. [[ACCESS]] READ is used with the [[OPEN]] statement.}}
* [[READ]] (statement) {{Text|reads values from a [[DATA]] field. [[ACCESS]] READ is used with the [[OPEN]] statement.}}
* [[REDIM]] (statement) {{text|creates a new [[$DYNAMIC|dynamic]] array or resizes one without losing data when [[_PRESERVE]] is used.}}
* [[REDIM]] (statement) {{Text|creates a new [[$DYNAMIC|dynamic]] array or resizes one without losing data when [[_PRESERVE]] is used.}}
* [[REM]] (statement) {{text|or an apostrophe tells the program to ignore statements following it on the same line.}}
* [[REM]] (statement) {{Text|or an apostrophe tells the program to ignore statements following it on the same line.}}
* [[RESET]] (statement) {{text| closes all files and writes the directory information to a diskette before it is removed from a disk drive.}}
* [[RESET]] (statement) {{Text| closes all files and writes the directory information to a diskette before it is removed from a disk drive.}}
* [[RESTORE]] (statement) {{text|resets the [[DATA]] pointer to the start of a designated field of data.}}
* [[RESTORE]] (statement) {{Text|resets the [[DATA]] pointer to the start of a designated field of data.}}
* [[RESUME]] (statement) {{text|an [[ERROR Codes|error]] handling procedure exit that can send the program to a line number or the [[NEXT]] code line.}}
* [[RESUME]] (statement) {{Text|an [[ERROR Codes|error]] handling procedure exit that can send the program to a line number or the [[NEXT]] code line.}}
* [[RETURN]] (statement) {{text|returns the program to the code immediately following a [[GOSUB]] call.}}
* [[RETURN]] (statement) {{Text|returns the program to the code immediately following a [[GOSUB]] call.}}
* [[RIGHT$]] (function) {{text|returns a specific number of text characters from the right end of a [[STRING]].}}
* [[RIGHT$]] (function) {{Text|returns a specific number of text characters from the right end of a [[STRING]].}}
* [[RMDIR]] (statement) {{text|removes an empty folder from the current path or the one designated.}}
* [[RMDIR]] (statement) {{Text|removes an empty folder from the current path or the one designated.}}
* [[RND]] (function) {{text|returns a random number value from 0 to .9999999.}}
* [[RND]] (function) {{Text|returns a random number value from 0 to .9999999.}}
* [[RSET]] (statement) {{text|right justifies a string value so that any end spaces are moved to the beginning.}}
* [[RSET]] (statement) {{Text|right justifies a string value so that any end spaces are moved to the beginning.}}
* [[RTRIM$]] (function) {{text|returns a [[STRING|string]] with all spaces removed from the right end.}}
* [[RTRIM$]] (function) {{Text|returns a [[STRING|string]] with all spaces removed from the right end.}}
* [[RUN]] (statement) {{text|clears and restarts the program currently in memory or executes another specified program.}}
* [[RUN]] (statement) {{Text|clears and restarts the program currently in memory or executes another specified program.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 723: Line 751:


==== S (QBasic) ====
==== S (QBasic) ====
* [[SADD]] (function) {{text|returns the address of a STRING variable as an offset from the current data segment.}}
* [[SADD]] (function) {{Text|returns the address of a STRING variable as an offset from the current data segment.}}
* [[SCREEN (function)]] {{text|can return the [[ASCII]] character code or color of the text at a text designated coordinate.}}
* [[SCREEN (function)]] {{Text|can return the [[ASCII]] character code or color of the text at a text designated coordinate.}}
* [[SCREEN]] (statement) {{text|sets the display mode and size of the program window.}}
* [[SCREEN]] (statement) {{Text|sets the display mode and size of the program window.}}
* [[SEEK]] (function) {{text|returns the present byte position in an [[OPEN|opened]] file.}}
* [[SEEK (function)]] {{Text|returns the present byte position in an [[OPEN|opened]] file.}}
* [[SEEK (statement)]] {{text|moves to a specified position in an [[OPEN|opened]] file.}}
* [[SEEK]] (statement) {{Text|moves to a specified position in an [[OPEN|opened]] file.}}
* [[SELECT CASE]] (statement) {{text|a program flow block that can handle numerous conditional evaluations.}}
* [[SELECT CASE]] (statement) {{Text|a program flow block that can handle numerous conditional evaluations.}}
* [[SGN]] (function) {{text|returns -1 for negative, 0 for zero, and 1 for positive numerical values.}}
* [[SGN]] (function) {{Text|returns -1 for negative, 0 for zero, and 1 for positive numerical values.}}
* [[SHARED]] (statement) {{text|designates that a variable can be used by other procedures or the main procedure when in a sub-procedure.}}
* [[SHARED]] (statement) {{Text|designates that a variable can be used by other procedures or the main procedure when in a sub-procedure.}}
* [[SHELL]] (statement) {{text|sends [[STRING]] commands to the command line. SHELL calls will not affect the current path.}}
* [[SHELL]] (statement) {{Text|sends [[STRING]] commands to the command line. SHELL calls will not affect the current path.}}
* [[SHELL (function)|SHELL (QB64 function)]] {{text|executes an external command or calls another program. Returns codes sent by [[END]] or [[SYSTEM]].}}
* [[SHELL (function)]] {{Text|executes an external command or calls another program. Returns codes sent by [[END]] or [[SYSTEM]].}}
* [[SIN]] (function) {{text|returns the sine of a radian angle.}}
* [[SIN]] (function) {{Text|returns the sine of a radian angle.}}
* [[SINGLE]] (! numerical type) {{text|4 byte floating decimal point values up to 7 decimal places.}}
* [[SINGLE]] (! numerical type) {{Text|4 byte floating decimal point values up to 7 decimal places.}}
* [[SLEEP]] (statement) {{text|pauses the program for a designated number of seconds or until a key is pressed.}}
* [[SLEEP]] (statement) {{Text|pauses the program for a designated number of seconds or until a key is pressed.}}
* [[SOUND]] (statement) {{text|creates a sound of a specified frequency and duration.}}
* [[SOUND]] (statement) {{Text|creates a sound of a specified frequency and duration.}}
* [[SPACE$]] (function) {{text|returns a designated number of spaces to a [[STRING]].}}
* [[SPACE$]] (function) {{Text|returns a designated number of spaces to a [[STRING]].}}
* [[SPC]] (function) {{text|moves the text cursor a number of spaces on the [[SCREEN]].}}
* [[SPC]] (function) {{Text|moves the text cursor a number of spaces on the [[SCREEN]].}}
* [[SQR]] (function) {{text|returns the square root of a non-negative number.}}
* [[SQR]] (function) {{Text|returns the square root of a non-negative number.}}
* [[STATIC]] (statement) {{text|creates a [[SUB]] or [[FUNCTION]] variable that retains its value.}}
* [[STATIC]] (statement) {{Text|creates a [[SUB]] or [[FUNCTION]] variable that retains its value.}}
* [[$STATIC]] ([[Metacommand]]) {{text|used at the start of a program to set all program arrays as unchangeable in size using [[DIM]].}}
* [[$STATIC]] (metacommand) {{Text|used at the start of a program to set all program arrays as unchangeable in size using [[DIM]].}}
* [[STEP]] (keyword) {{text|move relatively from one graphic position or change the counting increment in a [[FOR...NEXT]] loop.}}
* [[STEP]] (keyword) {{Text|move relatively from one graphic position or change the counting increment in a [[FOR...NEXT]] loop.}}
* [[STICK]] (function) {{text|returns the present joystick position.}}
* [[STICK]] (function) {{Text|returns the present joystick position.}}
* [[STOP]] (statement) {{text|stops a program when troubleshooting or stops an [[ON]] event.}}
* [[STOP]] (statement) {{Text|stops a program when troubleshooting or stops an [[ON]] event.}}
* [[STR$]] (function) {{text|returns a [[STRING|string]] value of a number with a leading space when it is positive.}}
* [[STR$]] (function) {{Text|returns a [[STRING|string]] value of a number with a leading space when it is positive.}}
* [[STRIG]] (function) {{text|returns the joystick button press values when read.}}
* [[STRIG]] (function) {{Text|returns the joystick button press values when read.}}
* [[STRIG(n)]] (statement)
* [[STRIG(n)]] (statement)
* [[STRING]] ($ variable type) {{text|one byte text variable with [[ASCII]] code values from 0 to 255.}}
* [[STRING]] ($ variable type) {{Text|one byte text variable with [[ASCII]] code values from 0 to 255.}}
* [[STRING$]] (function) {{text|returns a designated number of string characters.}}
* [[STRING$]] (function) {{Text|returns a designated number of string characters.}}
* [[SUB]] (procedure block) {{text|sub-procedure that can calculate and return multiple parameter values.}}
* [[SUB]] (procedure block) {{Text|sub-procedure that can calculate and return multiple parameter values.}}
* [[SWAP]] (statement) {{text|swaps two [[STRING|string]] or numerical values.}}
* [[SWAP]] (statement) {{Text|swaps two [[STRING|string]] or numerical values.}}
* [[SYSTEM]] (statement) {{text|ends a program immediately.}}
* [[SYSTEM]] (statement) {{Text|ends a program immediately.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 759: Line 787:


==== T (QBasic) ====
==== T (QBasic) ====
* [[TAB]] (function) {{text|moves a designated number of columns on the [[SCREEN|screen]].}}
* [[TAB]] (function) {{Text|moves a designated number of columns on the [[SCREEN|screen]].}}
* [[TAN]] (function) {{text|returns the ratio of [[SIN]]e to [[COS]]ine or tangent value of an angle measured in radians.}}
* [[TAN]] (function) {{Text|returns the ratio of [[SIN]]e to [[COS]]ine or tangent value of an angle measured in radians.}}
* [[THEN]] ([[IF...THEN]] keyword) {{text|must be used in a one line [[IF...THEN]] program flow statement.}}
* [[THEN]] ([[IF...THEN]] keyword) {{Text|must be used in a one line [[IF...THEN]] program flow statement.}}
* [[TIME$]] (function) {{text|returns the present time setting of the Operating System as a  format hh:mm:ss [[STRING]].}}
* [[TIME$]] (function) {{Text|returns the present time setting of the Operating System as a  format hh:mm:ss [[STRING]].}}
* [[TIMER]] (function) {{text|returns the number of seconds since midnight as a [[SINGLE]] value.}}
* [[TIMER (function)]] {{Text|returns the number of seconds since midnight as a [[SINGLE]] value.}}
* [[TIMER (statement)]] {{text|events based on the designated time interval and timer number.}}
* [[TIMER]] (statement) {{Text|events based on the designated time interval and timer number.}}
* [[TO]] {{text|indicates a range of numerical values or an assignment of one value to another.}}
* [[TO]] {{Text|indicates a range of numerical values or an assignment of one value to another.}}
* [[TYPE]] (definition) {{text|defines a variable type or file record that can include any [[STRING]] or numerical types.}}
* [[TYPE]] (definition) {{Text|defines a variable type or file record that can include any [[STRING]] or numerical types.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 773: Line 801:


==== U (QBasic) ====
==== U (QBasic) ====
* [[UBOUND]] (function) {{text|returns the upper-most index number of a designated [[arrays|array]].}}
* [[UBOUND]] (function) {{Text|returns the upper-most index number of a designated [[arrays|array]].}}
* [[UCASE$]] (function) {{text|returns an uppercase representation of a specified [[STRING]].}}
* [[UCASE$]] (function) {{Text|returns an uppercase representation of a specified [[STRING]].}}
* [[UNLOCK]] (statement) {{text|unlocks a designated file or portions of it.}}
* [[UNLOCK]] (statement) {{Text|unlocks a designated file or portions of it.}}
* [[UNTIL]] (condition) {{text|evaluates a [[DO...LOOP]] condition until it is True.}}
* [[UNTIL]] (condition) {{Text|evaluates a [[DO...LOOP]] condition until it is True.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 783: Line 811:


==== V (QBasic) ====
==== V (QBasic) ====
* [[VAL]] (function) {{text|returns the numerical value of a [[STRING|string]] number.}}
* [[VAL]] (function) {{Text|returns the numerical value of a [[STRING|string]] number.}}
* [[VARPTR]] (function) {{text|returns the [[segment]] pointer address in memory.}}
* [[VARPTR]] (function) {{Text|returns the [[segment]] pointer address in memory.}}
* [[VARPTR$]] (function) {{text|returns the string value of a numerical value in memory.}}
* [[VARPTR$]] (function) {{Text|returns the string value of a numerical value in memory.}}
* [[VARSEG]] (function) {{text|returns the [[segment]] address of a value in memory.}}
* [[VARSEG]] (function) {{Text|returns the [[segment]] address of a value in memory.}}
* [[VIEW]] (graphics statement) {{text|sets up a graphic view port area of the [[SCREEN|screen]].}}
* [[VIEW]] (graphics statement) {{Text|sets up a graphic view port area of the [[SCREEN|screen]].}}
* [[VIEW PRINT]] (statement) {{text|sets up a text viewport area of the [[SCREEN|screen]].}}
* [[VIEW PRINT]] (statement) {{Text|sets up a text viewport area of the [[SCREEN|screen]].}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 795: Line 823:


==== W (QBasic) ====
==== W (QBasic) ====
* [[WAIT]] (statement) {{text|waits until a vertical retrace is started or a [[SCREEN|screen]] draw ends.}}
* [[WAIT]] (statement) {{Text|waits until a vertical retrace is started or a [[SCREEN|screen]] draw ends.}}
* [[WEND]] (statement) {{text|the bottom end of a [[WHILE...WEND]] loop.}}
* [[WEND]] (statement) {{Text|the bottom end of a [[WHILE...WEND]] loop.}}
* [[WHILE]] (condition) {{text|evaluates a [[DO...LOOP]] or [[WHILE...WEND]] condition until it is False.}}
* [[WHILE]] (condition) {{Text|evaluates a [[DO...LOOP]] or [[WHILE...WEND]] condition until it is False.}}
* [[WHILE...WEND]] (statement) {{text|sets a recursive procedure loop that can only be exited using the [[WHILE]] conditional argument.}}
* [[WHILE...WEND]] (statement) {{Text|sets a recursive procedure loop that can only be exited using the [[WHILE]] conditional argument.}}
* [[WIDTH]] (statement) {{text|sets the text column and row sizes in several [[SCREEN]] modes.}}
* [[WIDTH]] (statement) {{Text|sets the text column and row sizes in several [[SCREEN]] modes.}}
* [[WINDOW]] (statement) {{text|maps a window size different from the program's window size.}}
* [[WINDOW]] (statement) {{Text|maps a window size different from the program's window size.}}
* [[WRITE]] (screen I/O statement) {{text|prints variable values to the screen with commas separating each value.}}
* [[WRITE]] (screen I/O statement) {{Text|prints variable values to the screen with commas separating each value.}}
* [[WRITE (file statement)]] {{text|writes data to a file with each variable value separated by commas.}}
* [[WRITE (file statement)]] {{Text|writes data to a file with each variable value separated by commas.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 809: Line 837:


==== X (QBasic) ====
==== X (QBasic) ====
* [[XOR (boolean)]] (logic operator) {{text|is used to compare two numerical values bitwise.}}
* [[XOR (boolean)]] (logic operator) {{Text|is used to compare two numerical values bitwise.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 818: Line 846:
== QB64 OpenGL keywords ==
== QB64 OpenGL keywords ==
<center>'''All QB64 OpenGL keywords must use the underscore prefix as listed below.'''</center>
<center>'''All QB64 OpenGL keywords must use the underscore prefix as listed below.'''</center>
<center>Use [[$NOPREFIX]] to enable these to be used without the leading underscore.</center>


* '''Important:''' see [[_GL|SUB _GL]]
* '''Important:''' see [[_GL|SUB _GL]]
Line 825: Line 852:


==== _glA (OpenGL) ====
==== _glA (OpenGL) ====
* [[_glAccum]] (statement) {{text|operates on the accumulation buffer}}
* [[_glAccum]] (statement) {{Text|operates on the accumulation buffer}}
* [[_glAlphaFunc]] (statement) {{text|enables your application to set the alpha test function.}}
* [[_glAlphaFunc]] (statement) {{Text|enables your application to set the alpha test function.}}
* [[_glAreTexturesResident]] (function) {{text|determines whether specified texture objects are resident in texture memory.}}
* [[_glAreTexturesResident]] (function) {{Text|determines whether specified texture objects are resident in texture memory.}}
* [[_glArrayElement]] (statement) {{text|specifies the array elements used to render a vertex.}}
* [[_glArrayElement]] (statement) {{Text|specifies the array elements used to render a vertex.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 835: Line 862:


==== _glB (OpenGL) ====
==== _glB (OpenGL) ====
* [[_glBegin]] (statement) {{text|the '''_glBegin''' and '''_glEnd''' statements delimit the vertices of a primitive or a group of like primitives.}}
* [[_glBegin]] (statement) {{Text|the '''_glBegin''' and '''_glEnd''' statements delimit the vertices of a primitive or a group of like primitives.}}
* [[_glBindTexture]] (statement) {{text|enables the creation of a named texture that is bound to a texture target}}
* [[_glBindTexture]] (statement) {{Text|enables the creation of a named texture that is bound to a texture target}}
* [[_glBitmap]] (statement) {{text|draws a bitmap.}}
* [[_glBitmap]] (statement) {{Text|draws a bitmap.}}
* [[_glBlendFunc]] (statement) {{text|specifies pixel arithmetic.}}
* [[_glBlendFunc]] (statement) {{Text|specifies pixel arithmetic.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 845: Line 872:


==== _glC (OpenGL) ====
==== _glC (OpenGL) ====
* [[_glCallList]] (statement) {{text|executes a display list.}}
* [[_glCallList]] (statement) {{Text|executes a display list.}}
* [[_glCallLists]] (statement) {{text|executes a list of display lists.}}
* [[_glCallLists]] (statement) {{Text|executes a list of display lists.}}
* [[_glClear]] (statement) {{text|clears buffers to preset values.}}
* [[_glClear]] (statement) {{Text|clears buffers to preset values.}}
* [[_glClearAccum]] (statement) {{text|specifies the clear values for the accumulation buffer.}}
* [[_glClearAccum]] (statement) {{Text|specifies the clear values for the accumulation buffer.}}
* [[_glClearColor]] (statement) {{text|specifies clear values for the color buffers.}}
* [[_glClearColor]] (statement) {{Text|specifies clear values for the color buffers.}}
* [[_glClearDepth]] (statement) {{text|specifies the clear value for the depth buffer.}}
* [[_glClearDepth]] (statement) {{Text|specifies the clear value for the depth buffer.}}
* [[_glClearIndex]] (statement) {{text|specifies the clear value for the color-index buffers.}}
* [[_glClearIndex]] (statement) {{Text|specifies the clear value for the color-index buffers.}}
* [[_glClearStencil]] (statement) {{text|specifies the clear value for the stencil buffer.}}
* [[_glClearStencil]] (statement) {{Text|specifies the clear value for the stencil buffer.}}
* [[_glClipPlane]] (statement) {{text|specifies a plane against which all geometry is clipped.}}
* [[_glClipPlane]] (statement) {{Text|specifies a plane against which all geometry is clipped.}}
* [[_glColor3b]] (statement) {{text|sets the current color.}}
* [[_glColor3b]] (statement) {{Text|sets the current color.}}
* [[_glColor3bv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3bv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3d]] (statement) {{text|sets the current color.}}
* [[_glColor3d]] (statement) {{Text|sets the current color.}}
* [[_glColor3dv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3dv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3f]] (statement) {{text|sets the current color.}}
* [[_glColor3f]] (statement) {{Text|sets the current color.}}
* [[_glColor3fv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3fv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3i]] (statement) {{text|sets the current color.}}
* [[_glColor3i]] (statement) {{Text|sets the current color.}}
* [[_glColor3iv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3iv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3s]] (statement) {{text|sets the current color.}}
* [[_glColor3s]] (statement) {{Text|sets the current color.}}
* [[_glColor3sv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3sv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3ub]] (statement) {{text|sets the current color.}}
* [[_glColor3ub]] (statement) {{Text|sets the current color.}}
* [[_glColor3ubv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3ubv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3ui]] (statement) {{text|sets the current color.}}
* [[_glColor3ui]] (statement) {{Text|sets the current color.}}
* [[_glColor3uiv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3uiv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor3us]] (statement) {{text|sets the current color.}}
* [[_glColor3us]] (statement) {{Text|sets the current color.}}
* [[_glColor3usv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor3usv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4b]] (statement) {{text|sets the current color.}}
* [[_glColor4b]] (statement) {{Text|sets the current color.}}
* [[_glColor4bv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4bv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4d]] (statement) {{text|sets the current color.}}
* [[_glColor4d]] (statement) {{Text|sets the current color.}}
* [[_glColor4dv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4dv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4f]] (statement) {{text|sets the current color.}}
* [[_glColor4f]] (statement) {{Text|sets the current color.}}
* [[_glColor4fv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4fv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4i]] (statement) {{text|sets the current color.}}
* [[_glColor4i]] (statement) {{Text|sets the current color.}}
* [[_glColor4iv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4iv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4s]] (statement) {{text|sets the current color.}}
* [[_glColor4s]] (statement) {{Text|sets the current color.}}
* [[_glColor4sv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4sv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4ub]] (statement) {{text|sets the current color.}}
* [[_glColor4ub]] (statement) {{Text|sets the current color.}}
* [[_glColor4ubv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4ubv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4ui]] (statement) {{text|sets the current color.}}
* [[_glColor4ui]] (statement) {{Text|sets the current color.}}
* [[_glColor4uiv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4uiv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColor4us]] (statement) {{text|sets the current color.}}
* [[_glColor4us]] (statement) {{Text|sets the current color.}}
* [[_glColor4usv]] (statement) {{text|sets the current color from an already existing array of color values.}}
* [[_glColor4usv]] (statement) {{Text|sets the current color from an already existing array of color values.}}
* [[_glColorMask]] (statement) {{text|enables and disables writing of frame-buffer color components.}}
* [[_glColorMask]] (statement) {{Text|enables and disables writing of frame-buffer color components.}}
* [[_glColorMaterial]] (statement) {{text|causes a material color to track the current color.}}
* [[_glColorMaterial]] (statement) {{Text|causes a material color to track the current color.}}
* [[_glColorPointer]] (statement) {{text|defines an array of colors.}}
* [[_glColorPointer]] (statement) {{Text|defines an array of colors.}}
* [[_glCopyPixels]] (statement) {{text|copies pixels in the framebuffer.}}
* [[_glCopyPixels]] (statement) {{Text|copies pixels in the framebuffer.}}
* [[_glCopyTexImage1D]] (statement) {{text|copies pixels from the framebuffer into a one-dimensional texture image.}}
* [[_glCopyTexImage1D]] (statement) {{Text|copies pixels from the framebuffer into a one-dimensional texture image.}}
* [[_glCopyTexImage2D]] (statement) {{text|copies pixels from the framebuffer into a two-dimensional texture image.}}
* [[_glCopyTexImage2D]] (statement) {{Text|copies pixels from the framebuffer into a two-dimensional texture image.}}
* [[_glCopyTexSubImage1D]] (statement) {{text|copies a sub-image of a one-dimensional texture image from the framebuffer.}}
* [[_glCopyTexSubImage1D]] (statement) {{Text|copies a sub-image of a one-dimensional texture image from the framebuffer.}}
* [[_glCopyTexSubImage2D]] (statement) {{text|copies a sub-image of a two-dimensional texture image from the framebuffer.}}
* [[_glCopyTexSubImage2D]] (statement) {{Text|copies a sub-image of a two-dimensional texture image from the framebuffer.}}
* [[_glCullFace]] (statement) {{text|specifies whether front-facing or back-facing facets can be culled.}}
* [[_glCullFace]] (statement) {{Text|specifies whether front-facing or back-facing facets can be culled.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 901: Line 928:


==== _glD (OpenGL) ====
==== _glD (OpenGL) ====
* [[_glDeleteLists]] (statement) {{text|deletes a contiguous group of display lists.}}
* [[_glDeleteLists]] (statement) {{Text|deletes a contiguous group of display lists.}}
* [[_glDeleteTextures]] (statement) {{text|deletes named textures.}}
* [[_glDeleteTextures]] (statement) {{Text|deletes named textures.}}
* [[_glDepthFunc]] (statement) {{text|specifies the value used for depth-buffer comparisons.}}
* [[_glDepthFunc]] (statement) {{Text|specifies the value used for depth-buffer comparisons.}}
* [[_glDepthMask]] (statement) {{text|enables or disables writing into the depth buffer.}}
* [[_glDepthMask]] (statement) {{Text|enables or disables writing into the depth buffer.}}
* [[_glDepthRange]] (statement) {{text|specifies the mapping of z values from normalized device coordinates to window coordinates.}}
* [[_glDepthRange]] (statement) {{Text|specifies the mapping of z values from normalized device coordinates to window coordinates.}}
* [[_glDisable]] (statement) {{text|the '''_glEnable''' and '''_glDisable''' statements enable or disable OpenGL capabilities.}}
* [[_glDisable]] (statement) {{Text|the '''_glEnable''' and '''_glDisable''' statements enable or disable OpenGL capabilities.}}
* [[_glDisableClientState]] (statement) {{text|the '''_glEnableClientState''' and '''_glDisableClientState''' statements enable and disable arrays.}}
* [[_glDisableClientState]] (statement) {{Text|the '''_glEnableClientState''' and '''_glDisableClientState''' statements enable and disable arrays.}}
* [[_glDrawArrays]] (statement) {{text|specifies multiple primitives to render.}}
* [[_glDrawArrays]] (statement) {{Text|specifies multiple primitives to render.}}
* [[_glDrawBuffer]] (statement) {{text|specifies which color buffers are to be drawn into.}}
* [[_glDrawBuffer]] (statement) {{Text|specifies which color buffers are to be drawn into.}}
* [[_glDrawElements]] (statement) {{text|renders primitives from array data.}}
* [[_glDrawElements]] (statement) {{Text|renders primitives from array data.}}
* [[_glDrawPixels]] (statement) {{text|writes a block of pixels to the framebuffer.}}
* [[_glDrawPixels]] (statement) {{Text|writes a block of pixels to the framebuffer.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 918: Line 945:


==== _glE (OpenGL) ====
==== _glE (OpenGL) ====
* [[_glEdgeFlag]] (statement) {{text|flags edges as either boundary or nonboundary.}}
* [[_glEdgeFlag]] (statement) {{Text|flags edges as either boundary or nonboundary.}}
* [[_glEdgeFlagv]] (statement) {{text|flags edges as either boundary or nonboundary.}}
* [[_glEdgeFlagv]] (statement) {{Text|flags edges as either boundary or nonboundary.}}
* [[_glEdgeFlagPointer]] (statement) {{text|defines an array of edge flags.}}
* [[_glEdgeFlagPointer]] (statement) {{Text|defines an array of edge flags.}}
* [[_glEnable]] (statement) {{text|the '''_glEnable''' and '''_glDisable''' statements enable or disable OpenGL capabilities.}}
* [[_glEnable]] (statement) {{Text|the '''_glEnable''' and '''_glDisable''' statements enable or disable OpenGL capabilities.}}
* [[_glEnableClientState]] (statement) {{text|the '''_glEnableClientState''' and '''_glDisableClientState''' statements enable and disable arrays.}}
* [[_glEnableClientState]] (statement) {{Text|the '''_glEnableClientState''' and '''_glDisableClientState''' statements enable and disable arrays.}}
* [[_glEnd]] (statement) {{text|the '''_glBegin''' and '''_glEnd''' statements delimit the vertices of a primitive or a group of like primitives.}}
* [[_glEnd]] (statement) {{Text|the '''_glBegin''' and '''_glEnd''' statements delimit the vertices of a primitive or a group of like primitives.}}
* [[_glEndList]] (statement) {{text|the '''_glNewList''' and '''_glEndList''' statements create or replace a display list.}}
* [[_glEndList]] (statement) {{Text|the '''_glNewList''' and '''_glEndList''' statements create or replace a display list.}}
* [[_glEvalCoord1d]] (statement) {{text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1d]] (statement) {{Text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1dv]] (statement) {{text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1dv]] (statement) {{Text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1f]] (statement) {{text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1f]] (statement) {{Text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1fv]] (statement) {{text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord1fv]] (statement) {{Text|evaluates enabled one-dimensional maps.}}
* [[_glEvalCoord2d]] (statement) {{text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2d]] (statement) {{Text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2dv]] (statement) {{text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2dv]] (statement) {{Text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2f]] (statement) {{text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2f]] (statement) {{Text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2fv]] (statement) {{text|evaluates enabled two-dimensional maps.}}
* [[_glEvalCoord2fv]] (statement) {{Text|evaluates enabled two-dimensional maps.}}
* [[_glEvalMesh1]] (statement) {{text|computes a one-dimensional grid of points or lines.}}
* [[_glEvalMesh1]] (statement) {{Text|computes a one-dimensional grid of points or lines.}}
* [[_glEvalMesh2]] (statement) {{text|computes a two-dimensional grid of points or lines.}}
* [[_glEvalMesh2]] (statement) {{Text|computes a two-dimensional grid of points or lines.}}
* [[_glEvalPoint1]] (statement) {{text|generate and evaluate a single point in a mesh.}}
* [[_glEvalPoint1]] (statement) {{Text|generate and evaluate a single point in a mesh.}}
* [[_glEvalPoint2]] (statement) {{text|generate and evaluate a single point in a mesh.}}
* [[_glEvalPoint2]] (statement) {{Text|generate and evaluate a single point in a mesh.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 943: Line 970:


==== _glF (OpenGL) ====
==== _glF (OpenGL) ====
* [[_glFeedbackBuffer]] (statement) {{text|controls feedback mode.}}
* [[_glFeedbackBuffer]] (statement) {{Text|controls feedback mode.}}
* [[_glFinish]] (statement) {{text|blocks until all OpenGL execution is complete.}}
* [[_glFinish]] (statement) {{Text|blocks until all OpenGL execution is complete.}}
* [[_glFlush]] (statement) {{text|forces execution of OpenGL functions in finite time.}}
* [[_glFlush]] (statement) {{Text|forces execution of OpenGL functions in finite time.}}
* [[_glFogf]] (statement) {{text|specifies fog parameters.}}
* [[_glFogf]] (statement) {{Text|specifies fog parameters.}}
* [[_glFogfv]] (statement) {{text|specifies fog parameters.}}
* [[_glFogfv]] (statement) {{Text|specifies fog parameters.}}
* [[_glFogi]] (statement) {{text|specifies fog parameters.}}
* [[_glFogi]] (statement) {{Text|specifies fog parameters.}}
* [[_glFogiv]] (statement) {{text|specifies fog parameters.}}
* [[_glFogiv]] (statement) {{Text|specifies fog parameters.}}
* [[_glFrontFace]] (statement) {{text|defines front-facing and back-facing polygons.}}
* [[_glFrontFace]] (statement) {{Text|defines front-facing and back-facing polygons.}}
* [[_glFrustum]] (statement) {{text|multiplies the current matrix by a perspective matrix.}}
* [[_glFrustum]] (statement) {{Text|multiplies the current matrix by a perspective matrix.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 958: Line 985:


==== _glG (OpenGL) ====
==== _glG (OpenGL) ====
* [[_glGenLists]] (function) {{text|generates a contiguous set of empty display lists.}}
* [[_glGenLists]] (function) {{Text|generates a contiguous set of empty display lists.}}
* [[_glGenTextures]] (statement) {{text|generates texture names.}}
* [[_glGenTextures]] (statement) {{Text|generates texture names.}}
* [[_glGetBooleanv]] (statement) {{text|returns the value or values of a selected parameter.}}
* [[_glGetBooleanv]] (statement) {{Text|returns the value or values of a selected parameter.}}
* [[_glGetClipPlane]] (statement) {{text|returns the coefficients of the specified clipping plane.}}
* [[_glGetClipPlane]] (statement) {{Text|returns the coefficients of the specified clipping plane.}}
* [[_glGetDoublev]] (statement) {{text|returns the value or values of a selected parameter.}}
* [[_glGetDoublev]] (statement) {{Text|returns the value or values of a selected parameter.}}
* [[_glGetError]] (function) {{text|returns error information.}}
* [[_glGetError]] (function) {{Text|returns error information.}}
* [[_glGetFloatv]] (statement) {{text|returns the value or values of a selected parameter.}}
* [[_glGetFloatv]] (statement) {{Text|returns the value or values of a selected parameter.}}
* [[_glGetIntegerv]] (statement) {{text|returns the value or values of a selected parameter.}}
* [[_glGetIntegerv]] (statement) {{Text|returns the value or values of a selected parameter.}}
* [[_glGetLightfv]] (statement) {{text|return light source parameter values.}}
* [[_glGetLightfv]] (statement) {{Text|return light source parameter values.}}
* [[_glGetLightiv]] (statement) {{text|return light source parameter values.}}
* [[_glGetLightiv]] (statement) {{Text|return light source parameter values.}}
* [[_glGetMapdv]] (statement) {{text|return evaluator parameters.}}
* [[_glGetMapdv]] (statement) {{Text|return evaluator parameters.}}
* [[_glGetMapfv]] (statement) {{text|return evaluator parameters.}}
* [[_glGetMapfv]] (statement) {{Text|return evaluator parameters.}}
* [[_glGetMapiv]] (statement) {{text|return evaluator parameters.}}
* [[_glGetMapiv]] (statement) {{Text|return evaluator parameters.}}
* [[_glGetMaterialfv]] (statement) {{text|return material parameters.}}
* [[_glGetMaterialfv]] (statement) {{Text|return material parameters.}}
* [[_glGetMaterialiv]] (statement) {{text|return material parameters.}}
* [[_glGetMaterialiv]] (statement) {{Text|return material parameters.}}
* [[_glGetPixelMapfv]] (statement) {{text|return the specified pixel map.}}
* [[_glGetPixelMapfv]] (statement) {{Text|return the specified pixel map.}}
* [[_glGetPixelMapuiv]] (statement) {{text|return the specified pixel map.}}
* [[_glGetPixelMapuiv]] (statement) {{Text|return the specified pixel map.}}
* [[_glGetPixelMapusv]] (statement) {{text|return the specified pixel map.}}
* [[_glGetPixelMapusv]] (statement) {{Text|return the specified pixel map.}}
* [[_glGetPointerv]] (statement) {{text|returns the address of a vertex data array.}}
* [[_glGetPointerv]] (statement) {{Text|returns the address of a vertex data array.}}
* [[_glGetPolygonStipple]] (statement) {{text|returns the polygon stipple pattern.}}
* [[_glGetPolygonStipple]] (statement) {{Text|returns the polygon stipple pattern.}}
* [[_glGetString]] (function) {{text|returns a string describing the current OpenGL connection.}}
* [[_glGetString]] (function) {{Text|returns a string describing the current OpenGL connection.}}
* [[_glGetTexEnvfv]] (statement) {{text|return texture environment parameters.}}
* [[_glGetTexEnvfv]] (statement) {{Text|return texture environment parameters.}}
* [[_glGetTexEnviv]] (statement) {{text|return texture environment parameters.}}
* [[_glGetTexEnviv]] (statement) {{Text|return texture environment parameters.}}
* [[_glGetTexGendv]] (statement) {{text|return texture coordinate generation parameters.}}
* [[_glGetTexGendv]] (statement) {{Text|return texture coordinate generation parameters.}}
* [[_glGetTexGenfv]] (statement) {{text|return texture coordinate generation parameters.}}
* [[_glGetTexGenfv]] (statement) {{Text|return texture coordinate generation parameters.}}
* [[_glGetTexGeniv]] (statement) {{text|return texture coordinate generation parameters.}}
* [[_glGetTexGeniv]] (statement) {{Text|return texture coordinate generation parameters.}}
* [[_glGetTexImage]] (statement) {{text|returns a texture image.}}
* [[_glGetTexImage]] (statement) {{Text|returns a texture image.}}
* [[_glGetTexLevelParameterfv]] (statement) {{text|return texture parameter values for a specific level of detail.}}
* [[_glGetTexLevelParameterfv]] (statement) {{Text|return texture parameter values for a specific level of detail.}}
* [[_glGetTexLevelParameteriv]] (statement) {{text|return texture parameter values for a specific level of detail.}}
* [[_glGetTexLevelParameteriv]] (statement) {{Text|return texture parameter values for a specific level of detail.}}
* [[_glGetTexParameterfv]] (statement) {{text|return texture parameter values.}}
* [[_glGetTexParameterfv]] (statement) {{Text|return texture parameter values.}}
* [[_glGetTexParameteriv]] (statement) {{text|return texture parameter values.}}
* [[_glGetTexParameteriv]] (statement) {{Text|return texture parameter values.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 995: Line 1,022:


==== _glH (OpenGL) ====
==== _glH (OpenGL) ====
* [[_glHint]] (statement) {{text|specifies implementation-specific hints.}}
* [[_glHint]] (statement) {{Text|specifies implementation-specific hints.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,002: Line 1,029:


==== _glI (OpenGL) ====
==== _glI (OpenGL) ====
* [[_glIndexMask]] (statement) {{text|controls the writing of individual bits in the color-index buffers.}}
* [[_glIndexMask]] (statement) {{Text|controls the writing of individual bits in the color-index buffers.}}
* [[_glIndexPointer]] (statement) {{text|defines an array of color indexes.}}
* [[_glIndexPointer]] (statement) {{Text|defines an array of color indexes.}}
* [[_glIndexd]] (statement) {{text|sets the current color index.}}
* [[_glIndexd]] (statement) {{Text|sets the current color index.}}
* [[_glIndexdv]] (statement) {{text|sets the current color index.}}
* [[_glIndexdv]] (statement) {{Text|sets the current color index.}}
* [[_glIndexf]] (statement) {{text|sets the current color index.}}
* [[_glIndexf]] (statement) {{Text|sets the current color index.}}
* [[_glIndexfv]] (statement) {{text|sets the current color index.}}
* [[_glIndexfv]] (statement) {{Text|sets the current color index.}}
* [[_glIndexi]] (statement) {{text|sets the current color index.}}
* [[_glIndexi]] (statement) {{Text|sets the current color index.}}
* [[_glIndexiv]] (statement) {{text|sets the current color index.}}
* [[_glIndexiv]] (statement) {{Text|sets the current color index.}}
* [[_glIndexs]] (statement) {{text|sets the current color index.}}
* [[_glIndexs]] (statement) {{Text|sets the current color index.}}
* [[_glIndexsv]] (statement) {{text|sets the current color index.}}
* [[_glIndexsv]] (statement) {{Text|sets the current color index.}}
* [[_glIndexub]] (statement) {{text|sets the current color index.}}
* [[_glIndexub]] (statement) {{Text|sets the current color index.}}
* [[_glIndexubv]] (statement) {{text|sets the current color index.}}
* [[_glIndexubv]] (statement) {{Text|sets the current color index.}}
* [[_glInitNames]] (statement) {{text|initializes the name stack.}}
* [[_glInitNames]] (statement) {{Text|initializes the name stack.}}
* [[_glInterleavedArrays]] (statement) {{text|simultaneously specifies and enables several interleaved arrays in a larger aggregate array.}}
* [[_glInterleavedArrays]] (statement) {{Text|simultaneously specifies and enables several interleaved arrays in a larger aggregate array.}}
* [[_glIsEnabled]] (function) {{text|tests whether a capability is enabled.}}
* [[_glIsEnabled]] (function) {{Text|tests whether a capability is enabled.}}
* [[_glIsList]] (function) {{text|tests for display list existence.}}
* [[_glIsList]] (function) {{Text|tests for display list existence.}}
* [[_glIsTexture]] (function) {{text|determines if a name corresponds to a texture.}}
* [[_glIsTexture]] (function) {{Text|determines if a name corresponds to a texture.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,025: Line 1,052:


==== _glL (OpenGL) ====
==== _glL (OpenGL) ====
* [[_glLightModelf]] (statement) {{text|sets lighting model parameters.}}
* [[_glLightModelf]] (statement) {{Text|sets lighting model parameters.}}
* [[_glLightModelfv]] (statement) {{text|sets lighting model parameters.}}
* [[_glLightModelfv]] (statement) {{Text|sets lighting model parameters.}}
* [[_glLightModeli]] (statement) {{text|sets lighting model parameters.}}
* [[_glLightModeli]] (statement) {{Text|sets lighting model parameters.}}
* [[_glLightModeliv]] (statement) {{text|sets lighting model parameters.}}
* [[_glLightModeliv]] (statement) {{Text|sets lighting model parameters.}}
* [[_glLightf]] (statement) {{text|returns light source parameter values.}}
* [[_glLightf]] (statement) {{Text|returns light source parameter values.}}
* [[_glLightfv]] (statement) {{text|returns light source parameter values.}}
* [[_glLightfv]] (statement) {{Text|returns light source parameter values.}}
* [[_glLighti]] (statement) {{text|returns light source parameter values.}}
* [[_glLighti]] (statement) {{Text|returns light source parameter values.}}
* [[_glLightiv]] (statement) {{text|returns light source parameter values.}}
* [[_glLightiv]] (statement) {{Text|returns light source parameter values.}}
* [[_glLineStipple]] (statement) {{text|specifies the line stipple pattern.}}
* [[_glLineStipple]] (statement) {{Text|specifies the line stipple pattern.}}
* [[_glLineWidth]] (statement) {{text|specifies the width of rasterized lines.}}
* [[_glLineWidth]] (statement) {{Text|specifies the width of rasterized lines.}}
* [[_glListBase]] (statement) {{text|sets the display list base for '''_glCallLists'''.}}
* [[_glListBase]] (statement) {{Text|sets the display list base for '''_glCallLists'''.}}
* [[_glLoadIdentity]] (statement) {{text|replaces the current matrix with the identity matrix.}}
* [[_glLoadIdentity]] (statement) {{Text|replaces the current matrix with the identity matrix.}}
* [[_glLoadMatrixd]] (statement) {{text|replaces the current matrix with an arbitrary matrix.}}
* [[_glLoadMatrixd]] (statement) {{Text|replaces the current matrix with an arbitrary matrix.}}
* [[_glLoadMatrixf]] (statement) {{text|replaces the current matrix with an arbitrary matrix.}}
* [[_glLoadMatrixf]] (statement) {{Text|replaces the current matrix with an arbitrary matrix.}}
* [[_glLoadName]] (statement) {{text|loads a name onto the name stack.}}
* [[_glLoadName]] (statement) {{Text|loads a name onto the name stack.}}
* [[_glLogicOp]] (statement) {{text|specifies a logical pixel operation for color index rendering.}}
* [[_glLogicOp]] (statement) {{Text|specifies a logical pixel operation for color index rendering.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,047: Line 1,074:


==== _glM (OpenGL) ====
==== _glM (OpenGL) ====
* [[_glMap1d]] (statement) {{text|defines a one-dimensional evaluator.}}
* [[_glMap1d]] (statement) {{Text|defines a one-dimensional evaluator.}}
* [[_glMap1f]] (statement) {{text|defines a one-dimensional evaluator.}}
* [[_glMap1f]] (statement) {{Text|defines a one-dimensional evaluator.}}
* [[_glMap2d]] (statement) {{text|defines a two-dimensional evaluator.}}
* [[_glMap2d]] (statement) {{Text|defines a two-dimensional evaluator.}}
* [[_glMap2f]] (statement) {{text|defines a two-dimensional evaluator.}}
* [[_glMap2f]] (statement) {{Text|defines a two-dimensional evaluator.}}
* [[_glMapGrid1d]] (statement) {{text|defines a one-dimensional mesh.}}
* [[_glMapGrid1d]] (statement) {{Text|defines a one-dimensional mesh.}}
* [[_glMapGrid1f]] (statement) {{text|defines a one-dimensional mesh.}}
* [[_glMapGrid1f]] (statement) {{Text|defines a one-dimensional mesh.}}
* [[_glMapGrid2d]] (statement) {{text|defines a two-dimensional mesh.}}
* [[_glMapGrid2d]] (statement) {{Text|defines a two-dimensional mesh.}}
* [[_glMapGrid2f]] (statement) {{text|defines a two-dimensional mesh.}}
* [[_glMapGrid2f]] (statement) {{Text|defines a two-dimensional mesh.}}
* [[_glMaterialf]] (statement) {{text|specifies material parameters for the lighting model.}}
* [[_glMaterialf]] (statement) {{Text|specifies material parameters for the lighting model.}}
* [[_glMaterialfv]] (statement) {{text|specifies material parameters for the lighting model.}}
* [[_glMaterialfv]] (statement) {{Text|specifies material parameters for the lighting model.}}
* [[_glMateriali]] (statement) {{text|specifies material parameters for the lighting model.}}
* [[_glMateriali]] (statement) {{Text|specifies material parameters for the lighting model.}}
* [[_glMaterialiv]] (statement) {{text|specifies material parameters for the lighting model.}}
* [[_glMaterialiv]] (statement) {{Text|specifies material parameters for the lighting model.}}
* [[_glMatrixMode]] (statement) {{text|specifies which matrix is the current matrix.}}
* [[_glMatrixMode]] (statement) {{Text|specifies which matrix is the current matrix.}}
* [[_glMultMatrixd]] (statement) {{text|multiplies the current matrix by an arbitrary matrix.}}
* [[_glMultMatrixd]] (statement) {{Text|multiplies the current matrix by an arbitrary matrix.}}
* [[_glMultMatrixf]] (statement) {{text|multiplies the current matrix by an arbitrary matrix.}}
* [[_glMultMatrixf]] (statement) {{Text|multiplies the current matrix by an arbitrary matrix.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,068: Line 1,095:


==== _glN (OpenGL) ====
==== _glN (OpenGL) ====
* [[_glNewList]] (statement) {{text|the '''_glNewList''' and '''_glEndList''' statements create or replace a display list.}}
* [[_glNewList]] (statement) {{Text|the '''_glNewList''' and '''_glEndList''' statements create or replace a display list.}}
* [[_glNormal3b]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3b]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3bv]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3bv]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3d]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3d]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3dv]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3dv]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3f]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3f]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3fv]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3fv]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3i]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3i]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3iv]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3iv]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3s]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3s]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormal3sv]] (statement) {{text|sets the current normal vector.}}
* [[_glNormal3sv]] (statement) {{Text|sets the current normal vector.}}
* [[_glNormalPointer]] (statement) {{text|defines an array of normals.}}
* [[_glNormalPointer]] (statement) {{Text|defines an array of normals.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,086: Line 1,113:


==== _glO (OpenGL) ====
==== _glO (OpenGL) ====
* [[_glOrtho]] (statement) {{text|multiplies the current matrix by an orthographic matrix.}}
* [[_glOrtho]] (statement) {{Text|multiplies the current matrix by an orthographic matrix.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,093: Line 1,120:


==== _glP (OpenGL) ====
==== _glP (OpenGL) ====
* [[_glPassThrough]] (statement) {{text|places a marker in the feedback buffer.}}
* [[_glPassThrough]] (statement) {{Text|places a marker in the feedback buffer.}}
* [[_gluPerspective]] (statement) {{text|sets up a perspective projection matrix.}}
* [[_gluPerspective]] (statement) {{Text|sets up a perspective projection matrix.}}
* [[_glPixelMapfv]] (statement) {{text|sets up pixel transfer maps.}}
* [[_glPixelMapfv]] (statement) {{Text|sets up pixel transfer maps.}}
* [[_glPixelMapuiv]] (statement) {{text|sets up pixel transfer maps.}}
* [[_glPixelMapuiv]] (statement) {{Text|sets up pixel transfer maps.}}
* [[_glPixelMapusv]] (statement) {{text|sets up pixel transfer maps.}}
* [[_glPixelMapusv]] (statement) {{Text|sets up pixel transfer maps.}}
* [[_glPixelStoref]] (statement) {{text|sets pixel storage modes.}}
* [[_glPixelStoref]] (statement) {{Text|sets pixel storage modes.}}
* [[_glPixelStorei]] (statement) {{text|sets pixel storage modes.}}
* [[_glPixelStorei]] (statement) {{Text|sets pixel storage modes.}}
* [[_glPixelTransferf]] (statement) {{text|sets pixel transfer modes.}}
* [[_glPixelTransferf]] (statement) {{Text|sets pixel transfer modes.}}
* [[_glPixelTransferi]] (statement) {{text|sets pixel transfer modes.}}
* [[_glPixelTransferi]] (statement) {{Text|sets pixel transfer modes.}}
* [[_glPixelZoom]] (statement) {{text|specifies the pixel zoom factors.}}
* [[_glPixelZoom]] (statement) {{Text|specifies the pixel zoom factors.}}
* [[_glPointSize]] (statement) {{text|specifies the diameter of rasterized points.}}
* [[_glPointSize]] (statement) {{Text|specifies the diameter of rasterized points.}}
* [[_glPolygonMode]] (statement) {{text|selects a polygon rasterization mode.}}
* [[_glPolygonMode]] (statement) {{Text|selects a polygon rasterization mode.}}
* [[_glPolygonOffset]] (statement) {{text|sets the scale and units OpenGL uses to calculate depth values.}}
* [[_glPolygonOffset]] (statement) {{Text|sets the scale and units OpenGL uses to calculate depth values.}}
* [[_glPolygonStipple]] (statement) {{text|sets the polygon stippling pattern.}}
* [[_glPolygonStipple]] (statement) {{Text|sets the polygon stippling pattern.}}
* [[_glPopAttrib]] (statement) {{text|the '''_glPushAttrib''' and '''_glPopAttrib''' statements push and pop the attribute stack.}}
* [[_glPopAttrib]] (statement) {{Text|the '''_glPushAttrib''' and '''_glPopAttrib''' statements push and pop the attribute stack.}}
* [[_glPopClientAttrib]] (statement) {{text|the '''_glPushClientAttrib''' and '''_glPopClientAttrib''' statements save and restore groups of client-state variables on the client-attribute stack.}}
* [[_glPopClientAttrib]] (statement) {{Text|the '''_glPushClientAttrib''' and '''_glPopClientAttrib''' statements save and restore groups of client-state variables on the client-attribute stack.}}
* [[_glPopMatrix]] (statement) {{text|the '''_glPushMatrix''' and '''_glPopMatrix''' statements push and pop the current matrix stack.}}
* [[_glPopMatrix]] (statement) {{Text|the '''_glPushMatrix''' and '''_glPopMatrix''' statements push and pop the current matrix stack.}}
* [[_glPopName]] (statement) {{text|the '''_glPushName''' and '''_glPopName''' statements push and pop the name stack.}}
* [[_glPopName]] (statement) {{Text|the '''_glPushName''' and '''_glPopName''' statements push and pop the name stack.}}
* [[_glPrioritizeTextures]] (statement) {{text|sets the residence priority of textures.}}
* [[_glPrioritizeTextures]] (statement) {{Text|sets the residence priority of textures.}}
* [[_glPushAttrib]] (statement) {{text|the '''_glPushAttrib''' and '''_glPopAttrib''' statements push and pop the attribute stack.}}
* [[_glPushAttrib]] (statement) {{Text|the '''_glPushAttrib''' and '''_glPopAttrib''' statements push and pop the attribute stack.}}
* [[_glPushClientAttrib]] (statement) {{text|the '''_glPushClientAttrib''' and '''_glPopClientAttrib''' statements save and restore groups of client-state variables on the client-attribute stack.}}
* [[_glPushClientAttrib]] (statement) {{Text|the '''_glPushClientAttrib''' and '''_glPopClientAttrib''' statements save and restore groups of client-state variables on the client-attribute stack.}}
* [[_glPushMatrix]] (statement) {{text|the '''_glPushMatrix''' and '''_glPopMatrix''' statements push and pop the current matrix stack.}}
* [[_glPushMatrix]] (statement) {{Text|the '''_glPushMatrix''' and '''_glPopMatrix''' statements push and pop the current matrix stack.}}
* [[_glPushName]] (statement) {{text|the '''_glPushName''' and '''_glPopName''' statements push and pop the name stack.}}
* [[_glPushName]] (statement) {{Text|the '''_glPushName''' and '''_glPopName''' statements push and pop the name stack.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,122: Line 1,149:


==== _glR (OpenGL) ====
==== _glR (OpenGL) ====
* [[_glRasterPos2d]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2d]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2dv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2dv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2f]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2f]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2fv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2fv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2i]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2i]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2iv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2iv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2s]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2s]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2sv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos2sv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3d]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3d]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3dv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3dv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3f]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3f]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3fv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3fv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3i]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3i]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3iv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3iv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3s]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3s]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3sv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos3sv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4d]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4d]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4dv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4dv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4f]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4f]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4fv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4fv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4i]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4i]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4iv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4iv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4s]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4s]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4sv]] (statement) {{text|specifies the raster position for pixel operations.}}
* [[_glRasterPos4sv]] (statement) {{Text|specifies the raster position for pixel operations.}}
* [[_glReadBuffer]] (statement) {{text|selects a color buffer source for pixels.}}
* [[_glReadBuffer]] (statement) {{Text|selects a color buffer source for pixels.}}
* [[_glReadPixels]] (statement) {{text|reads a block of pixels from the framebuffer.}}
* [[_glReadPixels]] (statement) {{Text|reads a block of pixels from the framebuffer.}}
* [[_glRectd]] (statement) {{text|draws a rectangle.}}
* [[_glRectd]] (statement) {{Text|draws a rectangle.}}
* [[_glRectdv]] (statement) {{text|draws a rectangle.}}
* [[_glRectdv]] (statement) {{Text|draws a rectangle.}}
* [[_glRectf]] (statement) {{text|draws a rectangle.}}
* [[_glRectf]] (statement) {{Text|draws a rectangle.}}
* [[_glRectfv]] (statement) {{text|draws a rectangle.}}
* [[_glRectfv]] (statement) {{Text|draws a rectangle.}}
* [[_glRecti]] (statement) {{text|draws a rectangle.}}
* [[_glRecti]] (statement) {{Text|draws a rectangle.}}
* [[_glRectiv]] (statement) {{text|draws a rectangle.}}
* [[_glRectiv]] (statement) {{Text|draws a rectangle.}}
* [[_glRects]] (statement) {{text|draws a rectangle.}}
* [[_glRects]] (statement) {{Text|draws a rectangle.}}
* [[_glRectsv]] (statement) {{text|draws a rectangle.}}
* [[_glRectsv]] (statement) {{Text|draws a rectangle.}}
* [[_glRenderMode]] (function) {{text|sets the rasterization mode and returns the previous active mode.}}
* [[_glRenderMode]] (function) {{Text|sets the rasterization mode and returns the previous active mode.}}
* [[_glRotated]] (statement) {{text|multiplies the current matrix by a rotation matrix.}}
* [[_glRotated]] (statement) {{Text|multiplies the current matrix by a rotation matrix.}}
* [[_glRotatef]] (statement) {{text|multiplies the current matrix by a rotation matrix.}}
* [[_glRotatef]] (statement) {{Text|multiplies the current matrix by a rotation matrix.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,165: Line 1,192:


==== _glS (OpenGL) ====
==== _glS (OpenGL) ====
* [[_glScaled]] (statement) {{text|multiplies the current matrix by a general scaling matrix.}}
* [[_glScaled]] (statement) {{Text|multiplies the current matrix by a general scaling matrix.}}
* [[_glScalef]] (statement) {{text|multiplies the current matrix by a general scaling matrix.}}
* [[_glScalef]] (statement) {{Text|multiplies the current matrix by a general scaling matrix.}}
* [[_glScissor]] (statement) {{text|defines the scissor box.}}
* [[_glScissor]] (statement) {{Text|defines the scissor box.}}
* [[_glSelectBuffer]] (statement) {{text|establishes a buffer for selection mode values.}}
* [[_glSelectBuffer]] (statement) {{Text|establishes a buffer for selection mode values.}}
* [[_glShadeModel]] (statement) {{text|selects flat or smooth shading.}}
* [[_glShadeModel]] (statement) {{Text|selects flat or smooth shading.}}
* [[_glStencilFunc]] (statement) {{text|sets the function and reference value for stencil testing.}}
* [[_glStencilFunc]] (statement) {{Text|sets the function and reference value for stencil testing.}}
* [[_glStencilMask]] (statement) {{text|controls the writing of individual bits in the stencil planes.}}
* [[_glStencilMask]] (statement) {{Text|controls the writing of individual bits in the stencil planes.}}
* [[_glStencilOp]] (statement) {{text|sets the stencil test actions.}}
* [[_glStencilOp]] (statement) {{Text|sets the stencil test actions.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,179: Line 1,206:


==== _glT (OpenGL) ====
==== _glT (OpenGL) ====
* [[_glTexCoord1d]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1d]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1dv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1dv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1f]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1f]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1fv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1fv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1i]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1i]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1iv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1iv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1s]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1s]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord1sv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord1sv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2d]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2d]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2dv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2dv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2f]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2f]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2fv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2fv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2i]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2i]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2iv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2iv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2s]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2s]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord2sv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord2sv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3d]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3d]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3dv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3dv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3f]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3f]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3fv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3fv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3i]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3i]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3iv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3iv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3s]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3s]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord3sv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord3sv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4d]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4d]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4dv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4dv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4f]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4f]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4fv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4fv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4i]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4i]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4iv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4iv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4s]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4s]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoord4sv]] (statement) {{text|sets the current texture coordinates.}}
* [[_glTexCoord4sv]] (statement) {{Text|sets the current texture coordinates.}}
* [[_glTexCoordPointer]] (statement) {{text|defines an array of texture coordinates.}}
* [[_glTexCoordPointer]] (statement) {{Text|defines an array of texture coordinates.}}
* [[_glTexEnvf]] (statement) {{text|sets a texture environment parameter.}}
* [[_glTexEnvf]] (statement) {{Text|sets a texture environment parameter.}}
* [[_glTexEnvfv]] (statement) {{text|sets a texture environment parameter.}}
* [[_glTexEnvfv]] (statement) {{Text|sets a texture environment parameter.}}
* [[_glTexEnvi]] (statement) {{text|sets a texture environment parameter.}}
* [[_glTexEnvi]] (statement) {{Text|sets a texture environment parameter.}}
* [[_glTexEnviv]] (statement) {{text|sets a texture environment parameter.}}
* [[_glTexEnviv]] (statement) {{Text|sets a texture environment parameter.}}
* [[_glTexGend]] (statement) {{text|controls the generation of texture coordinates.}}
* [[_glTexGend]] (statement) {{Text|controls the generation of texture coordinates.}}
* [[_glTexGendv]] (statement) {{text|controls the generation of texture coordinates.}}
* [[_glTexGendv]] (statement) {{Text|controls the generation of texture coordinates.}}
* [[_glTexGenf]] (statement) {{text|controls the generation of texture coordinates.}}
* [[_glTexGenf]] (statement) {{Text|controls the generation of texture coordinates.}}
* [[_glTexGenfv]] (statement) {{text|controls the generation of texture coordinates.}}
* [[_glTexGenfv]] (statement) {{Text|controls the generation of texture coordinates.}}
* [[_glTexGeni]] (statement) {{text|controls the generation of texture coordinates.}}
* [[_glTexGeni]] (statement) {{Text|controls the generation of texture coordinates.}}
* [[_glTexGeniv]] (statement) {{text|controls the generation of texture coordinates.}}
* [[_glTexGeniv]] (statement) {{Text|controls the generation of texture coordinates.}}
* [[_glTexImage1D]] (statement) {{text|specifies a one-dimensional texture image.}}
* [[_glTexImage1D]] (statement) {{Text|specifies a one-dimensional texture image.}}
* [[_glTexImage2D]] (statement) {{text|specifies a two-dimensional texture image.}}
* [[_glTexImage2D]] (statement) {{Text|specifies a two-dimensional texture image.}}
* [[_glTexParameterf]] (statement) {{text|sets texture parameters.}}
* [[_glTexParameterf]] (statement) {{Text|sets texture parameters.}}
* [[_glTexParameterfv]] (statement) {{text|sets texture parameters.}}
* [[_glTexParameterfv]] (statement) {{Text|sets texture parameters.}}
* [[_glTexParameteri]] (statement) {{text|sets texture parameters.}}
* [[_glTexParameteri]] (statement) {{Text|sets texture parameters.}}
* [[_glTexParameteriv]] (statement) {{text|sets texture parameters.}}
* [[_glTexParameteriv]] (statement) {{Text|sets texture parameters.}}
* [[_glTexSubImage1D]] (statement) {{text|specifies a portion of an existing one-dimensional texture image.}}
* [[_glTexSubImage1D]] (statement) {{Text|specifies a portion of an existing one-dimensional texture image.}}
* [[_glTexSubImage2D]] (statement) {{text|specifies a portion of an existing one-dimensional texture image.}}
* [[_glTexSubImage2D]] (statement) {{Text|specifies a portion of an existing one-dimensional texture image.}}
* [[_glTranslated]] (statement) {{text|multiplies the current matrix by a translation matrix.}}
* [[_glTranslated]] (statement) {{Text|multiplies the current matrix by a translation matrix.}}
* [[_glTranslatef]] (statement) {{text|multiplies the current matrix by a translation matrix.}}
* [[_glTranslatef]] (statement) {{Text|multiplies the current matrix by a translation matrix.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,238: Line 1,265:


==== _glV (OpenGL) ====
==== _glV (OpenGL) ====
* [[_glVertex2d]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2d]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2dv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2dv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2f]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2f]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2fv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2fv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2i]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2i]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2iv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2iv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2s]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2s]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex2sv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex2sv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3d]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3d]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3dv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3dv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3f]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3f]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3fv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3fv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3i]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3i]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3iv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3iv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3s]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3s]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex3sv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex3sv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4d]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4d]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4dv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4dv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4f]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4f]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4fv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4fv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4i]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4i]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4iv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4iv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4s]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4s]] (statement) {{Text|specifies a vertex.}}
* [[_glVertex4sv]] (statement) {{text|specifies a vertex.}}
* [[_glVertex4sv]] (statement) {{Text|specifies a vertex.}}
* [[_glVertexPointer]] (statement) {{text|defines an array of vertex data.}}
* [[_glVertexPointer]] (statement) {{Text|defines an array of vertex data.}}
* [[_glViewport]] (statement) {{text|sets the viewport.}}
* [[_glViewport]] (statement) {{Text|sets the viewport.}}


<center>([[#toc|Return to Table of Contents]])</center>
<center>([[#toc|Return to Table of Contents]])</center>
Line 1,284: Line 1,311:


:'''Program Code Markers'''
:'''Program Code Markers'''
* [[Apostrophe|' Apostrophe]] ignores a line of code or program comment and MUST be used before a [[Metacommand]]. Same as using [[REM]].
* [[Apostrophe|' Apostrophe]] ignores a line of code or program comment and must be used before a legacy QBasic [[Metacommand]]. Same as using [[REM]].
* [[Comma|, Comma]] is used to separate [[DATA]], [[SUB]] or [[FUNCTION]] parameter variables.
* [[Comma|, Comma]] is used to separate [[DATA]], [[SUB]] or [[FUNCTION]] parameter variables.
* [[Colon|: Colon]]s can be used to separate two procedure statements on one code line.
* [[Colon|: Colon]]s can be used to separate two procedure statements on one code line.
* [[Dollar Sign|$ Dollar sign]] prefix denotes a QBasic [[Metacommand]].
* [[Dollar Sign|$ Dollar sign]] used as prefix denotes a legacy QBasic [[Metacommand]], used as suffix it denotes a [[STRING]] variable.
* [[Parenthesis|( ) Parenthesis]] enclose a math or conditional procedure order, [[SUB]] or [[FUNCTION]] parameters or to pass by value.
* [[Parenthesis|( ) Parenthesis]] enclose a math or conditional procedure order, [[SUB]] or [[FUNCTION]] parameters or to pass by value.
* [[+|+ Plus]] [[concatenation]] operator MUST be used to combine literal string values in a variable definition.
* [[+|+ Plus]] [[concatenation]] operator MUST be used to combine literal string values in a variable definition.
Line 1,334: Line 1,361:




== QB64 Programming References ==
{{PageReferences}}
 
<center>'''Wiki Pages'''</center>
 
<center>[[Main Page|Main Page with Articles and Tutorials]]</center>
 
<center>[[Keyword Reference - Alphabetical#QB64_specific_keywords|QB64 specific keywords (alphabetical)]]</center>
 
<center>[[Keyword Reference - Alphabetical#Original_QBasic_keywords|Original QBasic keywords (alphabetical)]]</center>
 
<center>[[Keyword Reference - Alphabetical#QB64_OpenGL_keywords|QB64 OpenGL keywords (alphabetical)]]</center>
 
<center>[[Keyword Reference - By usage|Keywords by Usage]]</center>
 
<center>'''Got a question about something?'''</center>
 
<center>[[QB64 FAQ|Frequently Asked Questions about QB64]]</center>
 
<center>[http://qb64phoenix.com/forum/index.php QB64 Phoenix Edition Community Forum]</center>
 
<center>'''Links to other QBasic Sites:'''</center>
 
<center>[http://www.petesqbsite.com/phpBB3/ Pete's QBasic Forum]</center>
 
<center>[http://www.petesqbsite.com/downloads/downloads.shtml Pete's QBasic Downloads]</center>
 
 
<center>([[#toc|Return to Table of Contents]])</center>

Revision as of 12:16, 19 November 2024

Alphabetical Keyword Listings

QB64:   A  B  C  D  E  F  G  H  I  K  L  M  N  O  P  R  S  T  U  V  W

QBasic:   A  B  C  D  E  F  G  H  I  K  L  M  N  O  P  R  S  T  U  V  W  X

OpenGL:   A  B  C  D  E  F  G  H  I  L  M  N  O  P  R  S  T  V

Symbols   -   References   -   Historic




Main Page with Articles and Tutorials
Metacommands overview
Keywords by Usage
Keywords beginning with underscores are QB64 specific.
Keywords without the underscore at the beginning should work with both QB 4.5 and QB64.
Keywords currently not supported by QB64
Keyword not supported in Linux or macOS versions
Frequently Asked Questions about QB64
Post comments or suggestions for this Wiki at the Wiki Discussion Forum.


QB64 specific keywords

All QB64 specific keywords must use the underscore prefix as listed below.

_A (QB64)

  • _ACCEPTFILEDROP (statement) turns a program window into a valid drop destination for dragging files from Windows Explorer.
  • _ACOS (function) arccosine function returns the angle in radians based on an input COSine value range from -1 to 1.
  • _ACOSH (function) Returns the nonnegative arc hyperbolic cosine of x, expressed in radians.
  • _ADLER32 (function) Returns the Adler-32 checksum of any arbitrary string.
  • _ALLOWFULLSCREEN (statement) allows setting the behavior of the ALT+ENTER combo.
  • _ALPHA (function) returns the alpha channel transparency level of a color value used on a screen page or image.
  • _ALPHA32 (function) returns the alpha channel transparency level of a color value used on a 32 bit screen page or image.
  • _ANDALSO (logical operator) performs short-circuiting logical conjunction on two expressions.
  • _ARCCOT (function) is the inverse function of the cotangent.
  • _ARCCSC (function) is the inverse function of the cosecant.
  • _ARCSEC (function) is the inverse function of the secant.
  • _ASIN (function) Returns the principal value of the arc sine of x, expressed in radians.
  • _ASINH (function) Returns the arc hyperbolic sine of x, expressed in radians.
  • _ASSERT (statement) Performs debug tests.
  • $ASSERTS (metacommand) enables debug tests with the _ASSERT macro.
  • _ATAN2 (function) Returns the principal value of the arc tangent of y/x, expressed in radians.
  • _ATANH (function) Returns the arc hyperbolic tangent of x, expressed in radians.
  • _AUTODISPLAY (statement) enables the automatic display of the screen image changes previously disabled by _DISPLAY.
  • _AUTODISPLAY (function) returns the current display mode as true (-1) if automatic or false (0) if per request using _DISPLAY.
  • _AXIS (function) returns a SINGLE value between -1 and 1 indicating the maximum distance from the device axis center, 0.
(Return to Table of Contents)

_B (QB64)

  • _BACKGROUNDCOLOR (function) returns the current background color for an image handle or page.
  • _BIT (` numerical type) can return only signed values of 0 (bit off) and -1 (bit on). Unsigned 0 or 1.
  • _BIN$ (function) returns the binary (base 2) STRING representation of the INTEGER part of any value.
  • _BLEND (statement) statement turns on 32 bit alpha blending for the current image or screen mode and is default.
  • _BLEND (function) returns -1 if enabled or 0 if disabled by _DONTBLEND statement.
  • _BLINK (statement) statement turns blinking colors on/off in SCREEN 0
  • _BLINK (function) returns -1 if enabled or 0 if disabled by _BLINK statement.
  • _BLUE (function) function returns the palette or the blue component intensity of a 32-bit image color.
  • _BLUE32 (function) returns the blue component intensity of a 32-bit color value.
  • _BUTTON (function) returns -1 when a controller device button is pressed and 0 when button is released.
  • _BUTTONCHANGE (function) returns -1 when a device button has been pressed and 1 when released. Zero indicates no change.
  • _BYTE (%% numerical type) can hold signed values from -128 to 127 (one byte or _BIT * 8). Unsigned from 0 to 255.
(Return to Table of Contents)

_C (QB64)

  • _CAPSLOCK (function) returns -1 when Caps Lock is on
  • _CAPSLOCK (statement) sets Caps Lock key state
  • $CHECKING (metacommand) turns event and error checking OFF or ON.
  • _CEIL (function) Rounds x upward, returning the smallest integral value that is not less than x.
  • _CINP (function) Returns a key code from $CONSOLE input
  • _CLEARCOLOR (function) returns the current transparent color of an image.
  • _CLEARCOLOR (statement) sets a specific color index of an image to be transparent
  • _CLIP (PUT graphics option) allows placement of an image partially off of the screen.
  • _CLIPBOARD$ (function) returns the operating system's clipboard contents as a STRING.
  • _CLIPBOARD$ (statement) sets and overwrites the STRING value in the operating system's clipboard.
  • _CLIPBOARDIMAGE (function) pastes an image from the clipboard into a new QB64 image in memory.
  • _CLIPBOARDIMAGE (statement) copies a valid QB64 image to the clipboard.
  • $COLOR (metacommand) includes named color constants in a program.
  • _COLORCHOOSERDIALOG (function) Displays a standard color picker dialog box and returns a 32-bit RGBA color selected by the user.
  • _COMMANDCOUNT (function) returns the number of arguments passed to the compiled program from the command line.
  • _CONNECTED (function) returns the status of a TCP/IP connection handle.
  • _CONNECTIONADDRESS$ (TCP/IP function) returns a connected user's STRING IP address value using the handle.
  • $CONSOLE (metacommand) creates a console window that can be used throughout a program.
  • _CONSOLE (statement) used to turn a console window OFF or ON or to designate _DEST _CONSOLE for output.
  • _CONSOLEINPUT (function) fetches input data from a $CONSOLE window to be read later (both mouse and keyboard)
  • _CONSOLECURSOR (statement) is used to switch the text cursor in Console Windows off/on or change its size.
  • _CONSOLEFONT (statement) is used to change the text font used in Console Windows or change its size.
  • _CONSOLETITLE (statement) creates the title of the console window using a literal or variable string.
  • _CONTINUE (statement) skips the remaining lines in a control block (DO/LOOP, FOR/NEXT or WHILE/WEND)
  • _CONTROLCHR (statement) OFF allows the control characters to be used as text characters. ON (default) can use them as commands.
  • _CONTROLCHR (function) returns the current state of _CONTROLCHR as 1 when OFF and 0 when ON.
  • _COPYIMAGE (function) copies an image handle value to a new designated handle.
  • _COPYPALETTE (statement) copies the color palette intensities from one 4 or 8 BPP image to another image.
  • _COT (function) the mathematical function cotangent defined by 1/TAN.
  • _COTH (function) Returns the hyperbolic cotangent.
  • _COSH (function) Returns the hyperbolic cosine of x radians.
  • _CRC32 (function) Returns the Crc-32 checksum of any arbitrary string.
  • _CSC (function) the mathematical function cosecant defined by 1/SIN.
  • _CSCH (function) Returns the hyperbolic cosecant.
  • _CV (function) converts any _MK$ STRING value to the designated numerical type value.
  • _CWD$ (function) returns the current working directory as a STRING value.
(Return to Table of Contents)

_D (QB64)

  • _D2G (function) converts degrees to gradient angle values.
  • _D2R (function) converts degrees to radian angle values.
  • $DEBUG (metacommand) enables debugging features, allowing you to step through your code line by line.
  • _DEFAULTCOLOR (function) returns the current default (text/drawing) color for an image handle or page.
  • _DEFINE (statement) defines a range of variable names according to their first character as a data type.
  • _DEFLATE$ (function) compresses a string
  • _DELAY (statement) suspends program execution for a SINGLE number of seconds.
  • _DEPTHBUFFER (statement) enables, disables, locks or clears depth buffering.
  • _DESKTOPHEIGHT (function) returns the height of the desktop (not program window).
  • _DESKTOPWIDTH (function) returns the width of the desktop (not program window).
  • _DEST (statement) sets the current write image or SCREEN page destination for prints or graphics.
  • _DEST (function) returns the current destination screen page or image handle value.
  • _DEVICE$ (function) returns a STRING expression listing a designated numbered input device name and types of input.
  • _DEVICEINPUT (function) returns the _DEVICES number of an _AXIS, _BUTTON or _WHEEL event.
  • _DEVICES (function) returns the number of input devices found on a computer system including the keyboard and mouse.
  • _DIR$ (function) returns common paths in Windows only, like My Documents, My Pictures, My Music, Desktop.
  • _DIREXISTS (function) returns -1 if the Directory folder name string parameter exists. Zero if it does not.
  • _DISPLAY (statement) turns off the automatic display while only displaying the screen changes when called.
  • _DISPLAY (function) returns the handle of the current image that is displayed on the screen.
  • _DISPLAYORDER (statement) designates the order to render software, hardware and custom-opengl-code.
  • _DONTBLEND (statement) statement turns off default _BLEND 32 bit alpha blending for the current image or screen.
  • _DONTWAIT (SHELL action) specifies that the program should not wait until the shelled command/program is finished.
  • _DROPPEDFILE (function) returns the list of items (files or folders) dropped in a program's window after _ACCEPTFILEDROP is enabled.
(Return to Table of Contents)

_E (QB64)

  • _ECHO (statement) used in conjunction with $IF for the precompiler.
  • $ELSE (metacommand) used in conjunction with $IF for the precompiler.
  • $ELSEIF (metacommand) used in conjunction with $IF for the precompiler.
  • $EMBED (metacommand) is used to embed any file's contents into the compiled executable.
  • _EMBEDDED$ (function) recalls the contents of a file embedded using $EMBED.
  • $END IF (metacommand) used in conjunction with $IF for the precompiler.
  • _ENVIRONCOUNT (function) returns the number of key/value pairs currently exist in the environment table.
  • $ERROR (metacommand) used to trigger compiler errors from within the precompiling pass.
  • _ERRORLINE (function) returns the source code line number that caused the most recent runtime error.
  • _ERRORMESSAGE$ (function) returns a human-readable message describing the most recent runtime error.
  • $EXEICON (metacommand) used with a .ICO icon file name to embed the image into the QB64 executable.
  • _EXIT (function) prevents a user exit and indicates if a user has clicked the close X window button or CTRL + BREAK.
(Return to Table of Contents)

_F (QB64)

  • _FILEEXISTS (function) returns -1 if the file name string parameter exists. Zero if it does not.
  • _FILES$ (function) returns a file or directory name that matches the specified pattern.
  • _FINISHDROP (statement) resets _TOTALDROPPEDFILES and clears the _DROPPEDFILE list of items (files/folders).
  • _FLOAT (numerical type ##) offers the maximum floating-point decimal precision available using QB64.
  • _FONT (statement) sets the current font handle to be used by PRINT or _PRINTSTRING.
  • _FONT (function) creates a new font handle from a designated image handle.
  • _FONTHEIGHT (function) returns the current text or font height.
  • _FONTWIDTH (function) returns the current text or font width.
  • _FREEFONT (statement) releases the current font handle from memory.
  • _FREEIMAGE (statement) releases a designated image handle from memory.
  • _FREETIMER (function) returns an unused timer number value to use with ON TIMER(n).
  • _FULLPATH$ (function) returns an absolute or full path name for the specified relative path name.
  • _FULLSCREEN (statement) sets the program window to full screen or OFF. Alt + Enter does it manually.
  • _FULLSCREEN (function) returns the fullscreen mode in use by the program.
(Return to Table of Contents)

_G (QB64)

  • _G2D (function) converts gradient to degree angle values.
  • _G2R (function) converts gradient to radian angle values.
  • _GLRENDER (statement) sets whether context is displayed, on top of or behind the software rendering.
  • _GREEN (function) function returns the palette or the green component intensity of a 32-bit image color.
  • _GREEN32 (function) returns the green component intensity of a 32-bit color value.
(Return to Table of Contents)

_H (QB64)

  • _HEIGHT (function) returns the height of a designated image handle.
  • _HIDE (SHELL action) hides the command line display during a shell.
  • _HYPOT (function) Returns the hypotenuse of a right-angled triangle whose legs are x and y.
(Return to Table of Contents)

_I (QB64)

  • $IF (metacommand) used to set an IF condition for the precompiler.
  • _ICON (statement) designates a _LOADIMAGE image file handle to be used as the program's icon or loads the embedded icon (see $EXEICON).
  • _INCLERRORFILE$ {function) returns the name of the original source code $INCLUDE module that caused the most recent error.
  • _INCLERRORLINE (function) returns the line number in an included file that caused the most recent error.
  • $INCLUDEONCE (metacommand) prevents that include file contents is injected multiple times into a program.
  • _INFLATE$ (function) decompresses a string
  • _INPUTBOX$ (function) Displays a prompt in a dialog box, waits for the user to input text or click a button, and returns a string containing the contents of the text box.
  • _INSTRREV (function) allows searching for a substring inside another string, but unlike INSTR it returns the last occurrence instead of the first one.
  • _INTEGER64 (&& numerical type) can hold whole numerical values from -9223372036854775808 to 9223372036854775807.
(Return to Table of Contents)

_K (QB64)

  • _KEYCLEAR (statement) clears the keyboard buffers for INKEY$, _KEYHIT, and INP.
  • _KEYHIT (function) returns ASCII one and two byte, SDL Virtual Key and Unicode keyboard key press codes.
  • _KEYDOWN (function) returns whether CTRL, ALT, SHIFT, combinations and other keys are pressed.
(Return to Table of Contents)

_L (QB64)

  • $LET (metacommand) used to set a variable for the precompiler.
  • _LASTAXIS (function) returns the number of axis available on a specified number device listed by _DEVICE$.
  • _LASTBUTTON (function) returns the number of buttons available on a specified number device listed by DEVICE$.
  • _LASTWHEEL (function) returns the number of scroll wheels available on a specified number device listed by _DEVICE$.
  • _LIMIT (statement) sets the loops per second rate to slow down loops and limit CPU usage.
  • _LOADFONT (function) designates a font TTF file to load and returns a handle value.
  • _LOADIMAGE (function) designates an image file to load and returns a handle value.
(Return to Table of Contents)

_M (QB64)

  • _MAPTRIANGLE (statement) maps a triangular image source area to put on a destination area.
  • _MAPUNICODE (statement) maps a Unicode value to an ASCII code number.
  • _MAPUNICODE (function) returns the Unicode (UTF32) code point value of a mapped ASCII character code.
  • _MAX (function) Returns the greater of two given numeric values.
  • _MD5$ (function) Returns the MD5 hash value of any arbitrary string.
  • _MEM (function) returns _MEM block referring to the largest continuous memory region beginning at a designated variable's offset.
  • _MEM (variable type) contains read only dot elements for the OFFSET, SIZE, TYPE and ELEMENTSIZE of a block of memory.
  • _MEMCOPY (statement) copies a value from a designated OFFSET and SIZE TO a block of memory at a designated OFFSET.
  • _MEMELEMENT (function) returns a _MEM block referring to a variable's memory (but not past it).
  • _MEMEXISTS (function) verifies that a memory block exists for a memory variable name or returns zero.
  • _MEMFILL (statement) fills a designated memory block OFFSET with a certain SIZE and TYPE of value.
  • _MEMFREE (statement) frees a designated memory block in a program. Only free memory blocks once.
  • _MEMGET (statement) reads a value from a designated memory block at a designated OFFSET
  • _MEMGET (function) returns a value from a designated memory block and OFFSET using a designated variable TYPE.
  • _MEMIMAGE (function) returns a _MEM block referring to a designated image handle's memory
  • _MEMNEW (function) allocates new memory with a designated SIZE and returns a _MEM block referring to it.
  • _MEMPUT (statement) places a designated value into a designated memory block OFFSET
  • _MEMSOUND (function) returns a _MEM block referring to a designated sound handle's memory
  • _MESSAGEBOX (function) Displays a message dialog box, which presents a message and returns the button ID clicked by the user.
  • _MESSAGEBOX (statement) Displays a message dialog box, which presents a message to the user.
  • _MIDDLE (_SCREENMOVE parameter) centers the program window on the desktop in any screen resolution.
  • _MIDISOUNDBANK enables _SNDOPEN to use external FM Banks or SoundFonts when playing MIDI files.
  • $MIDISOUNDFONT (metacommand) (deprecated) enables the MIDI support for _SNDOPEN.
  • _MIN (function) Returns the lesser of two given numeric values.
  • _MK$ (function) converts a numerical value to a designated ASCII STRING value.
  • _MOUSEBUTTON (function) returns the status of a designated mouse button.
  • _MOUSEHIDDEN (function) returns the current state of the mouse pointer.
  • _MOUSEHIDE (statement) hides the mouse pointer from view
  • _MOUSEINPUT (function) returns a value if the mouse status has changed since the last read.
  • _MOUSEMOVE (statement) moves the mouse pointer to a designated position on the program SCREEN.
  • _MOUSEMOVEMENTX (function) returns the relative horizontal position of the mouse cursor compared to the previous position.
  • _MOUSEMOVEMENTY (function) returns the relative vertical position of the mouse cursor compared to the previous position.
  • _MOUSESHOW (statement) displays the mouse cursor after it has been hidden or can change the cursor shape.
  • _MOUSEWHEEL (function) returns the number of mouse scroll wheel "clicks" since last read.
  • _MOUSEX (function) returns the current horizontal position of the mouse cursor.
  • _MOUSEY (function) returns the current vertical position of the mouse cursor.
(Return to Table of Contents)

_N (QB64)

  • _NEGATE (logical operator) returns True when a boolean evaluation is False and vice-versa.
  • _NEWIMAGE (function) creates a designated size program SCREEN or page image and returns a handle value.
  • $NOPREFIX (metacommand) (deprecated) allows QB64-specific keywords to be used without the underscore prefix.
  • _NOTIFYPOPUP (statement) Shows a system notification popup.
  • _NUMLOCK (function) returns -1 when Num Lock is on
  • _NUMLOCK (statement) sets Num Lock key state
(Return to Table of Contents)

_O (QB64)

  • _OFFSET (function) returns the memory offset of a variable when used with DECLARE LIBRARY or _MEM only.
  • _OFFSET (%& numerical type) can be used store the value of an offset in memory when using DECLARE LIBRARY or MEM only.
  • _OPENCLIENT (TCP/IP function) connects to a Host on the Internet as a Client and returns the Client status handle.
  • _OPENCONNECTION (TCP/IP function) open's a connection from a client that the host has detected and returns a status handle.
  • _OPENFILEDIALOG$ (function) Displays a standard dialog box that prompts the user to open a file.
  • _OPENHOST (TCP/IP function) opens a Host and returns a Host status handle.
  • OPTION _EXPLICIT (Pre-compiler directive) instructs the compiler to require variable declaration with DIM or an equivalent statement.
  • OPTION _EXPLICITARRAY (Pre-compiler directive) instructs the compiler to require array declaration with DIM or an equivalent statement.
  • _ORELSE (logical operator) performs short-circuiting inclusive logical disjunction on two expressions.
  • _OS$ (function) returns the QB64 compiler version in which the program was compiled as [WINDOWS], [LINUX] or [MACOSX] and [32BIT] or [64BIT].
(Return to Table of Contents)

_P (QB64)

  • _PALETTECOLOR (statement) sets the color value of a palette entry of an image using 256 colors or less palette modes.
  • _PALETTECOLOR (function) return the 32 bit attribute color setting of an image or screen page handle's palette.
  • _PI (function) returns the value of π or parameter multiples for angle or circle calculations.
  • _PIXELSIZE (function) returns the pixel palette mode of a designated image handle.
  • _PRESERVE (REDIM action) preserves the data presently in an array when REDIM is used.
  • _PRINTIMAGE (statement) sends an image to the printer that is stretched to the current printer paper size.
  • _PRINTMODE (statement) sets the text or _FONT printing mode on a background when using PRINT or _PRINTSTRING.
  • _PRINTMODE (function) returns the present _PRINTMODE value number.
  • _PRINTSTRING (statement) locates and prints a text string using graphic coordinates.
  • _PRINTWIDTH (function) returns the pixel width of a text string to be printed using _PRINTSTRING.
  • _PUTIMAGE (statement) maps a rectangular image source area to an image destination area.
(Return to Table of Contents)

_R (QB64)

  • _R2D (function) converts radians to degree angle values.
  • _R2G (function) converts radians to gradient angle values.
  • _RED (function) function returns the palette or the red component intensity of a 32-bit image color.
  • _RED32 (function) returns the red component intensity of a 32-bit color value.
  • _READBIT (function) returns the state of the specified bit of an integer variable.
  • _READFILE$ (function) directly read a file into a string, without OPEN/CLOSE overhead.
  • _RESETBIT (function) is used to set the specified bit of an integer variable to 0.
  • $RESIZE (metacommand) used with ON allows a user to resize the program window where OFF does not.
  • _RESIZE (statement) sets resizing of the window ON or OFF and sets the method as _STRETCH or _SMOOTH.
  • _RESIZE (function) returns -1 when a program user wants to resize the program screen.
  • _RESIZEHEIGHT (function) returns the requested new user screen height when $RESIZE:ON allows it.
  • _RESIZEWIDTH (function) returns the requested new user screen width when $RESIZE:ON allows it.
  • _RGB (function) returns the closest palette index OR the LONG 32 bit color value in 32 bit screens.
  • _RGB32 (function) returns the LONG 32 bit color value in 32 bit screens only
  • _RGBA (function) returns the closest palette index OR the LONG 32 bit color value in 32 bit screens with the ALPHA
  • _RGBA32 (function) returns the LONG 32 bit color value in 32 bit screens only with the ALPHA
  • _ROL (function) used to rotate the bits of a numerical value to the left
  • _ROR (function) used to rotate the bits of a numerical value to the right.
  • _ROUND (function) rounds to the closest INTEGER, LONG or _INTEGER64 numerical value.
(Return to Table of Contents)

_S (QB64)

  • _SAVEFILEDIALOG$ (function) Displays a standard dialog box that prompts the user to save a file.
  • _SAVEIMAGE (statement) Saves the screen or an image handle to an image file.
  • _SEC (function) the mathematical function secant defined by 1/COS.
  • _SECH (function) Returns the hyperbolic secant.
  • _SELECTFOLDERDIALOG$ (function) Displays a dialog box that enables the user to select a folder (directory).
  • _SCREENCLICK (statement) simulates clicking on a point on the desktop screen with the left mouse button.
  • _SCREENEXISTS (function) returns a -1 value once a screen has been created.
  • $SCREENHIDE (metacommand) hides the program window from view.
  • _SCREENHIDE (statement) hides the program window from view.
  • _SCREENICON (function) returns -1 or 0 to indicate if the window has been minimized to an icon on the taskbar.
  • _SCREENICON (statement) minimizes the program window to an icon on the taskbar.
  • _SCREENIMAGE (function) creates an image of the current desktop and returns an image handle.
  • _SCREENMOVE (statement) positions program window on the desktop using designated coordinates or the _MIDDLE option.
  • _SCREENPRINT (statement) simulates typing text into a Windows program using the keyboard.
  • $SCREENSHOW (metacommand) displays the program window after it was hidden.
  • _SCREENSHOW (statement) displays the program window after it has been hidden by _SCREENHIDE.
  • _SCREENX (function) returns the program window's upper left corner horizontal position on the desktop.
  • _SCREENY (function) returns the program window's upper left corner vertical position on the desktop.
  • _SCROLLLOCK (function) returns -1 when Scroll Lock is on
  • _SCROLLLOCK (statement) sets Scroll Lock key state
  • _SETALPHA (statement) sets the alpha channel transparency level of some or all of the pixels of an image.
  • _SETBIT (function) is used to set the specified bit of an integer variable to 1.
  • _SHELLHIDE (function) returns the code sent by a program exit using END or SYSTEM followed by an INTEGER value.
  • _SHL (function) used to shift the bits of a numerical value to the left
  • _SHR (function) used to shift the bits of a numerical value to the right.
  • _SINH (function) Returns the hyperbolic sine of x radians.
  • _SMOOTH (function) checks whether the current _FULLSCREEN mode has antialiasing enabled or not.
  • _SNDBAL (statement) attempts to set the balance or 3D position of a sound file.
  • _SNDCLOSE (statement) frees and unloads an open sound using the sound handle created by _SNDOPEN.
  • _SNDCOPY (function) copies a sound handle value to a new designated handle.
  • _SNDGETPOS (function) returns the current playing position in seconds from a sound file.
  • _SNDLEN (function) returns the length of a sound in seconds from a sound file.
  • _SNDLIMIT (statement) stops playing a sound after it has been playing for a set number of seconds.
  • _SNDLOOP (statement) plays a sound repeatedly until _SNDSTOP is used.
  • _SNDNEW (function) creates a raw empty sound in memory and returns a LONG handle value for later access.
  • _SNDOPEN (function) loads a sound file and returns a sound handle.
  • _SNDOPENRAW (function) opens a new channel to shove _SNDRAW content into without mixing.
  • _SNDPAUSE (statement) stops playing a sound file until resumed.
  • _SNDPAUSED (function) returns the current pause status of a sound file handle.
  • _SNDPLAY (statement) plays a sound file handle that was created by _SNDOPEN or _SNDCOPY.
  • _SNDPLAYCOPY (statement) copies a sound handle, plays it and automatically closes the copy when done.
  • _SNDPLAYFILE (statement) directly plays a designated sound file.
  • _SNDPLAYING (function) returns the current playing status of a sound handle.
  • _SNDRATE (function) returns the sound card sample rate to set _SNDRAW durations.
  • _SNDRAW (statement) creates mono or stereo sounds from calculated wave frequency values.
  • _SNDRAWDONE (statement) pads a _SNDRAW stream so the final (partially filled) buffer section is played.
  • _SNDRAWLEN (function) returns a value until the _SNDRAW buffer is empty.
  • _SNDSETPOS (statement) sets the playing position of a sound handle.
  • _SNDSTOP (statement) stops playing a sound handle.
  • _SNDVOL (statement) sets the volume of a sound file handle.
  • _SOURCE (statement) sets the source image handle.
  • _SOURCE (function) returns the present source image handle value.
  • _STARTDIR$ (function) returns the user's program calling path as a STRING.
  • _STATUSCODE (function) gives the HTTP status code of an HTTP response that was opened using _OPENCLIENT.
  • _STRCMP (function) compares the relationship between two strings.
  • _STRICMP (function) compares the relationship between two strings, without regard for case-sensitivity.
(Return to Table of Contents)

_T (QB64)

  • _TANH (function) Returns the hyperbolic tangent of x radians.
  • _TITLE (statement) sets the program title string value.
  • _TITLE$ (function) gets the program title string value.
  • _TOGGLEBIT (function) is used to toggle the specified bit of an integer variable from 1 to 0 or 0 to 1.
  • _TOSTR$ (function) Returns the STRING representation of a numerical value. It's a successor of the legacy STR$ function.
  • _TOTALDROPPEDFILES (function) returns the number of items (files or folders) dropped in a program's window after _ACCEPTFILEDROP is enabled.
  • _TRIM$ (function) shorthand to LTRIM$(RTRIM$("text"))
(Return to Table of Contents)

_U (QB64)

  • _UCHARPOS (function) calculates the starting pixel positions of every character of a (unicode) text string.
  • _UFONTHEIGHT (function) returns the global glyph height (incl. ascender/descender) of a loaded font.
  • _ULINESPACING (function) returns the vertical line spacing (distance between two consecutive baselines) in pixels.
  • _UNSIGNED (numerical type) expands the positive range of numerical INTEGER, LONG or _INTEGER64 values returned.
  • $UNSTABLE (metacommand) will enable the use of features that have not yet been made a permanent part of the language.
  • _UPRINTSTRING (statement) locates and prints a (unicode) text string using graphic coordinates.
  • _UPRINTWIDTH (function) returns the pixel width of a (unicode) text string to be printed using _UPRINTSTRING.
(Return to Table of Contents)

_V (QB64)

  • $VERSIONINFO (metacommand) adds metadata to Windows only binaries for identification purposes across the OS.
(Return to Table of Contents)

_W (QB64)

  • _WHEEL (function) returns -1 when a control device wheel is scrolled up and 1 when scrolled down. Zero indicates no activity.
  • _WIDTH (function) returns the width of a SCREEN or image handle.
  • _WINDOWHANDLE (function) returns the window handle assigned to the current program by the OS. Windows-only.
  • _WINDOWHASFOCUS (function) returns true (-1) if the current program's window has focus. Windows-only.
  • _WRITEFILE (statement) directly write a string into a file, without OPEN/CLOSE overhead.
(Return to Table of Contents)
(Go to Top of QB64 specific keywords)


Original QBasic keywords

These original QBasic keywords (with a few noted exceptions) will also work in all versions of QB64.

A (QBasic)

  • ABS (function) converts any negative numerical value to a positive value.
  • ABSOLUTE (statement) is used to access computer interrupt registers.
  • ACCESS (file statement) sets the read and write access of a file when opened.
  • ALIAS (QB64 DECLARE LIBRARY statement) denotes the actual name of an imported FUNCTION or SUB procedure.
  • AND (logical operator) is used to compare two numerical values bitwise.
  • AND (boolean) conditonal operator is used to include another evaluation in an IF...THEN or Boolean statement.
  • APPEND (file mode) creates a new file or allows an existing file to have data added using WRITE or PRINT
  • AS is used to denote a variable type or file number.
  • ASC (function) returns the ASCII code number of a text string character.
  • ASC (statement) (QB64 only) sets the code value of an ASCII text character at a designated string position.
  • ATN (function) or arctangent returns the angle in radians of a numerical tangent value.
(Return to Table of Contents)

B (QBasic)

  • BEEP (statement) creates an error sound of a fixed duration.
  • BINARY (file mode) creates or opens an existing file for read and write byte-wise access.
  • BLOAD (statement) transfers the contents of a BINARY BSAVE file to a specific array.
  • BSAVE (statement) transfers the contents of an array to a specified size BINARY file.
  • BYVAL (statement) assigns a numerical variable value by its value, not the name.
(Return to Table of Contents)

C (QBasic)

  • CALL (statement) optional statement that sends the program to a SUB procedure. Requires parameters be enclosed in brackets(parenthesis).
  • CALL ABSOLUTE (statement) is used to access computer interrupt registers.
  • CASE (SELECT CASE condition) designates specific conditions in a SELECT CASE statement block.
  • CASE ELSE (SELECT CASE condition) designates an alternative condition to be evaluated in a SELECT CASE statement block.
  • CASE IS (SELECT CASE condition) designates specific conditions in a SELECT CASE statement block.
  • CDBL (function) returns the closest DOUBLE value of a number.
  • CHAIN (statement) sends a program to another specified program module or compiled program.
  • CHDIR (statement) changes the current program path for file access.
  • CHR$ (function) returns a text string character by the specified ASCII code number.
  • CINT (function) returns the closest INTEGER value of a numerical value.
  • CIRCLE (statement) creates a circle, ellipse or arc at a designated graphical coordinate position.
  • CLEAR (statement) sets all variable and array values to zero number values or empty STRINGs.
  • CLNG (function) returns the closest LONG value of a numerical value.
  • CLOSE (statement) closes specific file number(s) or all files when a number is not specified.
  • CLS (statement) clears a program screen, VIEW port or WINDOW.
  • COLOR (statement) sets the current text foreground and/or background color to be used.
  • COMMAND$ (function) returns the command line arguments passed when a program is run.
  • COMMON (statement) sets a variable name as shared by CHAINed program modules.
  • CONST (statement) sets a variable name and its value as a constant value to be used by all procedures.
  • COS (function) returns the cosine of a radian angle value.
  • CSNG (function) returns the closest SINGLE value of a numerical value.
  • CSRLIN (function) returns the present PRINT cursor text row SCREEN coordinate position.
  • CVD (function) returns the DOUBLE numerical value of an 8 byte MKD$ string.
  • CVDMBF (function) returns the DOUBLE numerical value of a Microsoft Binary Format string.
  • CVI (function) returns the INTEGER numerical value of a 2 byte MKI$ string.
  • CVL (function) returns the LONG numerical value of a 4 byte MKL$ string.
  • CVS (function) returns the SINGLE numerical value of a 4 byte MKS$ string.
  • CVSMBF (function) returns the SINGLE numerical value of a Microsoft Binary Format string.
(Return to Table of Contents)

D (QBasic)

  • DATA (statement) creates a line of fixed program information separated by commas.
  • DATE$ (function) returns the present Operating System date string formatted as mm-dd-yyyy.
  • DECLARE LIBRARY (QB64 statement block) declares a C++, SDL or Operating System SUB or FUNCTION to be used.
  • DEF SEG (statement) defines a segment in memory to be accessed by a memory procedure.
  • DEFDBL (statement) defines a set of undefined variable name starting letters as DOUBLE type numerical values.
  • DEFINT (statement) defines a set of undefined variable name starting letters as INTEGER type numerical values.
  • DEFLNG (statement) defines a set of undefined variable name starting letters as LONG type numerical values.
  • DEFSNG (statement) defines a set of undefined variable name starting letters as SINGLE type numerical values.
  • DEFSTR (statement) defines a set of undefined variable name starting letters as STRING type values.
  • DIM (statement) defines a variable as a specified type and can size a STATIC array.
  • DO...LOOP (statement) sets a recursive procedure loop that can be ignored or exited using conditional arguments.
  • DOUBLE (numerical type #) 8 byte value limited to values up to 15 decimal places.
  • DRAW (statement) uses a special string format that draws graphical lines in specific directions.
  • $DYNAMIC (metacommand) used at the start of a program to set all program arrays as changeable in size using REDIM.
(Return to Table of Contents)

E (QBasic)

  • ELSE (IF...THEN statement) is used to direct program flow when no other condition is evaluated as true.
  • ELSEIF (IF...THEN statement) is used with THEN to set alternate conditional evaluations.
  • END (statement) sets the end of a program, sub-procedure, statement block, DECLARE LIBRARY or TYPE definition.
  • END IF (statement) ENDs an IF...THEN conditional block statement using more than one line of code.
  • ENVIRON (statement) temporarily sets an environmental key/pair value.
  • ENVIRON$ (function) returns a specified string setting or numerical position as an environmental STRING value.
  • EOF (function) returns -1 when a file INPUT or GET has reached the end of a file.
  • EQV (logic operator) is used to compare two numerical values bitwise.
  • ERASE (statement) clears the values from $STATIC arrays and completely removes $DYNAMIC arrays.
  • ERL (function) returns the closest line number before an error occurred if line numbers are used.
  • ERR (function) returns the ERROR code when a program error occurs.
  • ERROR (statement) sets a specific ERROR code to be simulated.
  • EXIT (statement) immediately exits a program FOR...NEXT, DO...LOOP, SUB or FUNCTION procedure.
  • EXP (function) returns the value of e to the exponential power specified.
(Return to Table of Contents)

F (QBasic)

  • FIELD (statement) defines the variable sizes to be written or read from a file.
  • FILES (statement) returns a list of files in the current directory path to the SCREEN.
  • FIX (function) returns the rounded INTEGER value of a numerical value.
  • FOR...NEXT (statement) creates a recursive loop procedure that loop a specified number of times.
  • FOR (file statement) used in an OPEN file or device statement to indicate the access mode.
  • FREE (QB64 TIMER statement) frees a numbered TIMER event in QB64.
  • FREEFILE (function) returns a file number that is currently not in use by the Operating System.
  • FUNCTION (procedure block) sub-procedure that can calculate and return one value to a program in its name.
(Return to Table of Contents)

G (QBasic)

  • GET (file statement) reads a file sequencially or at a specific position and returns the value as the variable type used.
  • GET (HTTP statement) reads the response of an HTTP request that was opened using _OPENCLIENT.
  • GET (TCP/IP statement) reads a TCP/IP connection port to return a value.
  • GET (graphics statement) maps an area the current screen's video information and places it in an INTEGER array.
  • GOSUB (statement) sends the program to a designated line label procedure in the main program.
  • GOTO (statement) sends the program to a designated line number or line label in a procedure.
(Return to Table of Contents)

H (QBasic)

  • HEX$ (function) returns the hexadecimal (base 16) STRING representation of the INTEGER part of any value.
(Return to Table of Contents)

I (QBasic)

  • IF...THEN (statement) a conditional block statement used control program flow.
  • IMP (logic operator) is used to compare two numerical values bitwise.
  • $INCLUDE (metacommand) designates a text code library file to include with the program.
  • INKEY$ (function) ASCII returns a string value entry from the keyboard.
  • INP (function) returns a numerical value from a specified port register address. See Keyboard scancodes
  • INPUT (statement) a user input that returns a value to one or more specified variable(s).
  • INPUT (file mode) OPEN statement that only allows an existing file to be read using INPUT (file statement) or INPUT$.
  • INPUT (file statement) reads a file sequentially using the variable types designated.
  • INPUT$ (function) returns a designated number of string bytes from the keyboard entry or a file number.
  • INSTR (function) returns the position in a text string where a character sequence match starts.
  • INT (function) rounds a numerical value to an INTEGER value by removing the decimal point fraction.
  • INTEGER (% numerical type) 2 byte whole values from -32768 to 32767.
  • INTERRUPT (statement) is used to access computer interrupt registers.
  • INTERRUPTX (statement) is used to access computer interrupt registers.
(Return to Table of Contents)

K (QBasic)

  • KEY n (statement) used with ON KEY(n) events to assign a "softkey" string to a key or create a user defined key.
  • KEY(n) (statement) used with ON KEY(n) events to assign, enable, disable or suspend event trapping.
  • KEY LIST (statement) lists the 12 Function key soft key string assignments going down left side of screen.
  • KILL (statement) deletes the specified file without a warning. Remove empty folders with RMDIR.
(Return to Table of Contents)

L (QBasic)

  • LBOUND (function) returns the lower boundary of the specified array.
  • LCASE$ (function) returns the lower case value of a STRING.
  • LEFT$ (function) returns the specified number of text characters from the left end of a STRING.
  • LEN (function) returns the length or number of characters in a STRING value in bytes.
  • LET (statement) assigns a variable a literal value. Not required.
  • LINE (statement) creates a graphic line or box on the SCREEN.
  • LINE INPUT (statement) user input can be any text character including commas and quotes as a STRING value only.
  • LINE INPUT (file statement) returns an entire text file line and returns it as a STRING value.
  • LIST displays the current ON KEY(n) function key (F1 to F10) "soft key" settings.
  • LOC (function) returns the present file byte position or number of bytes in the OPEN COM buffer.
  • LOCATE (statement) sets the text cursor's row and column position for a PRINT or INPUT statement.
  • LOCK (statement) restricts access to portions or all of a file by other programs or processes.
  • LOF (function) returns the size of an OPEN file in bytes.
  • LOG (function) returns the natural logarithm of a specified numerical value
  • LONG (& numerical type) 4 byte whole values from -2147483648 to 2147483647.
  • LOOP (block statement) bottom end of a recursive DO loop.
  • LPOS (function) returns the printer head position.
  • LPRINT (statement) sends STRING data to the default LPT or USB printer.
  • LPRINT USING (statement) sends template formatted text to the default LPT or USB printer.
  • LSET (statement) left justifies the text in a string so that there are no leading spaces.
  • LTRIM$ (function) returns a string value with no leading spaces.
(Return to Table of Contents)

M (QBasic)

  • MID$ (function) returns a designated portion of a STRING.
  • MID$ (statement) redefines existing characters in a STRING.
  • MKD$ (function) returns an 8 byte ASCII string representation of a DOUBLE numerical value.
  • MKDIR (statement) creates a new folder in the current or designated program path.
  • MKDMBF$ (function) returns an 8 byte Microsoft Binary Format STRING representation of a DOUBLE numerical value.
  • MKI$ (function) returns a 2 byte ASCII string representation of an INTEGER.
  • MKL$ (function) returns a 4 byte ASCII string representation of a LONG numerical value.
  • MKS$ (function) returns a 4 byte ASCII string representation of a SINGLE numerical value.
  • MKSMBF$ (function) returns an 8 byte Microsoft Binary Format STRING representation of a DOUBLE numerical value.
  • MOD (math operator) performs integer remainder division on a numerical value.
(Return to Table of Contents)

N (QBasic)

  • NAME (statement) names an existing file name AS a new file name.
  • NEXT (statement) bottom end of a FOR...NEXT counter loop to returns to the start or a RESUME NEXT error.
  • NOT (logical operator) inverts the value of a logic operation or returns True when a boolean evaluation is False.
(Return to Table of Contents)

O (QBasic)

  • OCT$ (function) returns the octal (base 8) STRING representation of the INTEGER part of any value.
  • OFF (event statement) turns off all ON event checking.
  • ON ERROR (statement) sets up and activates an error event checking procedure call. Use to avoid program errors.
  • ON KEY(n) (statement) sets up a keyboard key entry event procedure.
  • ON STRIG(n) (statement) sets up a joystick button event procedure call.
  • ON TIMER(n) (statement) sets up a timed event procedure call.
  • ON...GOSUB (statement) sets up a numerical event procedure call.
  • ON...GOTO (statement) sets up a numerical event procedure call.
  • OPEN (file statement) opens a file name for an access mode with a specific file number.
  • OPEN COM (statement) opens a serial communication port for access at a certain speed and mode.
  • OPTION BASE (statement) can set the lower boundary of all arrays to 1.
  • OR (logic operator) is used to compare two numerical values bitwise.
  • OR (boolean) conditonal operator is used to include an alternative evaluation in an IF...THEN or Boolean statement.
  • OUT (statement) writes numerical data to a specified register port.
  • OUTPUT (file mode) creates a new file or clears all data from an existing file to acess the file sequencially.
(Return to Table of Contents)

P (QBasic)

  • PAINT (statement) fills an enclosed area of a graphics screen with a color until it encounters a specific colored border.
  • PALETTE (statement) sets the Red, Green and Blue color attribute intensities using a RGB multiplier calculation.
  • PALETTE USING (statement) sets the color intensity settings using a designated array.
  • PCOPY (statement) swaps two designated memory page images when page swapping is enabled in the SCREEN statement.
  • PEEK (function) returns a numerical value from a specified segment address in memory.
  • PLAY (statement) uses a special string format that can produce musical tones and effects.
  • PLAY (function) returns the number of remaining notes in the background music queue.
  • PMAP (function) returns the physical or WINDOW view graphic coordinates.
  • POINT (function) returns the color attribute number or 32 bit _RGB32 value.
  • POKE (statement) writes a numerical value to a specified segment address in memory.
  • POS (function) returns the current text column position of the text cursor.
  • PRESET (statement) sets a pixel coordinate to the background color unless one is specified.
  • PRINT (statement) prints text strings or numerical values to the SCREEN.
  • PRINT (file statement) prints text strings or numerical values to a file.
  • PRINT USING (statement) prints a template formatted string to the SCREEN.
  • PRINT USING (file statement) prints a template formatted string to a file.
  • PSET (statement) sets a pixel coordinate to the current color unless a color is designated.
  • PUT (file I/O statement) writes data sequencially or to a designated position using a variable value.
  • PUT (QB64 TCP/IP statement) sends raw data to a user's connection handle.
  • PUT (graphics statement) places pixel data stored in an INTEGER array to a specified area of the SCREEN.
(Return to Table of Contents)

R (QBasic)

  • RANDOM (file mode) creates a file or opens an existing file to read and write records of a set byte size.
  • RANDOMIZE (statement) sets the random seed value for a specific sequence of random RND values.
  • RANDOMIZE USING (QB64 statement) restarts the designated seed value's random sequence of values from the beginning.
  • READ (statement) reads values from a DATA field. ACCESS READ is used with the OPEN statement.
  • REDIM (statement) creates a new dynamic array or resizes one without losing data when _PRESERVE is used.
  • REM (statement) or an apostrophe tells the program to ignore statements following it on the same line.
  • RESET (statement) closes all files and writes the directory information to a diskette before it is removed from a disk drive.
  • RESTORE (statement) resets the DATA pointer to the start of a designated field of data.
  • RESUME (statement) an error handling procedure exit that can send the program to a line number or the NEXT code line.
  • RETURN (statement) returns the program to the code immediately following a GOSUB call.
  • RIGHT$ (function) returns a specific number of text characters from the right end of a STRING.
  • RMDIR (statement) removes an empty folder from the current path or the one designated.
  • RND (function) returns a random number value from 0 to .9999999.
  • RSET (statement) right justifies a string value so that any end spaces are moved to the beginning.
  • RTRIM$ (function) returns a string with all spaces removed from the right end.
  • RUN (statement) clears and restarts the program currently in memory or executes another specified program.
(Return to Table of Contents)

S (QBasic)

  • SADD (function) returns the address of a STRING variable as an offset from the current data segment.
  • SCREEN (function) can return the ASCII character code or color of the text at a text designated coordinate.
  • SCREEN (statement) sets the display mode and size of the program window.
  • SEEK (function) returns the present byte position in an opened file.
  • SEEK (statement) moves to a specified position in an opened file.
  • SELECT CASE (statement) a program flow block that can handle numerous conditional evaluations.
  • SGN (function) returns -1 for negative, 0 for zero, and 1 for positive numerical values.
  • SHARED (statement) designates that a variable can be used by other procedures or the main procedure when in a sub-procedure.
  • SHELL (statement) sends STRING commands to the command line. SHELL calls will not affect the current path.
  • SHELL (function) executes an external command or calls another program. Returns codes sent by END or SYSTEM.
  • SIN (function) returns the sine of a radian angle.
  • SINGLE (! numerical type) 4 byte floating decimal point values up to 7 decimal places.
  • SLEEP (statement) pauses the program for a designated number of seconds or until a key is pressed.
  • SOUND (statement) creates a sound of a specified frequency and duration.
  • SPACE$ (function) returns a designated number of spaces to a STRING.
  • SPC (function) moves the text cursor a number of spaces on the SCREEN.
  • SQR (function) returns the square root of a non-negative number.
  • STATIC (statement) creates a SUB or FUNCTION variable that retains its value.
  • $STATIC (metacommand) used at the start of a program to set all program arrays as unchangeable in size using DIM.
  • STEP (keyword) move relatively from one graphic position or change the counting increment in a FOR...NEXT loop.
  • STICK (function) returns the present joystick position.
  • STOP (statement) stops a program when troubleshooting or stops an ON event.
  • STR$ (function) returns a string value of a number with a leading space when it is positive.
  • STRIG (function) returns the joystick button press values when read.
  • STRIG(n) (statement)
  • STRING ($ variable type) one byte text variable with ASCII code values from 0 to 255.
  • STRING$ (function) returns a designated number of string characters.
  • SUB (procedure block) sub-procedure that can calculate and return multiple parameter values.
  • SWAP (statement) swaps two string or numerical values.
  • SYSTEM (statement) ends a program immediately.
(Return to Table of Contents)

T (QBasic)

  • TAB (function) moves a designated number of columns on the screen.
  • TAN (function) returns the ratio of SINe to COSine or tangent value of an angle measured in radians.
  • THEN (IF...THEN keyword) must be used in a one line IF...THEN program flow statement.
  • TIME$ (function) returns the present time setting of the Operating System as a format hh:mm:ss STRING.
  • TIMER (function) returns the number of seconds since midnight as a SINGLE value.
  • TIMER (statement) events based on the designated time interval and timer number.
  • TO indicates a range of numerical values or an assignment of one value to another.
  • TYPE (definition) defines a variable type or file record that can include any STRING or numerical types.
(Return to Table of Contents)

U (QBasic)

  • UBOUND (function) returns the upper-most index number of a designated array.
  • UCASE$ (function) returns an uppercase representation of a specified STRING.
  • UNLOCK (statement) unlocks a designated file or portions of it.
  • UNTIL (condition) evaluates a DO...LOOP condition until it is True.
(Return to Table of Contents)

V (QBasic)

  • VAL (function) returns the numerical value of a string number.
  • VARPTR (function) returns the segment pointer address in memory.
  • VARPTR$ (function) returns the string value of a numerical value in memory.
  • VARSEG (function) returns the segment address of a value in memory.
  • VIEW (graphics statement) sets up a graphic view port area of the screen.
  • VIEW PRINT (statement) sets up a text viewport area of the screen.
(Return to Table of Contents)

W (QBasic)

  • WAIT (statement) waits until a vertical retrace is started or a screen draw ends.
  • WEND (statement) the bottom end of a WHILE...WEND loop.
  • WHILE (condition) evaluates a DO...LOOP or WHILE...WEND condition until it is False.
  • WHILE...WEND (statement) sets a recursive procedure loop that can only be exited using the WHILE conditional argument.
  • WIDTH (statement) sets the text column and row sizes in several SCREEN modes.
  • WINDOW (statement) maps a window size different from the program's window size.
  • WRITE (screen I/O statement) prints variable values to the screen with commas separating each value.
  • WRITE (file statement) writes data to a file with each variable value separated by commas.
(Return to Table of Contents)

X (QBasic)

  • XOR (boolean) (logic operator) is used to compare two numerical values bitwise.
(Return to Table of Contents)
(Go to Top of Original QBasic keywords)


QB64 OpenGL keywords

All QB64 OpenGL keywords must use the underscore prefix as listed below.

_glA (OpenGL)

  • _glAccum (statement) operates on the accumulation buffer
  • _glAlphaFunc (statement) enables your application to set the alpha test function.
  • _glAreTexturesResident (function) determines whether specified texture objects are resident in texture memory.
  • _glArrayElement (statement) specifies the array elements used to render a vertex.
(Return to Table of Contents)

_glB (OpenGL)

  • _glBegin (statement) the _glBegin and _glEnd statements delimit the vertices of a primitive or a group of like primitives.
  • _glBindTexture (statement) enables the creation of a named texture that is bound to a texture target
  • _glBitmap (statement) draws a bitmap.
  • _glBlendFunc (statement) specifies pixel arithmetic.
(Return to Table of Contents)

_glC (OpenGL)

  • _glCallList (statement) executes a display list.
  • _glCallLists (statement) executes a list of display lists.
  • _glClear (statement) clears buffers to preset values.
  • _glClearAccum (statement) specifies the clear values for the accumulation buffer.
  • _glClearColor (statement) specifies clear values for the color buffers.
  • _glClearDepth (statement) specifies the clear value for the depth buffer.
  • _glClearIndex (statement) specifies the clear value for the color-index buffers.
  • _glClearStencil (statement) specifies the clear value for the stencil buffer.
  • _glClipPlane (statement) specifies a plane against which all geometry is clipped.
  • _glColor3b (statement) sets the current color.
  • _glColor3bv (statement) sets the current color from an already existing array of color values.
  • _glColor3d (statement) sets the current color.
  • _glColor3dv (statement) sets the current color from an already existing array of color values.
  • _glColor3f (statement) sets the current color.
  • _glColor3fv (statement) sets the current color from an already existing array of color values.
  • _glColor3i (statement) sets the current color.
  • _glColor3iv (statement) sets the current color from an already existing array of color values.
  • _glColor3s (statement) sets the current color.
  • _glColor3sv (statement) sets the current color from an already existing array of color values.
  • _glColor3ub (statement) sets the current color.
  • _glColor3ubv (statement) sets the current color from an already existing array of color values.
  • _glColor3ui (statement) sets the current color.
  • _glColor3uiv (statement) sets the current color from an already existing array of color values.
  • _glColor3us (statement) sets the current color.
  • _glColor3usv (statement) sets the current color from an already existing array of color values.
  • _glColor4b (statement) sets the current color.
  • _glColor4bv (statement) sets the current color from an already existing array of color values.
  • _glColor4d (statement) sets the current color.
  • _glColor4dv (statement) sets the current color from an already existing array of color values.
  • _glColor4f (statement) sets the current color.
  • _glColor4fv (statement) sets the current color from an already existing array of color values.
  • _glColor4i (statement) sets the current color.
  • _glColor4iv (statement) sets the current color from an already existing array of color values.
  • _glColor4s (statement) sets the current color.
  • _glColor4sv (statement) sets the current color from an already existing array of color values.
  • _glColor4ub (statement) sets the current color.
  • _glColor4ubv (statement) sets the current color from an already existing array of color values.
  • _glColor4ui (statement) sets the current color.
  • _glColor4uiv (statement) sets the current color from an already existing array of color values.
  • _glColor4us (statement) sets the current color.
  • _glColor4usv (statement) sets the current color from an already existing array of color values.
  • _glColorMask (statement) enables and disables writing of frame-buffer color components.
  • _glColorMaterial (statement) causes a material color to track the current color.
  • _glColorPointer (statement) defines an array of colors.
  • _glCopyPixels (statement) copies pixels in the framebuffer.
  • _glCopyTexImage1D (statement) copies pixels from the framebuffer into a one-dimensional texture image.
  • _glCopyTexImage2D (statement) copies pixels from the framebuffer into a two-dimensional texture image.
  • _glCopyTexSubImage1D (statement) copies a sub-image of a one-dimensional texture image from the framebuffer.
  • _glCopyTexSubImage2D (statement) copies a sub-image of a two-dimensional texture image from the framebuffer.
  • _glCullFace (statement) specifies whether front-facing or back-facing facets can be culled.
(Return to Table of Contents)

_glD (OpenGL)

  • _glDeleteLists (statement) deletes a contiguous group of display lists.
  • _glDeleteTextures (statement) deletes named textures.
  • _glDepthFunc (statement) specifies the value used for depth-buffer comparisons.
  • _glDepthMask (statement) enables or disables writing into the depth buffer.
  • _glDepthRange (statement) specifies the mapping of z values from normalized device coordinates to window coordinates.
  • _glDisable (statement) the _glEnable and _glDisable statements enable or disable OpenGL capabilities.
  • _glDisableClientState (statement) the _glEnableClientState and _glDisableClientState statements enable and disable arrays.
  • _glDrawArrays (statement) specifies multiple primitives to render.
  • _glDrawBuffer (statement) specifies which color buffers are to be drawn into.
  • _glDrawElements (statement) renders primitives from array data.
  • _glDrawPixels (statement) writes a block of pixels to the framebuffer.
(Return to Table of Contents)

_glE (OpenGL)

  • _glEdgeFlag (statement) flags edges as either boundary or nonboundary.
  • _glEdgeFlagv (statement) flags edges as either boundary or nonboundary.
  • _glEdgeFlagPointer (statement) defines an array of edge flags.
  • _glEnable (statement) the _glEnable and _glDisable statements enable or disable OpenGL capabilities.
  • _glEnableClientState (statement) the _glEnableClientState and _glDisableClientState statements enable and disable arrays.
  • _glEnd (statement) the _glBegin and _glEnd statements delimit the vertices of a primitive or a group of like primitives.
  • _glEndList (statement) the _glNewList and _glEndList statements create or replace a display list.
  • _glEvalCoord1d (statement) evaluates enabled one-dimensional maps.
  • _glEvalCoord1dv (statement) evaluates enabled one-dimensional maps.
  • _glEvalCoord1f (statement) evaluates enabled one-dimensional maps.
  • _glEvalCoord1fv (statement) evaluates enabled one-dimensional maps.
  • _glEvalCoord2d (statement) evaluates enabled two-dimensional maps.
  • _glEvalCoord2dv (statement) evaluates enabled two-dimensional maps.
  • _glEvalCoord2f (statement) evaluates enabled two-dimensional maps.
  • _glEvalCoord2fv (statement) evaluates enabled two-dimensional maps.
  • _glEvalMesh1 (statement) computes a one-dimensional grid of points or lines.
  • _glEvalMesh2 (statement) computes a two-dimensional grid of points or lines.
  • _glEvalPoint1 (statement) generate and evaluate a single point in a mesh.
  • _glEvalPoint2 (statement) generate and evaluate a single point in a mesh.
(Return to Table of Contents)

_glF (OpenGL)

  • _glFeedbackBuffer (statement) controls feedback mode.
  • _glFinish (statement) blocks until all OpenGL execution is complete.
  • _glFlush (statement) forces execution of OpenGL functions in finite time.
  • _glFogf (statement) specifies fog parameters.
  • _glFogfv (statement) specifies fog parameters.
  • _glFogi (statement) specifies fog parameters.
  • _glFogiv (statement) specifies fog parameters.
  • _glFrontFace (statement) defines front-facing and back-facing polygons.
  • _glFrustum (statement) multiplies the current matrix by a perspective matrix.
(Return to Table of Contents)

_glG (OpenGL)

(Return to Table of Contents)

_glH (OpenGL)

  • _glHint (statement) specifies implementation-specific hints.
(Return to Table of Contents)

_glI (OpenGL)

  • _glIndexMask (statement) controls the writing of individual bits in the color-index buffers.
  • _glIndexPointer (statement) defines an array of color indexes.
  • _glIndexd (statement) sets the current color index.
  • _glIndexdv (statement) sets the current color index.
  • _glIndexf (statement) sets the current color index.
  • _glIndexfv (statement) sets the current color index.
  • _glIndexi (statement) sets the current color index.
  • _glIndexiv (statement) sets the current color index.
  • _glIndexs (statement) sets the current color index.
  • _glIndexsv (statement) sets the current color index.
  • _glIndexub (statement) sets the current color index.
  • _glIndexubv (statement) sets the current color index.
  • _glInitNames (statement) initializes the name stack.
  • _glInterleavedArrays (statement) simultaneously specifies and enables several interleaved arrays in a larger aggregate array.
  • _glIsEnabled (function) tests whether a capability is enabled.
  • _glIsList (function) tests for display list existence.
  • _glIsTexture (function) determines if a name corresponds to a texture.
(Return to Table of Contents)

_glL (OpenGL)

  • _glLightModelf (statement) sets lighting model parameters.
  • _glLightModelfv (statement) sets lighting model parameters.
  • _glLightModeli (statement) sets lighting model parameters.
  • _glLightModeliv (statement) sets lighting model parameters.
  • _glLightf (statement) returns light source parameter values.
  • _glLightfv (statement) returns light source parameter values.
  • _glLighti (statement) returns light source parameter values.
  • _glLightiv (statement) returns light source parameter values.
  • _glLineStipple (statement) specifies the line stipple pattern.
  • _glLineWidth (statement) specifies the width of rasterized lines.
  • _glListBase (statement) sets the display list base for _glCallLists.
  • _glLoadIdentity (statement) replaces the current matrix with the identity matrix.
  • _glLoadMatrixd (statement) replaces the current matrix with an arbitrary matrix.
  • _glLoadMatrixf (statement) replaces the current matrix with an arbitrary matrix.
  • _glLoadName (statement) loads a name onto the name stack.
  • _glLogicOp (statement) specifies a logical pixel operation for color index rendering.
(Return to Table of Contents)

_glM (OpenGL)

  • _glMap1d (statement) defines a one-dimensional evaluator.
  • _glMap1f (statement) defines a one-dimensional evaluator.
  • _glMap2d (statement) defines a two-dimensional evaluator.
  • _glMap2f (statement) defines a two-dimensional evaluator.
  • _glMapGrid1d (statement) defines a one-dimensional mesh.
  • _glMapGrid1f (statement) defines a one-dimensional mesh.
  • _glMapGrid2d (statement) defines a two-dimensional mesh.
  • _glMapGrid2f (statement) defines a two-dimensional mesh.
  • _glMaterialf (statement) specifies material parameters for the lighting model.
  • _glMaterialfv (statement) specifies material parameters for the lighting model.
  • _glMateriali (statement) specifies material parameters for the lighting model.
  • _glMaterialiv (statement) specifies material parameters for the lighting model.
  • _glMatrixMode (statement) specifies which matrix is the current matrix.
  • _glMultMatrixd (statement) multiplies the current matrix by an arbitrary matrix.
  • _glMultMatrixf (statement) multiplies the current matrix by an arbitrary matrix.
(Return to Table of Contents)

_glN (OpenGL)

  • _glNewList (statement) the _glNewList and _glEndList statements create or replace a display list.
  • _glNormal3b (statement) sets the current normal vector.
  • _glNormal3bv (statement) sets the current normal vector.
  • _glNormal3d (statement) sets the current normal vector.
  • _glNormal3dv (statement) sets the current normal vector.
  • _glNormal3f (statement) sets the current normal vector.
  • _glNormal3fv (statement) sets the current normal vector.
  • _glNormal3i (statement) sets the current normal vector.
  • _glNormal3iv (statement) sets the current normal vector.
  • _glNormal3s (statement) sets the current normal vector.
  • _glNormal3sv (statement) sets the current normal vector.
  • _glNormalPointer (statement) defines an array of normals.
(Return to Table of Contents)

_glO (OpenGL)

  • _glOrtho (statement) multiplies the current matrix by an orthographic matrix.
(Return to Table of Contents)

_glP (OpenGL)

  • _glPassThrough (statement) places a marker in the feedback buffer.
  • _gluPerspective (statement) sets up a perspective projection matrix.
  • _glPixelMapfv (statement) sets up pixel transfer maps.
  • _glPixelMapuiv (statement) sets up pixel transfer maps.
  • _glPixelMapusv (statement) sets up pixel transfer maps.
  • _glPixelStoref (statement) sets pixel storage modes.
  • _glPixelStorei (statement) sets pixel storage modes.
  • _glPixelTransferf (statement) sets pixel transfer modes.
  • _glPixelTransferi (statement) sets pixel transfer modes.
  • _glPixelZoom (statement) specifies the pixel zoom factors.
  • _glPointSize (statement) specifies the diameter of rasterized points.
  • _glPolygonMode (statement) selects a polygon rasterization mode.
  • _glPolygonOffset (statement) sets the scale and units OpenGL uses to calculate depth values.
  • _glPolygonStipple (statement) sets the polygon stippling pattern.
  • _glPopAttrib (statement) the _glPushAttrib and _glPopAttrib statements push and pop the attribute stack.
  • _glPopClientAttrib (statement) the _glPushClientAttrib and _glPopClientAttrib statements save and restore groups of client-state variables on the client-attribute stack.
  • _glPopMatrix (statement) the _glPushMatrix and _glPopMatrix statements push and pop the current matrix stack.
  • _glPopName (statement) the _glPushName and _glPopName statements push and pop the name stack.
  • _glPrioritizeTextures (statement) sets the residence priority of textures.
  • _glPushAttrib (statement) the _glPushAttrib and _glPopAttrib statements push and pop the attribute stack.
  • _glPushClientAttrib (statement) the _glPushClientAttrib and _glPopClientAttrib statements save and restore groups of client-state variables on the client-attribute stack.
  • _glPushMatrix (statement) the _glPushMatrix and _glPopMatrix statements push and pop the current matrix stack.
  • _glPushName (statement) the _glPushName and _glPopName statements push and pop the name stack.
(Return to Table of Contents)

_glR (OpenGL)

  • _glRasterPos2d (statement) specifies the raster position for pixel operations.
  • _glRasterPos2dv (statement) specifies the raster position for pixel operations.
  • _glRasterPos2f (statement) specifies the raster position for pixel operations.
  • _glRasterPos2fv (statement) specifies the raster position for pixel operations.
  • _glRasterPos2i (statement) specifies the raster position for pixel operations.
  • _glRasterPos2iv (statement) specifies the raster position for pixel operations.
  • _glRasterPos2s (statement) specifies the raster position for pixel operations.
  • _glRasterPos2sv (statement) specifies the raster position for pixel operations.
  • _glRasterPos3d (statement) specifies the raster position for pixel operations.
  • _glRasterPos3dv (statement) specifies the raster position for pixel operations.
  • _glRasterPos3f (statement) specifies the raster position for pixel operations.
  • _glRasterPos3fv (statement) specifies the raster position for pixel operations.
  • _glRasterPos3i (statement) specifies the raster position for pixel operations.
  • _glRasterPos3iv (statement) specifies the raster position for pixel operations.
  • _glRasterPos3s (statement) specifies the raster position for pixel operations.
  • _glRasterPos3sv (statement) specifies the raster position for pixel operations.
  • _glRasterPos4d (statement) specifies the raster position for pixel operations.
  • _glRasterPos4dv (statement) specifies the raster position for pixel operations.
  • _glRasterPos4f (statement) specifies the raster position for pixel operations.
  • _glRasterPos4fv (statement) specifies the raster position for pixel operations.
  • _glRasterPos4i (statement) specifies the raster position for pixel operations.
  • _glRasterPos4iv (statement) specifies the raster position for pixel operations.
  • _glRasterPos4s (statement) specifies the raster position for pixel operations.
  • _glRasterPos4sv (statement) specifies the raster position for pixel operations.
  • _glReadBuffer (statement) selects a color buffer source for pixels.
  • _glReadPixels (statement) reads a block of pixels from the framebuffer.
  • _glRectd (statement) draws a rectangle.
  • _glRectdv (statement) draws a rectangle.
  • _glRectf (statement) draws a rectangle.
  • _glRectfv (statement) draws a rectangle.
  • _glRecti (statement) draws a rectangle.
  • _glRectiv (statement) draws a rectangle.
  • _glRects (statement) draws a rectangle.
  • _glRectsv (statement) draws a rectangle.
  • _glRenderMode (function) sets the rasterization mode and returns the previous active mode.
  • _glRotated (statement) multiplies the current matrix by a rotation matrix.
  • _glRotatef (statement) multiplies the current matrix by a rotation matrix.
(Return to Table of Contents)

_glS (OpenGL)

  • _glScaled (statement) multiplies the current matrix by a general scaling matrix.
  • _glScalef (statement) multiplies the current matrix by a general scaling matrix.
  • _glScissor (statement) defines the scissor box.
  • _glSelectBuffer (statement) establishes a buffer for selection mode values.
  • _glShadeModel (statement) selects flat or smooth shading.
  • _glStencilFunc (statement) sets the function and reference value for stencil testing.
  • _glStencilMask (statement) controls the writing of individual bits in the stencil planes.
  • _glStencilOp (statement) sets the stencil test actions.
(Return to Table of Contents)

_glT (OpenGL)

(Return to Table of Contents)

_glV (OpenGL)

(Return to Table of Contents)
(Go to Top of QB64 OpenGL keywords)


Symbols

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


Print, Input or File Formatting
(Return to Table of Contents)
Program Code Markers
(Return to Table of Contents)
Variable Name Type Suffixes
(Return to Table of Contents)
Numerical Base Prefixes
(Return to Table of Contents)
Mathematical Operations
(Return to Table of Contents)
Relational Operations
  • = Equal to condition
  • <> Not equal condition
  • > Greater than condition
  • < Less than condition
  • >= Greater than or equal to condition
  • <= Less than or equal to condition
(Return to Table of Contents)


QB64 Programming References

Wiki Pages
Main Page with Articles and Tutorials
QB64 specific keywords (alphabetical)
Original QBasic keywords (alphabetical)
QB64 OpenGL keywords (alphabetical)
Keywords by Usage
Got a question about something?
Frequently Asked Questions about QB64
QB64 Phoenix Edition Community Forum
Links to other QBasic Sites:
Pete's QBasic Forum
Pete's QBasic Downloads