User contributions for SMcNeill

A user with 467 edits. Account created on 18 April 2022.
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:5318:53, 30 April 2022 diff hist +10,301 N GlEnable Created page with "'''_glEnable:''' enable or disable server-side GL capabilities {{PageSyntax}} SUB _glEnable (BYVAL cap AS _UNSIGNED LONG) void '''_glEnable'''(GLenum {{Parameter|cap}}); SUB _glDisable (BYVAL cap AS _UNSIGNED LONG) void '''_glDisable'''(GLenum {{Parameter|cap}}); ; cap : Specifies a symbolic constant indicating a GL capability. {{PageSyntax}} | name = glEnablei, glDisablei | core = 3.0 }} void '''_glEnablei'''(GLenum {{Parameter|cap}}, GLuint {{Param..."
  • 18:5218:52, 30 April 2022 diff hist +3,321 N GlDrawElements Created page with "'''_glDrawElements:''' render primitives from array data {{PageSyntax}} : SUB _glDrawElements (BYVAL mode AS _UNSIGNED LONG, BYVAL count AS LONG, BYVAL type AS _UNSIGNED LONG, indices AS _OFFSET) : void '''_glDrawElements'''(GLenum {{Parameter|mode}}, GLsizei {{Parameter|count}}, GLenum {{Parameter|type}}, const GLvoid * {{Parameter|indices}}); ; mode : Specifies what kind of primitives to render. Symbolic constants {{KW|_GL_POINTS}}, {{KW|_GL_LINE_STRIP}}, {{KW|_..."
  • 18:5218:52, 30 April 2022 diff hist +2,689 N GlDrawArrays Created page with "'''_glDrawArrays:''' render primitives from array data {{PageSyntax}} :: SUB _glDrawArrays (BYVAL mode AS _UNSIGNED LONG, BYVAL first AS LONG, BYVAL count AS LONG) :: void '''_glDrawArrays'''(GLenum {{Parameter|mode}}, GLint {{Parameter|first}}, GLsizei {{Parameter|count}}); ; mode : Specifies what kind of primitives to render. Symbolic constants {{KW|_GL_POINTS}}, {{KW|_GL_LINE_STRIP}}, {{KW|_GL_LINE_LOOP}}, {{KW|_GL_LINES}}, {{KW|_GL_LINE_STRIP_ADJACENCY}}, {{KW..."
  • 18:5118:51, 30 April 2022 diff hist +1,925 N GlDepthRange Created page with "'''_glDepthRange:''' specify mapping of depth values from normalized device coordinates to window coordinates {{PageSyntax}} :: SUB _glDepthRange (BYVAL zNear AS DOUBLE, BYVAL zFar AS DOUBLE) :: void '''_glDepthRange'''(GLdouble {{Parameter|nearVal}}, GLdouble {{Parameter|farVal}}); :: void '''_glDepthRangef'''(GLfloat {{Parameter|nearVal}}, GLfloat {{Parameter|farVal}}); ; nearVal : Specifies the mapping of the near clipping plane to window coordinates. The init..."
  • 18:5018:50, 30 April 2022 diff hist +2,387 N GlDepthFunc Created page with "'''_glDepthFunc:''' specify the value used for depth buffer comparisons {{PageSyntax}} :: SUB _glDepthFunc (BYVAL func AS _UNSIGNED LONG) :: void '''_glDepthFunc'''(GLenum {{Parameter|func}}); ; func : Specifies the depth comparison function. Symbolic constants {{KW|_GL_NEVER}}, {{KW|_GL_LESS}}, {{KW|_GL_EQUAL}}, {{KW|_GL_LEQUAL}}, {{KW|_GL_GREATER}}, {{KW|_GL_NOTEQUAL}}, {{KW|_GL_GEQUAL}}, and {{KW|_GL_ALWAYS}} are accepted. The initial value is {{KW|_GL_LESS}}...."
  • 18:5018:50, 30 April 2022 diff hist +1,070 N GlDeleteTextures Created page with "'''_glDeleteTextures:''' delete named textures {{PageSyntax}} : SUB _glDeleteTextures (BYVAL n AS LONG, textures AS _UNSIGNED LONG) : void '''_glDeleteTextures'''(GLsizei {{Parameter|n}}, const GLuint * {{Parameter|textures}}); ; n : Specifies the number of textures to be deleted. ; textures : Specifies an array of textures to be deleted. {{PageDescription}} '''_glDeleteTextures''' deletes {{Parameter|n}} textures named by the elements of the array {{Parameter..."
  • 18:4918:49, 30 April 2022 diff hist +1,450 N GlCullFace Created page with "'''_glCullFace:''' specify whether front- or back-facing facets can be culled {{PageSyntax}} ::SUB '''_glCullFace''' (BYVAL mode AS _UNSIGNED LONG) :: void '''_glCullFace'''(GLenum {{Parameter|mode}}); ; mode : Specifies whether front- or back-facing facets are candidates for culling. Symbolic constants {{KW|_GL_FRONT}}, {{KW|_GL_BACK}}, and {{KW|_GL_FRONT_AND_BACK}} are accepted. The initial value is {{KW|_GL_BACK}}. {{PageDescription}} '''_glCullFace''' specifi..."
  • 18:4918:49, 30 April 2022 diff hist +4,669 N GlCopyTexSubImage2D Created page with "'''_glCopyTexSubImage2D:''' copy a two-dimensional texture subimage {{PageSyntax}} : SUB _glCopyTexSubImage2D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL xoffset AS LONG, BYVAL yoffset AS LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG, BYVAL height AS LONG) : void '''_glCopyTexSubImage2D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLint {{Parameter|yoffset}}, GLint {{Parameter|x}}, GLint {{Par..."
  • 18:4818:48, 30 April 2022 diff hist +3,264 N GlCopyTexSubImage1D Created page with "'''_glCopyTexSubImage1D:''' copy a one-dimensional texture subimage {{PageSyntax}} : SUB _glCopyTexSubImage1D (BYVAL target AS _UNSIGNED LONG, BYVAL level AS LONG, BYVAL xoffset AS LONG, BYVAL x AS LONG, BYVAL y AS LONG, BYVAL width AS LONG) : void '''_glCopyTexSubImage1D'''(GLenum {{Parameter|target}}, GLint {{Parameter|level}}, GLint {{Parameter|xoffset}}, GLint {{Parameter|x}}, GLint {{Parameter|y}}, GLsizei {{Parameter|width}}); ; target : Specifies the targe..."
  • 18:4818:48, 30 April 2022 diff hist +5,020 N GlCopyTexImage2D Created 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 GlCopyTexImage1D Created 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 GlScissor Created 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 GlDrawBuffer Created 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 GlStencilMask Created 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 GlDepthMask Created 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 GlColorMask Created 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 GlClearStencil Created 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 GlClearDepth Created 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 GlClearColor Created 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 GL Created 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 GlClear Created 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 GlBindTexture Created 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:3000:30, 21 April 2022 diff hist +9,315 N Scancodes Created 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 Parameter Created 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 = 0 Created 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 Client Created 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 Access Created 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 Library Created 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 Library Created 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 Equal Created 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 Equal Created 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 Than Created 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 Than Created 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 Equal Created 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 Equal Created 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 Negation No edit summary
  • 21:5421:54, 20 April 2022 diff hist +319 N Negation Created 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 MOD Created 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 MKDIR Created 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 OUTPUT Created 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 USING Created 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..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)