User contributions for SMcNeill

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

30 April 2022

  • 18:4818:48, 30 April 2022 diff hist +5,020 N GlCopyTexImage2DCreated page with "'''_glCopyTexImage2D:''' copy pixels into a 2D texture image {{PageSyntax}} : SUB _glCopyTexImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalFormat AS _UNSIGNED LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG, BYVAL border AS LONG) : void '''_glCopyTexImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLenum {{Parameter|internalformat}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei..."
  • 18:4718:47, 30 April 2022 diff hist +4,440 N GlCopyTexImage1DCreated page with "'''_glCopyTexImage1D:''' copy pixels into a 1D texture image {{PageSyntax}} : SUB _glCopyTexImage1D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL internalFormat AS _UNSIGNED LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL border AS LONG) : void '''_glCopyTexImage1D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLenum {{Parameter|internalformat}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}},..."
  • 06:1106:11, 30 April 2022 diff hist +2,099 N GlScissorCreated page with "'''_glScissor:''' define the scissor box {{PageSyntax}} SUB _glScissor (BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG) void '''_glScissor'''(GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}, GLsizei {{Parameter|height}}); ; x, y : Specify the lower left corner of the scissor box. Initially (0, 0). ; width, height : Specify the width and height of the scissor box. When a GL context is first attached to a wind..."
  • 06:1106:11, 30 April 2022 diff hist +3,175 N GlDrawBufferCreated page with "'''_glDrawBuffer:''' specify which color buffers are to be drawn into {{PageSyntax}} :: SUB _glDrawBuffer (BYVAL mode AS _UNSIGNED LONG) :: void '''_glDrawBuffer'''(GLenum {{Parameter|mode}}); ; mode : Specifies up to four color buffers to be drawn into. Symbolic constants {{KW|_GL_NONE}}, {{KW|_GL_FRONT_LEFT}}, {{KW|_GL_FRONT_RIGHT}}, {{KW|_GL_BACK_LEFT}}, {{KW|_GL_BACK_RIGHT}}, {{KW|_GL_FRONT}}, {{KW|_GL_BACK}}, {{KW|_GL_LEFT}}, {{KW|_GL_RIGHT}}, and {{KW|_GL_FR..."
  • 06:1006:10, 30 April 2022 diff hist +1,921 N GlStencilMaskCreated page with "'''_glStencilMask:''' control the front and back writing of individual bits in the stencil planes {{PageSyntax}} SUB _glStencilMask (BYVAL mask AS _UNSIGNED LONG) void '''_glStencilMask'''(GLuint {{Parameter|mask}}); ; mask : Specifies a bit mask to enable and disable writing of individual bits in the stencil planes. Initially, the mask is all 1's. {{PageDescription}} '''_glStencilMask''' controls the writing of individual bits in the stencil planes. The leas..."
  • 06:0906:09, 30 April 2022 diff hist +1,188 N GlDepthMaskCreated page with "'''_glDepthMask:''' enable or disable writing into the depth buffer {{PageSyntax}} :: SUB _glDepthMask (BYVAL flag AS _UNSIGNED _BYTE) :: void '''_glDepthMask'''(GLboolean {{Parameter|flag}}); ; flag : Specifies whether the depth buffer is enabled for writing. If {{Parameter|flag}} is {{KW|_GL_FALSE}}, depth buffer writing is disabled. Otherwise, it is enabled. Initially, depth buffer writing is enabled. {{PageDescription}} '''_glDepthMask''' specifies whether..."
  • 06:0906:09, 30 April 2022 diff hist +1,840 N GlColorMaskCreated page with "'''_glColorMask, glColorMaski:''' enable and disable writing of frame buffer color components {{PageSyntax}} :: SUB _glColorMask (BYVAL red AS _UNSIGNED _BYTE, BYVAL green AS _UNSIGNED _BYTE, BYVAL blue AS _UNSIGNED _BYTE, BYVAL alpha AS _UNSIGNED _BYTE) :: void '''_glColorMask'''(GLboolean {{Parameter|red}}, GLboolean {{Parameter|green}}, GLboolean {{Parameter|blue}}, GLboolean {{Parameter|alpha}}); :: void '''_glColorMaski'''(GLuint {{Parameter|buf}}, GLboolean {..."
  • 06:0906:09, 30 April 2022 diff hist +712 N GlClearStencilCreated page with "'''_glClearStencil:''' specify the clear value for the stencil buffer {{PageSyntax}} :: SUB _glClearStencil (BYVAL s AS LONG) :: void '''_glClearStencil'''(GLint {{Parameter|s}}); ; s : Specifies the index used when the stencil buffer is cleared. The initial value is 0. {{PageDescription}} '''_glClearStencil''' specifies the index used by {{KW|_glClear}} to clear the stencil buffer. {{Parameter|s}} is masked with 2<sup>m</sup> - 1, where m is the nu..."
  • 06:0806:08, 30 April 2022 diff hist +906 N GlClearDepthCreated page with "'''_glClearDepth:''' specify the clear value for the depth buffer {{PageSyntax}} :: SUB _glClearDepth (BYVAL depth AS DOUBLE) :: void '''_glClearDepth'''(GLdouble {{Parameter|depth}}); :: void '''_glClearDepthf'''(GLfloat {{Parameter|depth}}); ; depth : Specifies the depth value used when the depth buffer is cleared. The initial value is 1. {{PageDescription}} '''_glClearDepth''' specifies the depth value used by {{KW|_glClear}} to clear the depth buffer. Values s..."
  • 06:0806:08, 30 April 2022 diff hist +985 N GlClearColorCreated page with "'''_glClearColor:''' specify clear values for the color buffers {{PageSyntax}} :: SUB '''_glClearColor''' (BYVAL red AS SINGLE, BYVAL green AS SINGLE, BYVAL blue AS SINGLE, BYVAL alpha AS SINGLE) :: void '''_glClearColor'''(GLfloat {{Parameter|red}}, GLfloat {{Parameter|green}}, GLfloat {{Parameter|blue}}, GLfloat {{Parameter|alpha}}); ; red, green, blue, alpha : Specify the red, green, blue, and alpha values used when the color buffers are cleared. The initial valu..."
  • 06:0706:07, 30 April 2022 diff hist +1,847 N GLCreated page with "{{DISPLAYTITLE:_GL}} In order to use OpenGL drawing commands, you must do so from inside a SUB procedure called '''_GL''', which enables the commands to be rendered. {{PageSyntax}} :SUB _GL :: ''REM Your OpenGL code here : END SUB {{PageDescription}} * OpenGL commands are valid outside of '''SUB _GL''', as long as the sub procedure exists in your code. * Attempting to use OpenGL commands without having '''SUB _GL''' in a program will result in a '''Syn..."
  • 06:0606:06, 30 April 2022 diff hist +2,101 N GlClearCreated page with "'''_glClear:''' clear buffers to preset values {{PageSyntax}} :: SUB _glClear (BYVAL mask AS _UNSIGNED LONG) :: void '''_glClear'''(GLbitfield {{Parameter|mask}}); {{PageParameters}} * ''mask'' that indicate the buffer OR buffers to be cleared. The three masks are _GL_COLOR_BUFFER_BIT, _GL_DEPTH_BUFFER_BIT, and _GL_STENCIL_BUFFER_BIT. {{PageDescription}} * _glClear sets the bitplane area of the window to values previously sele..."
  • 06:0506:05, 30 April 2022 diff hist +4,931 N GlBindTextureCreated page with "'''_glBindTexture:''' bind a named texture to a texturing target {{PageSyntax}} :: SUB '''_glBindTexture''' (BYVAL target AS _UNSIGNED LONG, BYVAL texture AS _UNSIGNED LONG) :: void '''_glBindTexture'''(GLenum {{Parameter|target}}, GLuint {{Parameter|texture}}); ; target : Specifies the target to which the texture is bound. Must be either {{KW|_GL_TEXTURE_1D}}, {{KW|_GL_TEXTURE_2D}}, {{KW|_GL_TEXTURE_3D}}, or {{KW|_GL_TEXTURE_1D_ARRAY}}, {{KW|_GL_TEXTURE_2D_ARRAY}},..."

