All public logs
Jump to navigation
Jump to search
Combined display of all available logs of QB64 Phoenix Edition Wiki. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).
- 04:24, 19 April 2022 SMcNeill talk contribs created page CONSOLE (Created page with "{{DISPLAYTITLE:_CONSOLE}} The _CONSOLE statement can be used to turn a console window ON/OFF. {{PageSyntax}} : _CONSOLE {OFF|ON} : _DEST _CONSOLE * _CONSOLE OFF or ON must be used after the $CONSOLE Metacommand has established that a console window is desired. * _CONSOLE OFF turns the console window off once a console has been established using $CONSOLE:ON or ONLY. * _CONSOLE ON should only be used after the console window has been...")
- 04:23, 19 April 2022 SMcNeill talk contribs created page Metacommand (Created page with "'''Metacommands''' are program wide commands that start with $. ==Legacy metacommands (Qbasic/QuickBASIC)== ===Syntax=== :REM $INCLUDE: 'QB.BI' 'loads a reference file or library :REM $DYNAMIC 'enables resizing of array dimensions with REDIM :REM $STATIC 'arrays cannot be resized once dimensioned ===Description=== * Qbasic Metacommands are normally used at the program start and are in effect throughout the program. * Qbasic Metacommands are always pr...")
- 04:23, 19 April 2022 SMcNeill talk contribs created page $CONSOLE (Created page with "The $CONSOLE Metacommand creates a console window that can be used throughout a QB64 program module. {{PageSyntax}} : $CONSOLE[:ONLY] * _CONSOLE '''ON''' or '''OFF''' may be used to show or hide the console window at run time. * The ''':ONLY''' option can be used when only a console window is desired without a program window. * _DEST _CONSOLE may be used to send screen output to the console window. * _SCREENHIDE and _SCREENSHOW can be...")
- 04:22, 19 April 2022 SMcNeill talk contribs created page CONNECTIONADDRESS$ (Created page with "{{DISPLAYTITLE:_CONNECTIONADDRESS}} The _CONNECTIONADDRESS function returns a connected user's STRING IP address value. {{PageSyntax}} :{{Parameter|result$}} = _CONNECTIONADDRESS[$]({{Parameter|connectionHandle&}}) {{PageDescription}} * The handle can come from the _OPENHOST, OPENCLIENT or _OPENCONNECTION QB64 TCP/IP functions. * For '''HOSTs''': It may return "TCP/IP:8080:213.23.32.5" where 8080 is the port it...")
- 04:22, 19 April 2022 SMcNeill talk contribs created page CONNECTED (Created page with "{{DISPLAYTITLE:_CONNECTED}} The _CONNECTED function returns the status of a TCP/IP connection handle. {{PageSyntax}} :{{Parameter|result&}} = _CONNECTED({{Parameter|connectionHandle&}}) {{PageDescription}} * The handle can come from the _OPENHOST, OPENCLIENT or _OPENCONNECTION QB64 TCP/IP functions. * Returns -1 if still connected or 0 if connection has ended/failed. * Do not rely solely on this function to check for ending communication. * Use "...")
- 04:21, 19 April 2022 SMcNeill talk contribs created page COMMANDCOUNT (Created page with "{{DISPLAYTITLE:_COMMANDCOUNT}} The _COMMANDCOUNT function returns the number or arguments passed from the command line to the COMMAND$ function. {{PageSyntax}} :{{Parameter|result&}} = _COMMANDCOUNT {{PageDescription}} * The function returns the number of arguments passed from the command line to a program when it's executed. * Arguments are spaced as separate numerical or text values. Spaced text inside of quotes is considered as one argument. * In C,...")
- 04:21, 19 April 2022 SMcNeill talk contribs created page $COLOR (Created page with "$COLOR is a metacommand that adds named color constants in a program. {{PageSyntax}} : $COLOR:0 : $COLOR:32 {{PageDescription}} * $COLOR:0 adds constants for colors 0-15. The actual constant names can be found in the file '''source/utilities/color0.bi'''. * $COLOR:32 adds constants for 32-bit colors, similar to HTML color names. The actual constant names can be found in the file '''source/utilities/color32.bi'''. * ...")
- 04:19, 19 April 2022 SMcNeill talk contribs created page CLIPBOARDIMAGE (Created page with "{{DISPLAYTITLE:_CLIPBOARDIMAGE}} The _CLIPBOARDIMAGE statement copies a valid QB64 image to the clipboard. {{PageSyntax}} : _CLIPBOARDIMAGE = {{Parameter|existingImageHandle&}} {{PageDescription}} * {{Parameter|existingImageHandle&}} is a valid handle to a graphic QB64 image in memory, created with _NEWIMAGE, _LOADIMAGE or _COPYIMAGE. * You can pass _SOURCE, _DEST or _DISPLAY to copy the current source, destination or active display pa...")
- 04:19, 19 April 2022 SMcNeill talk contribs created page CLIPBOARDIMAGE (function) (Created page with "{{DISPLAYTITLE:_CLIPBOARDIMAGE (function)}} The _CLIPBOARDIMAGE function pastes an image from the clipboard into a new 32-bit image in memory. {{PageSyntax}} : {{Parameter|newImageHandle&}} = _CLIPBOARDIMAGE {{PageDescription}} * When the paste operation is successful, {{Parameter|newImageHandle&}} will be < -1. Handle values of -1 or 0 indicate that there wasn't an image in the clipboard or that the forma...")
- 04:18, 19 April 2022 SMcNeill talk contribs created page CLIPBOARD$ (statement) (Created page with "{{DISPLAYTITLE:_CLIPBOARD$ (statement)}} The _CLIPBOARD$ statement copies the STRING value into the system clipboard. {{PageSyntax}} :_CLIPBOARD$ = {{Parameter|string_expression$}} {{PageDescription}} * {{Parameter|string_expression$}} is the string value to be sent to the clipboard. * The string value will replace everything previously in the clipboard. * Assemble long text into one string variable value be...")
- 04:17, 19 April 2022 SMcNeill talk contribs created page CLIP (Created page with "{{DISPLAYTITLE:_CLIP}} The _CLIP option is used in a QB64 graphics PUT to allow placement of an image partially off of the screen. {{PageSyntax}} :PUT [STEP]({{Parameter|column, row}}), {{Parameter|image_array(start)}}[, _CLIP] [{XOR|PSET|AND|OR|PRESET}][, {{Parameter|omitcolor}}] {{PageDescription}} * _CLIP should be placed immediately before the PUT action if used. XOR is default when not used. *...")
- 04:17, 19 April 2022 SMcNeill talk contribs created page CLEARCOLOR (Created page with "{{DISPLAYTITLE:_CLEARCOLOR}} The _CLEARCOLOR statement sets a specific color to be treated as transparent when an image is later put (via _PUTIMAGE) onto another image. {{PageSyntax}} :_CLEARCOLOR {{{Parameter|color&}}|_NONE}[, {{Parameter|Dest_Handle&}}] {{Parameters}} * In color modes using a palette, {{Parameter|color&}} is the palette index of the new transparent color value or _NONE designates no clear colors. * If {{Parameter|color&}} is not a valid...")
- 04:16, 19 April 2022 SMcNeill talk contribs created page CLEARCOLOR (function) (Created page with "{{DISPLAYTITLE:_CLEARCOLOR (function)}} The _CLEARCOLOR function returns the current transparent color of an image or page. {{PageSyntax}} :''result&'' = _CLEARCOLOR [{{Parameter|Source_Handle&}}] {{PageDescription}} * If {{Parameter|Source_Handle&}} is omitted, it is assumed to be the current destination write page. * If {{Parameter|Source_Handle&}} is an invalid handle value(-1), then an ERROR Codes|...")
- 04:16, 19 April 2022 SMcNeill talk contribs created page CINP (Created page with "{{DISPLAYTITLE:_CINP}} The _CINP function returns keyboard key press codes from a $CONSOLE window. Windows-only. {{PageSyntax}} :{{Parameter|keycode&}} = _CINP {{PageDescription}} * Return values are the same as the ones for INP when used to read keyboard input. See table below. :* '''Negative''' LONG values returned indicate that a key was released or a lock function key has been turned off. * Keywords_currently_not_supported_by_QB64#Keywords_N...")
- 04:15, 19 April 2022 SMcNeill talk contribs created page CEIL (Created page with "{{DISPLAYTITLE:_CEIL}} The _CEIL function rounds a numeric value up to the next whole number or INTEGER value. {{PageSyntax}} : {{Parameter|result}} = _CEIL({{Parameter|expression}}) * _CEIL returns he smallest integral value that is greater than the numerical {{Parameter|expression}} (as a floating-point value). * This means that _CEIL rounds up for both positive and negative numbers. ==Availability== * '''Version 1.000 and up.''' {{PageExam...")
- 04:15, 19 April 2022 SMcNeill talk contribs created page $CHECKING (Created page with "The $CHECKING metacommand turns C++ event checking ON or OFF. {{PageSyntax}} : $CHECKING:{ON|OFF} {{PageDescription}} * The Metacommand does '''not''' require a comment or REM before it. There is no space after the colon. * The OFF action turns event checking off and should '''only be used when running stable, errorless code.''' * The default $CHECKING:ON action is only required when checking has been turned OFF previously. * When $CHECKING:OFF is use...")
- 04:14, 19 April 2022 SMcNeill talk contribs created page CAPSLOCK (Created page with "{{DISPLAYTITLE:_CAPSLOCK}} The _CAPSLOCK statement sets the state of the Caps Lock key. {{PageSyntax}} : _CAPSLOCK {ON|OFF|_TOGGLE} ==Availability== * Version 1.4 and up. * Not available in Linux or macOS. {{PageSeeAlso}} * _CAPSLOCK (function), _NUMLOCK (function), _SCROLLLOCK (function) * _NUMLOCK (statement), _SCROLLLOCK (statement) {{Pa...")
- 00:46, 19 April 2022 RhoSigma talk contribs created page Template:Parameters (Created page with "== Parameters ==")
- 00:09, 19 April 2022 BigRon55 talk contribs created page G2R (Created page with "{{DISPLAYTITLE:_G2R}} The _G2R function converts a '''gradient''' value into a '''radian''' value. {{PageSyntax}} : {{Parameter|result}} = _G2R({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Gradient into Radians. {{CodeStart}} INPUT "Give me an angle in Gradient ", D R = _G2R(D) PRINT "That angle in Radians is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Gradient 60 That angle in Radians i...")
- 00:09, 19 April 2022 BigRon55 talk contribs created page G2D (Created page with "{{DISPLAYTITLE:_G2D}} The _G2D function converts a '''gradient''' value into a '''degree''' value. {{PageSyntax}} : {{Parameter|result}} = _G2D({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Gradients into Degree. {{CodeStart}} INPUT "Give me an angle in Gradients ", D R = _G2D(D) PRINT "That angle in Degrees is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Gradients 60 That angle in Degrees...")
- 00:08, 19 April 2022 BigRon55 talk contribs created page R2G (Created page with "{{DISPLAYTITLE:_R2G}} The _R2G function converts a '''radian''' value into a '''gradient''' value. {{PageSyntax}} : {{Parameter|result!}} = _R2G({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Radian into Gradient. {{CodeStart}} INPUT "Give me an angle in Radians ", D R = _R2G(D) PRINT "That angle in Gradient is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Radians 0.5 That angle in Gradient...")
- 00:08, 19 April 2022 BigRon55 talk contribs created page D2R (Created page with "{{DISPLAYTITLE:_D2R}} The _D2R function converts a '''degree''' value into a '''radian''' value. {{PageSyntax}} :: {{Parameter|result}} = _D2R({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Degrees into Radians. {{CodeStart}} INPUT "Give me an angle in Degrees ", D R = _D2R(D) PRINT "That angle in Radians is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Degrees 60 That angle in Radians is 1....")
- 00:07, 19 April 2022 BigRon55 talk contribs created page D2G (Created page with "{{DISPLAYTITLE:_D2G}} The _D2G function converts a '''degree''' value into a '''gradient''' value. {{PageSyntax}} : {{Parameter|result}} = _D2G({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Degrees into Gradient. {{CodeStart}} INPUT "Give me an angle in Degrees ", D R = _D2G(D) PRINT "That angle in Gradient is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Degrees 60 That angle in Gradient i...")
- 00:01, 19 April 2022 BigRon55 talk contribs created page PRINT (Created page with "The {{KW|PRINT}} statement prints numeric or string expressions to the program screen. Typing shortcut '''?''' will convert to PRINT. {{PageSyntax}} ::: '''PRINT''' [{{Parameter|expression}}] [{;|,] [''expression''...] {{Parameters}} * {{Parameter|expression}} is a numeric or string expression or list of expressions to be written to the screen. End quotes will not be displayed in strings. * The print statement can be followed by a semicolon to stop the print cur...")
- 23:58, 18 April 2022 BigRon55 talk contribs created page R2D (Created page with "{{DISPLAYTITLE:_R2D}} The _R2D function converts a '''radian''' value into a '''degree''' value. {{PageSyntax}} : {{Parameter|result!}} = _R2D({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Radian into Degree. {{CodeStart}} INPUT "Give me an angle in Radians ", D R = _R2D(D) PRINT "That angle in Degrees is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Radians 0.5 That angle in Degrees is...")
- 23:53, 18 April 2022 User account BigRon55 talk contribs was created
- 23:50, 18 April 2022 RhoSigma talk contribs created page Template:Cl (Created page with "[[{{{1}}}|{{{2}}}]]")
- 23:45, 18 April 2022 RhoSigma talk contribs created page Template:CodeEnd (Created page with "</p>")
- 23:42, 18 April 2022 RhoSigma talk contribs created page Template:CodeStart (Created page with "<p style="padding: 1em; line-height:100%; margin-left:5px; white-space: pre; font-family: Courier, monospace; background-color: darkblue; color: lightgrey; word-wrap: break-word;">")
- 23:30, 18 April 2022 RhoSigma talk contribs created page Template:Text (Created page with "{{{1}}}")
- 23:20, 18 April 2022 RhoSigma talk contribs created page Template:PageNavigation (Created page with "<center> == == ''Navigation:'' Go to Keyword Reference - Alphabetical Go to Keyword Reference - By usage Go to Main WIKI Page </center>")
- 23:06, 18 April 2022 RhoSigma talk contribs created page Template:PageSeeAlso (Created page with "== See also ==")
- 23:04, 18 April 2022 RhoSigma talk contribs created page Template:PageExamples (Created page with "== Examples ==")
- 22:58, 18 April 2022 RhoSigma talk contribs created page Template:PageDescription (Created page with "== Description ==")
- 22:57, 18 April 2022 RhoSigma talk contribs created page Template:PageSyntax (Created page with "== Syntax ==")
- 22:43, 18 April 2022 SMcNeill talk contribs created page CAPSLOCK (function) (Created page with "{{DISPLAYTITLE:_CAPSLOCK (function)}} The _CAPSLOCK function returns the current state of the Caps Lock key as on (-1) or off (0). {{PageSyntax}} : {{Parameter|keyStatus%%}} = _CAPSLOCK ==Availability== * Version 1.4 and up. * Not available in Linux or macOS. {{PageSeeAlso}} * _NUMLOCK (function), _SCROLLLOCK (fu...")
- 22:30, 18 April 2022 SMcNeill talk contribs created page BYTE (Created page with "{{DISPLAYTITLE:_BYTE}} A _BYTE variable can hold signed variable values from -128 to 127 (one byte or 8 _BITs). Unsigned from 0 to 255. {{PageSyntax}} : DIM {{Parameter|byte}} AS [_UNSIGNED] _BYTE {{PageDescription}} * Signed _BYTE values can range from -128 to 127. * _UNSIGNED _BYTEs can hold values from 0 to 255. _UNSIGNED expands the range of positive values. * Can be defined in a '''QB64''' _DEFINE statement using...")
- 22:29, 18 April 2022 SMcNeill talk contribs created page BUTTONCHANGE (Created page with "{{DISPLAYTITLE:_BUTTONCHANGE}} The _BUTTONCHANGE function returns -1 or 1 when a specified button number on a controller device has been pressed or released. {{PageSyntax}} : {{Parameter|press%}} = _BUTTONCHANGE({{Parameter|button_number%}}) {{PageDescription}} * Values returned are -1 for a press and 1 when a button is released. No press or release event returns zero. * The {{Parameter|button_number%}} must be a number which does not exceed the number of but...")
- 22:29, 18 April 2022 SMcNeill talk contribs created page BUTTON (Created page with "{{DISPLAYTITLE:_BUTTON}} The _BUTTON function returns -1 when specified button number on a controller device is pressed. {{PageSyntax}} : {{Parameter|press%%}} = _BUTTON({{Parameter|button_number%}}) {{PageDescription}} * Values returned are -1 for a press and 0 when a button is released or not pressed. * The {{Parameter|button_number%}} must be a number which does not exceed the number of buttons found by the _LASTBUTTON function. * '''The number of _D...")
- 22:28, 18 April 2022 SMcNeill talk contribs created page BLUE32 (Created page with "{{DISPLAYTITLE:_BLUE32}} The _BLUE32 function returns the blue component intensity of a 32-bit image or surface color. {{PageSyntax}} : {{Parameter|blue32color&}} = _BLUE32({{Parameter|rgbaColor&}}) {{PageDescription}} * {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the blue component intensity value from. * ''RGBA'' color values are returned by the _PALETTECOLOR, POINT, _RGB, _RGB32, [[_RGBA]...")
- 22:28, 18 April 2022 SMcNeill talk contribs created page BLUE (Created page with "{{DISPLAYTITLE:_BLUE}} The _BLUE function returns the palette intensity or the blue component intensity of a 32-bit image color. {{PageSyntax}} : {{Parameter|blueintensity&}} = _BLUE({{Parameter|rgbaColorIndex&}}[, {{Parameter|imageHandle&}}]) {{PageDescription}} * {{Parameter|rgbaColorIndex&}} is the ''RGBA'' color value or palette index of the color to retrieve the blue component intensity from. * The LONG intensity value returned ranges from 0 (no inte...")
- 22:27, 18 April 2022 SMcNeill talk contribs created page BLINK (function) (Created page with "{{DISPLAYTITLE:_BLINK (function)}} The _BLINK function returns the current blink setting for SCREEN 0 colors. If enabled, returns -1 (default), otherwise returns 0. {{PageSyntax}} : {{Parameter|blinkState%%}} = _BLINK ==Availability== * Build 20170816/61 up (August 16, 2017). {{PageExamples}} {{CodeStart}}{{Cl|COLOR}} 16, 7 'Try uncommenting the line below: '{{Cl|_BLINK}} OFF {{Cl|IF}} _BLINK {{Cl|THEN}} {{Cl|PRINT}} "I'm blinking" {{Cl|ELSE}} {{C...")
- 22:26, 18 April 2022 SMcNeill talk contribs created page BLINK (Created page with "{{DISPLAYTITLE:_BLINK}} The _BLINK statement toggles blinking colors in text mode (SCREEN 0). Default state is ON. {{PageSyntax}} : _BLINK {ON|OFF} {{PageDescription}} * SCREEN 0 emulates the VGA palette with regular colors from 0 to 15 and blinking colors from 16-31 (these are the same colors as 0-15, except their blink attribute is set to on). _BLINK OFF emulates writing to the video memory and disabling blinking for colors 16-31. * Using colors 16-31 f...")
- 22:26, 18 April 2022 SMcNeill talk contribs created page BLEND (function) (Created page with "{{DISPLAYTITLE:_BLEND (function)}} The _BLEND function returns enabled or disabled for the current window or a specified image handle when 32 bit. {{PageSyntax}} :{{Parameter|result%}} = _BLEND [({{Parameter|imageHandle&}})] {{PageDescription}} * _BLEND returns -1 if enabled or 0 if disabled by _DONTBLEND statement. * '''Note: _DONTBLEND is faster than the default _BLEND unless you really need to use it in 32...")
- 22:16, 18 April 2022 SMcNeill talk contribs created page BLEND (Created page with "{{DISPLAYTITLE:_BLEND}} The _BLEND statement turns on 32 bit alpha blending for an image or screen mode and is on by default. {{PageSyntax}} : _BLEND [{{Parameter|imageHandle&}}] ===Parameters=== * {{Parameter|imageHandle&}} refers to an image in memory. If not specified, the current destination page (See _DEST) is affected. {{PageDescription}} * Alpha blending is on by default when loading a .PNG image to a 32-bit surface. * Normally it is used to turn...")
- 22:06, 18 April 2022 SMcNeill talk contribs created page BIT (Created page with "{{DISPLAYTITLE:_BIT}} The _BIT datatype can return only values of 0 (bit off) and -1 (bit on). {{PageSyntax}} : DIM {{Parameter|variable}} AS [{{KW|_UNSIGNED}}] _BIT [* {{Parameter|numberofbits}}] : _DEFINE {{Parameter|Letter}}[{{Parameter|-Range}}|,...] AS [{{KW|_UNSIGNED}}] _BIT [* {{Parameter|numberofbits}}] {{PageDescription}} * An _UNSIGNED _BIT can hold 0 or 1 instead of 0 and -1, if you set the numberofbits you can hold larger...")
- 22:01, 18 April 2022 SMcNeill talk contribs created page BACKGROUNDCOLOR (Created page with "{{DISPLAYTITLE:_BACKGROUNDCOLOR}} The _BACKGROUNDCOLOR function returns the current background color. {{PageSyntax}} :{{Parameter|BGcolor&}} = _BACKGROUNDCOLOR {{PageDescription}} * Use it to get the current background color to restore later in a program. * Returns the closest attribute value of the background color. {{PageExamples}} ''Example 1:'' Storing a background color for later use. {{CodeStart}} '' '' {{Cl|SCREEN}} 0 {{Cl|COLOR}} 1, 3 {{Cl|CLS}} BG...")
- 21:59, 18 April 2022 SMcNeill talk contribs created page AXIS (Created page with "{{DISPLAYTITLE:_AXIS}} The _AXIS function returns the relative position of a specified axis number on a controller device. {{PageSyntax}} : {{Parameter|move!}} = _AXIS({{Parameter|axis_number%}}) * SINGLE values returned range between -1 and 1 as maximums and 0 indicating minimum or axis center. * When the mouse is moved on the program screen, moves left or above center are negative while below or right are positive. * The ''axis_number'' must be a number...")
- 21:43, 18 April 2022 SMcNeill talk contribs created page AUTODISPLAY (function) (Created page with "{{DISPLAYTITLE:_AUTODISPLAY (function)}} The _AUTODISPLAY function returns the current display mode as true (-1) if automatic or false (0) if disabled using _DISPLAY. {{PageSyntax}} : {{Parameter|displayStatus%%}} = _AUTODISPLAY {{PageDescription}} * The function returns true (-1) if _AUTODISPLAY is enabled. This is the default state and indicates that every screen change (text or graphics) is displayed...")
- 21:42, 18 April 2022 SMcNeill talk contribs created page AUTODISPLAY (Created page with "{{DISPLAYTITLE:_AUTODISPLAY}} The _AUTODISPLAY statement enables the automatic display of the screen image changes previously disabled by _DISPLAY. {{PageSyntax}} :_AUTODISPLAY {{PageDescription}} * _AUTODISPLAY is on by default and displays the screen at around 30 frames per second (normal vertical retrace speed). * _DISPLAY disables automatic graphic displays, but it also eliminates having to use PCOPY or page flipping when used correctly. Placi...")