28 April 2022

27 April 2022

22 April 2022

21 April 2022

  • 00:4100:41, 21 April 2022 diff hist +25 N ISRedirected page to SELECT CASE current Tags: New redirect visualeditor
  • 00:3000:30, 21 April 2022 diff hist +9,315 N ScancodesCreated page with "'''This page is maintained for historic purposes. The functionality of the code below can now be achieved through the _KEYDOWN function.''' ---- '''Scancodes''' are the return values of keyboard input that can be read using INP to find key presses and '''releases''', unlike the ASCII codes returned using INKEY$. {{PageSyntax}} : {{Parameter|scanCode%}} = INP(&H60) {{PageDescription}} * Used to find '''[Ctrl], [Alt], [Shift], [Caps Lock], [Scroll..."
  • 00:2900:29, 21 April 2022 diff hist +1,498 N ParameterCreated page with "Optional '''parameters''' are values passed to SUB and FUNCTION procedures. They are always enclosed in parenthesis inside the procedures. {{PageSyntax}} ::: SUB SubName['''(''parameter''''' [{{KW|AS}} Type][''', ...''']''')'''] ::: FUNCTION FunctionName['''(''parameter''''' [{{KW|AS}} Type][''', ...''']''')'''] ::: CALL SubName['''(''parameter'''''[''', ...''']''')'''] ::: SubName ['''''parameter'''''][''', ......"
  • 00:2800:28, 21 April 2022 diff hist +27,472 N DEF SEG = 0Created page with "The following '''DOS BIOS''' information can be used on Windows 9x machines. Not necessarily XP or NT! Each routine includes the hexadecimal and decimal registers. :'''NOTE: Few of these addresses are currenly accessable in QB64! Some may never be due to OS changes.''' ::::::'''DEF SEG = 0 LOW MEMORY PORT ADDRESSES''' ::::::===================================== :::::'''PORT # | FUNCTION, DESCRIPTION OR COMMENTS FOR USE''' :::::======================================..." Tag: visualeditor-switched
  • 00:0400:04, 21 April 2022 diff hist +28,881 N SQL ClientCreated page with "'''MySQL''' is a database manager that is widely used on the internet with languages such as PHP. This is a DECLARE LIBRARY to allow access to MySQL databases. <center>'''IMPORTANT'''</center> :::::::* 1) Make sure you are running QB64 V0.942 or higher :::::::* 2) Download 'mysql.dll' and place it in your qb64 folder (not provided) :::::::* 3) Create 'mysql_helper.h' in your QB64 folder (see below) :::::::* 4) Run & enjoy browsing our sample database as a member with re..."
  • 00:0400:04, 21 April 2022 diff hist +16,152 N Windows Registry AccessCreated page with "The following procedure demonstrates how Registry information can be altered by disabling and re-enabling the Autorun/Autoplay for the current user. It then reads the Registry to list some of the programs that auto start for all users. {{small|Code courtesy of Michael Calkins}} <center>'''{{text|WARNING! Use care when editing or altering Registry settings! YOU will be responsible for any damages incurred!|red}}'''</center> {{CodeStart}} '' '' ' winreg.h {{Cl|CONST}}..."
  • 00:0300:03, 21 April 2022 diff hist +9,708 N SFML LibraryCreated page with "'''SFML''' is a sound library that allows users to record and play sounds. <center>[http://dl.dropbox.com/u/8822351/SFML.rar SFML.RAR Download(Includes Library header file)]</center> {{TextStart}} '' '' //SFML_Wrapper02.h for QB64 version.02 - By John Onyon a.k.a Unseen Machine <nowiki> #include <SFML/Graphics.hpp> #include <SFML/Window.hpp> #include <SFML/Audio.hpp> #include <SFML/System.hpp> </nowiki> sf::RenderWindow App; sf::Color BackgroundColor = sf::Color(0,0,..."
  • 00:0300:03, 21 April 2022 diff hist +2,814 N PEEK and POKE LibraryCreated page with "This header allows you to peek and poke bytes, words, and dwords in QB64. The functions seem to work okay when used with signed variables also. For example, I am able to assign the return of peekw~% to an INTEGER without problem. Regards, Michael Calkins Create ''PeekPoke.h'' text file in the QB64 folder: {{TextStart}} /* peek and poke for bytes, words, and dwords in qb64 public domain, sept 2011, michael calkins http://www.network54.com/Forum/648955/message/131595..."
  • 00:0200:02, 21 April 2022 diff hist +349 N Less Than Or EqualCreated page with "The '''<=''' condition symbol denotes that a value must be less than or equal to another value for the condition to be True. ''Example usage:'' IF x <= 320 THEN PRINT "Left or center of screen" ''See also:'' * = * <> * >= * Relational Operations {{PageNavigation}}"
  • 00:0100:01, 21 April 2022 diff hist +343 N Greater Than Or EqualCreated page with "The '''>=''' condition symbol denotes that a value must be greater than or equal to another value for the condition to be True. ''Example usage:'' IF x > 320 THEN PRINT "Right or center of screen" ''See also:'' * = * <> * <= * Relational Operations {{PageNavigation}}"
  • 00:0100:01, 21 April 2022 diff hist +554 N Less ThanCreated page with "The '''<''' condition symbol denotes that a value must be less than another value for the condition to be True. ''Example usage:'' IF x < 320 THEN PRINT "Left of screen" * Statements will evaluate as True or -1 when the first value is less or False or 0 when the first value is equal or greater. * More than one < symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical value. ''See also:'' * = * Not_E..."
  • 00:0100:01, 21 April 2022 diff hist +558 N Greater ThanCreated page with "The '''>''' condition symbol denotes that a value must be greater than another value for the condition to be True. ''Example usage:'' IF x > 320 THEN PRINT "Right of screen" * Statements will evaluate as True or -1 when the first value is greater or False or 0 when equal or the first value is less. * More than one > symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical value. ''See also:'' * = *..."
  • 00:0000:00, 21 April 2022 diff hist +533 N Not EqualCreated page with "The '''<>''' condition symbol denotes that a value must not equal another value for the condition to be True. ''Example usage:'' IF x <> 320 THEN PRINT "Not in center of screen" * Statements will evaluate as True or -1 when two values are not equal or False or 0 when equal. * More than one <> symbol in a numerical statement will create a Boolean evaluation of the ensuing numerical pairs. ''See also:'' * = * > * Less..."

20 April 2022

  • 23:4723:47, 20 April 2022 diff hist +1,224 N EqualCreated page with " View source for Equal ← Equal Jump to navigationJump to search You do not have permission to edit this page, for the following reason: The action you have requested is limited to users in the group: Users. You can view and copy the source of this page. The '''=''' condition symbol denotes that a value must equal another value for the condition to be True. ''Example usage:'' IF x = 320 THEN PRINT "Center of screen" * Statements will evaluate as True or -1 w..."
  • 23:4623:46, 20 April 2022 diff hist +1,735 N ^Created page with "The '''^''' operation raises a numerical value to an exponential value expressing how many times the value is multiplied by itself. {{PageSyntax}} ::'' return_value = number '''^''' {whole_exponent|(fractional_exponent)} {{PageDescription}} * The number value can be any type literal or variable numerical value. * Exponents can be any positive or negative integer or fractional numerical value inside of parenthesis brackets. * If the exponent is zero, the value return..."
  • 23:4623:46, 20 April 2022 diff hist +1,281 N \Created page with "The '''\''' mathematical operator performs INTEGER division on a numerical value. {{PageSyntax}} ::: return_value = number '''\''' divisor {{PageDescription}} * Number value can be any literal or variable numerical type. * '''Divisor (second value) must not be a value of 0 to .5'''. This will create a "Division by zero" error! due to CINT rounding. * Return values will be INTEGER or LONG value types only. * Rounding is done to the..."
  • 23:4423:44, 20 April 2022 diff hist +1,061 N /Created page with "The '''/''' mathematical operator performs decimal point division on a numerical value. {{PageSyntax}} ::: return_value = number '''/''' divisor {{PageDescription}} * Number value can be any literal or variable numerical type. * '''Divisor (second value) must not be a value of 0 to .5'''. This will create a "Division by zero" error! due to CINT rounding. * Return values can be any literal or variable numerical type, but SINGLE or DOUBLE..."
  • 23:4423:44, 20 April 2022 diff hist +648 N *Created page with "The '''*''' mathematical operator performs the multiplication of two values. ''Syntax:'' return_value = number1 * number2 {{PageDescription}} * Multiplication can use any two literal or variable numerical type values. * Multiplication of two negative numbers returns a positive result. One negative number will always return a negative value. * Return values may exceed certain numerical variable type limits creating an "Overflow" error. * Division and..."
  • 21:5621:56, 20 April 2022 diff hist +60 NegationNo edit summary
  • 21:5421:54, 20 April 2022 diff hist +319 N NegationCreated page with "'Negation is the process of changing the sign of a positive number to negative. Usage: number% = -number% Negation can be performed by adding a negative (- minus) sign to a number or by multiplying or dividing a number by any negative value. If a negative value is negated, the value of the number becomes positive."
  • 21:5321:53, 20 April 2022 diff hist +704 N -Created page with "The '''-''' mathematical operator performs subtraction on two numerical values or negates a single value. ''Syntax:'' return_value = number1 - number2 {{PageDescription}} * Numbers used can be any literal or variable numerical value type. * Subtracting a negative value will actually perform addition with the other value. * Subtracting a negative or negated value will make the return value more positive. * Addition and subtraction are th..."
  • 21:5121:51, 20 April 2022 diff hist +4,352 N MODCreated page with "The MOD operator gives the remainder after division of one number by another (sometimes called modulus). {{PageSyntax}} : {{Parameter|remainder}} = {{Parameter|numerator}} MOD {{Parameter|divisor}} {{Parameters}} * Returns the integer division remainder as a whole INTEGER, LONG or _INTEGER64 value. * {{Parameter|numerator}} is the INTEGER value to divide. * {{Parameter|divisor}} is the INTEGER value to divide by. {{PageDescription}} * F..."
  • 21:5121:51, 20 April 2022 diff hist +978 N MKDIRCreated page with "The MKDIR statement creates a new folder ('''dir'''ectory) at a specified path. {{PageSyntax}} : MKDIR pathSpec$ {{PageDescription}} * The path specification (pathSpec$) is a literal or variable STRING expression that also specifies the new folder's name. * If no path is given the directory will become a sub-directory of the present directory where the program is currently running. * '''QB64''' can use both long or short path and file names with spaces wh..."
  • 21:5021:50, 20 April 2022 diff hist +4,040 N MID$Created page with "The MID$ function returns a portion of a string. {{PageSyntax}} : {{Parameter|portion$}} = MID$({{Parameter|stringValue$}}, {{Parameter|startPosition%}}[, {{Parameter|bytes%}}]) {{Parameters}} * {{Parameter|stringValue$}} can be any literal or variable non-empty STRING value. Use LEN to check the length of a string. * {{Parameter|startPosition%}} designates the non-zero position of the first character to be returned by the function. * {{Par..."
  • 21:5021:50, 20 April 2022 diff hist +9,782 N OUTPUTCreated page with "The OPEN statement is used to open a file or COM serial communications port for program input or output. {{PageSyntax}} : OPEN {{Parameter|fileName$}} ['''FOR''' {{Parameter|mode}}] [{{{KW|ACCESS}}|{{{KW|LOCK}}|SHARED}} [{READ|WRITE}] AS [#]{{Parameter|fileNumber&}} [LEN = {{Parameter|recordLength}}] ===Legacy ''GW-BASIC'' syntax=== : OPEN {{Parameter|modeLetter$}}, [#]{{Parameter|fileNumber&}}, {{Parameter|fileName$}}[, {{Parameter|recor..."
  • 21:4921:49, 20 April 2022 diff hist +1,711 N PALETTE USINGCreated page with "The PALETTE USING statement sets all RGB screen color intensities using values from an array. {{PageSyntax}} : PALETTE USING array%({{Parameter|startIndex%}}) {{PageDescription}} * The array holds the RGB color value using the color value as {{InlineCode}}{{Parameter|red%}} + 256 * {{Parameter|green%}} + 65536 * {{Parameter|blue%}}{{InlineCodeEnd}}. ** Color intensities range from 0 to 63. * {{Parameter|startIndex%}} indicates the index..."
  • 21:4921:49, 20 April 2022 diff hist +2,069 N PALETTECreated page with "The PALETTE statement can swap color settings, set colors to default or set the red, green and blue color components of palette colors. {{PageSyntax}} : PALETTE [{{Parameter|attribute%}}, ''red%'' + (''green%'' * 256) + (''blue%'' * 65536)] : PALETTE [{{Parameter|existingAttribute%}}, {{Parameter|newAttribute%}}] {{PageDescription}} * {{Parameter|red%}}, {{Parameter|green%}} and {{Parameter|blue%}} values can range from 0 to 63. Many color shades are po..."
  • 21:4921:49, 20 April 2022 diff hist +6,138 N PAINTCreated page with "The PAINT statement is used to fill a delimited area in a graphic screen mode with color. {{PageSyntax}} : PAINT ['''STEP'''] ({{Parameter|column%}}, {{Parameter|row%}}), {{Parameter|fillColor}}[, {{Parameter|borderColor%}}] {{Parameters}} * Can use the STEP keyword for relative coordinate placements. See example 1 below. * {{Parameter|fillColor}} is an INTEGER or LONG 32-bit value to paint the inside of an object. Colors are limited to the SCRE..."
  • 21:4821:48, 20 April 2022 diff hist +1,814 N PRINT USING (file statement)Created page with "The '''PRINT #, USING''' statement is used to PRINT formatted text data to a file. {{PageSyntax}} :: '''PRINT ''filenumber%,''''' [''text$''{;|,}] '''USING ''template$''; ''variable'''''[; ...][{;|,}] {{Parameters}} * INTEGER ''filenumber'' refers to the file number OPENed previously followed by a comma. * Literal or variable STRING ''text$'' can be placed between PRINT and USING or it can be included in the ''template''. * A semicolon or c..."
  • 21:4721:47, 20 April 2022 diff hist +5,486 N SWAPCreated page with "The {{KW|SWAP}} statement is used to exchange two variable or array element values. {{PageSyntax}} :{{KW|SWAP}} {{Parameter|variable1}}, {{Parameter|variable2}} {{PageDescription}} * {{Parameter|variable1}} and {{Parameter|variable2}} are any type variables whose values will be exchanged. * If either {{Parameter|variable1}} or {{Parameter|variable2}} is an array, then an element in the array must be designated. * {{KW|SWAP}} can be used with string or number variabl..."
  • 21:4721:47, 20 April 2022 diff hist +1,623 N STRIG(n)Created page with "The {{KW|STRIG(n)}} statement controls event trapping for a particular joystick or game pad device button. {{PageSyntax}} ::STRIG({{Parameter|button%}}) {ON|OFF|STOP} QB64 {{PageSyntax}} ::STRIG[(''button_function%''[, ''device_number%''])] {ON|OFF|STOP} {{PageDescription}} * {{Parameter|button function}} specifies the device's button function. Even functions record events while odd ones read the actual presses. * '''QB64''' can designate a button function and cont..."
  • 21:4621:46, 20 April 2022 diff hist +1,784 N STRING$Created page with "The {{KW|STRING$}} function returns a {{KW|STRING}} consisting of a single character repeated a number of times. {{PageSyntax}} : result$ = STRING$(''count&'', {''character$'' | ''ASCIIcode%''} ) {{PageDescription}} <!-- Stylin --> * {{Parameter|count&}} is the number of times the character specified by {{Parameter|character}} is repeated. * Character is a literal string character, a string variable or an ASCII code number. * If {{Parameter|count&}} is negative,..."
  • 21:4621:46, 20 April 2022 diff hist +3,734 N STRIGCreated page with "The '''STRIG''' function returns button press True or False status of game port (&H201) or USB joystick control device(s). {{PageSyntax}} :: IF STRIG(button_function%) THEN ... QB64 {{PageSyntax}} :: IF STRIG(''button_function%''[, ''device_number%'']) THEN ... ''Description:'' * Function returns -1 when a button event(even functions) has occurred or a button is pressed(odd functions). * STRIG will not read keyboard or mouse buttons detected by _DEVICES. * The..."
  • 21:4621:46, 20 April 2022 diff hist +4,902 N STICKCreated page with "The '''STICK''' function returns the directional axis coordinate move of game port (&H201) joystick or USB controller devices. {{PageSyntax}} :: coordinate_move% = STICK(direction%) QB64 {{PageSyntax}} :: coordinate_move% = STICK(''direction%''[, ''axis_number%'']) ''Description:'' * '''QB64''' allows any number of coordinate pairs for more than two game device controllers. STICK will not read a mouse axis. * ''axis_number'' can be used as the next axis parameter..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)