User contributions for SMcNeill
Jump to navigation
Jump to search
19 April 2022
- 05:5005:50, 19 April 2022 diff hist +2,212 N DIR$ Created page with "{{DISPLAYTITLE:_DIR$}} The _DIR$ function returns common paths in '''Windows''' only such as My Documents, My Pictures, My Music, Desktop. {{PageSyntax}} : {{Parameter|d$}} = _DIR$("{{Parameter|folderspecification}}") {{Parameters}} * ''folderspecification'' may be "desktop", "download", "documents", "music", "video", "pictures", "appdata", "program data", "local data". * Some variation is accepted for the folder specification: :: MY DOCUMENTS, TEXT, DOCUMENT..."
- 05:4905:49, 19 April 2022 diff hist +1,460 N DEVICES Created page with "{{DISPLAYTITLE:_DEVICES}} The _DEVICES function returns the number of INPUT devices on your computer including keyboard, mouse and game devices. {{PageSyntax}} : {{Parameter|device_count%}} = _DEVICES {{PageDescription}} * Returns the number of devices that can be listed separately with the _DEVICE$ function by the device number. * Devices include keyboard, mouse, joysticks, game pads and multiple stick game controllers. * '''Note: This function must be r..."
- 05:4605:46, 19 April 2022 diff hist +4,569 N DEVICEINPUT Created page with "{{DISPLAYTITLE:_DEVICEINPUT}} The '''_DEVICEINPUT''' function returns the device number when a controller device button, wheel or axis event occurs. {{PageSyntax}} : {{Parameter|device%}} = _DEVICEINPUT : {{Parameter|device_active%}} = _DEVICEINPUT({{Parameter|device_number%}}) {{Parameters}} * Use the _DEVICEINPUT {{Parameter|device%}} INTEGER returned to find the number of the controller device being used. * A literal specific {{Parameter|device_number..."
- 05:4605:46, 19 April 2022 diff hist +3,296 N DEVICE$ Created page with "{{DISPLAYTITLE:_DEVICE$}} The '''_DEVICE$''' function returns a STRING value holding the controller type, name and input types of the input devices on a computer. {{PageSyntax}} : {{Parameter|device$}} = _DEVICE$({{Parameter|device_number}}) * The '''_DEVICES function must be read first to get the number of devices and to enable _DEVICE$ and _DEVICEINPUT.''' * The {{Parameter|device_number}} parameter indicates the number of the controller device to b..."
- 05:3205:32, 19 April 2022 diff hist +787 N DEST (function) Created page with "{{DISPLAYTITLE:_DEST (function)}} The _DEST function returns the handle value of the current write page (the image used for drawing). {{PageSyntax}} :{{Parameter|result&}} = _DEST {{PageDescription}} * The current write page is where all drawing occurs by default. * The value returned is the same as the latest SCREEN's handle when creating custom screen modes using _NEWIMAGE. * Keep the _NEWIMAGE handle values when you move to another SCREEN mode so t..."
- 05:3205:32, 19 April 2022 diff hist +4,329 N DEST Created page with "{{DISPLAYTITLE:_DEST}} The _DEST statement sets the current write image or page. All graphic and print changes will be done to this image. {{PageSyntax}} :_DEST {{Parameter|imageHandle&}} {{PageDescription}} * {{Parameter|imageHandle&}} is the handle of the image that will act as the current write page. * '''_DEST 0''' refers to the present program SCREEN. You can use 0 to refer to the present program SCREEN. * _DEST _CONSOLE can set the desti..."
- 05:3205:32, 19 April 2022 diff hist +851 N DESKTOPWIDTH Created page with "{{DISPLAYTITLE:_DESKTOPWIDTH}} The _DESKTOPWIDTH function returns the width of the users current desktop. {{PageSyntax}} : {{Parameter|x&}} = _DESKTOPWIDTH {{PageDescription}} * No parameters are needed for this function. * This returns the width of the user's desktop, not the size of any screen or window which might be open on that desktop. ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} {{CodeStart}} s& = {{Cl|_NEWIMAGE}}(800, 600, 256..."
- 05:3105:31, 19 April 2022 diff hist +855 N DESKTOPHEIGHT Created page with "{{DISPLAYTITLE:_DESKTOPHEIGHT}} The _DESKTOPHEIGHT function returns the height of the users current desktop. {{PageSyntax}} : {{Parameter|y&}} = _DESKTOPHEIGHT {{PageDescription}} * No parameters are needed for this function. * This returns the height of the user's desktop, not the size of any screen or window which might be open on that desktop. ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} {{CodeStart}} s& = {{Cl|_NEWIMAGE}}(800, 600..."
- 05:3105:31, 19 April 2022 diff hist +1,496 N DEPTHBUFFER Created page with "{{DISPLAYTITLE:_DEPTHBUFFER}} The _DEPTHBUFFER statement turns depth buffering ON or OFF, LOCKs or _CLEARS the buffer. {{PageSyntax}} : _DEPTHBUFFER {ON|OFF|LOCK|_CLEAR}[,handle&] {{PageDescription}} * Depth buffers store the distance of each pixel on an image/surface. When 3D drawing occurs new pixels are only drawn if they are closer than the existing pixels. After all content is drawn, it results in a scene which looks correct because content which is clo..."
- 05:3005:30, 19 April 2022 diff hist +477 N DELAY Created page with "{{DISPLAYTITLE:_DELAY}} The _DELAY statement suspends program execution for a SINGLE value of seconds. {{PageSyntax}} :_DELAY {{Parameter|seconds!}} {{PageDescription}} * {{Parameter|seconds!}} is the time to wait, accurate to nearest millisecond (.001). * While waiting, cpu cycles are relinquished to other applications. * Delays are not affected by midnight timer corrections. {{PageSeeAlso}} * _LIMIT * TIMER * ON TIMER(n) {{PageNavigation}}" current
- 05:3005:30, 19 April 2022 diff hist +1,419 N DEFLATE$ Created page with "{{DISPLAYTITLE:_DEFLATE$}} The _DEFLATE$ function compresses a string. {{PageSyntax}} :{{Parameter|result$}} = _DEFLATE$({{Parameter|stringToCompress$}}) {{PageDescription}} * {{Parameter|result$}} will contain the compressed version of {{Parameter|stringToCompress$}}. * To decompress the resulting string, use _INFLATE$. ==Availability== * '''Version 1.4 and up'''. {{PageExamples}} ''Example 1:'' Compressing a long string of text. {{CodeSta..."
- 05:2905:29, 19 April 2022 diff hist +2,449 N DEFINE Created page with "{{DISPLAYTITLE:_DEFINE}} _DEFINE defines a set of variable names according to their first character as a specified data type. {{PageSyntax}} :_DEFINE {{Parameter|letter}}[{{Parameter|-range}}, ...] AS [{{KW|_UNSIGNED}}] datatype {{Parameters}} * Variable start ''letter range'' is in the form firstletter-endingletter (like A-C) or just a single letter. * ''Data types'': INTEGER, SINGLE, DOUBLE, LONG, STRING, _BIT, _BYTE, _..."
- 05:2905:29, 19 April 2022 diff hist +1,454 N DEFAULTCOLOR Created page with "{{DISPLAYTITLE:_DEFAULTCOLOR}} The _DEFAULTCOLOR function returns the current default text color for an image handle or page. {{PageSyntax}} :{{Parameter|result&}} = _DEFAULTCOLOR [({{Parameter|imageHandle&}})] {{PageDescription}} * If {{Parameter|imageHandle&}} is omitted, it is assumed to be the current write page or image designated by _DEST. * If {{Parameter|imageHandle&}} is an invalid handle, an invalid handle error occurs. Check han..."
- 05:2805:28, 19 April 2022 diff hist +5,950 N DECLARE LIBRARY Created page with "The '''DECLARE LIBRARY''' declaration allows the use of external library SUB and FUNCTION procedures supported by QB64. {{PageSyntax}} : '''DECLARE''' [DYNAMIC|CUSTOMTYPE|STATIC] '''LIBRARY''' [{''"Library_filename"''|''"Headerfile"''}] : {SUB|FUNCTION} [''procedure_name'' {{KW|ALIAS}}] ''library_procedure'' ([{{KW|BYVAL}}] ''parameter {{KW|AS}}'', ...) ::. ::. 'other SUBs or Functions as required ::. : '''END DECLARE''' {{Parameters}} * The {{Paramet..."
- 05:0205:02, 19 April 2022 diff hist +1,916 N CWD$ Created page with "{{DISPLAYTITLE:_CWD$}} The _CWD$ function returns the current working directory path as a string value without a trailing path separator. {{PageSyntax}} : {{Parameter|workingDirectory$}} = _CWD$ {{PageDescription}} * By default, the initial working directory path is usually the same as the directory of the executable file run. * The current working directory can be changed with the CHDIR or SHELL command; CHDIR sets it, _CWD$ returns it. * Path retu..."
- 05:0205:02, 19 April 2022 diff hist +1,427 N COPYPALETTE Created page with "{{DISPLAYTITLE:_COPYPALETTE}} The _COPYPALETTE statement copies the color palette intensities from one 4 or 8 BPP image to another image or a _NEWIMAGE screen page using 256 or less colors. {{PageSyntax}} :_COPYPALETTE [{{Parameter|sourceImageHandle&}}[, {{Parameter|destinationImageHandle&}}]] {{PageDescription}} * Palette Intensity settings are '''not''' used by 24/32 bit images. Use only with 4 or 8 BPP images. * _PIXELSIZE function returns 1 to ind..."
- 05:0205:02, 19 April 2022 diff hist +1,776 N CV Created page with "{{DISPLAYTITLE:_CV}} The _CV function is used to convert _MK$, ASCII, STRING values to numerical values. {{PageSyntax}} :{{Parameter|result}} = _CV({{Parameter|numericalType}}, {{Parameter|MKstringValue$}}) {{Parameters}} * {{Parameter|numericalType}} is any number type: INTEGER, LONG, SINGLE, DOUBLE, _INTEGER64, _FLOAT, _BYTE or _BIT. * Integer, Long, Byte and Bit values can be signed or _UNSIGNED. * The {{Para..."
- 05:0105:01, 19 April 2022 diff hist +3,451 N COPYIMAGE Created page with "{{DISPLAYTITLE:_COPYIMAGE}} The _COPYIMAGE function creates an identical designated image in memory with a different negative LONG handle value. {{PageSyntax}} : newhandle& = _COPYIMAGE[({{Parameter|imageHandle&}}[, {{Parameter|mode%}})]] {{Parameters}} * The LONG ''newhandle&'' value returned will be different than the source handle value supplied. * If ''imageHandle&'' parameter is omitted or zero is designated, the current software _DEST|destinat..."
- 05:0105:01, 19 April 2022 diff hist +689 N CONTROLCHR (function) Created page with "{{DISPLAYTITLE:_CONTROLCHR (function)}} The _CONTROLCHR function returns the current state of the _CONTROLCHR statement as -1 when OFF and 0 when ON. {{PageSyntax}} :{{Parameter|status%}} = _CONTROLCHR {{PageDescription}} * The function requires no parameters. * Default return is 0 when the _CONTROLCHR statement has never been used previous to a function read. * When the statement has been use to turn OFF con..."
- 04:5004:50, 19 April 2022 diff hist +1,910 N CONTROLCHR Created page with "{{DISPLAYTITLE:_CONTROLCHR}} The _CONTROLCHR statement can be used to turn OFF control character attributes and allow them to be printed. {{PageSyntax}} : _CONTROLCHR {OFF|ON} {{PageDescription}} * The OFF clause allows control characters 0 to 31 to be printed and not format printing as normal text characters. ::For example: '''{{text|PRINT CHR$(13)|green}}''' 'will not move the cursor to the next line and '''{{text|PRINT CHR$(9)|green}}''' 'will not tab..."
- 04:5004:50, 19 April 2022 diff hist +721 N CONTINUE Created page with "{{DISPLAYTITLE:_CONTINUE}} The _CONTINUE statement is used in a DO...LOOP, WHILE...WEND or FOR...NEXT block to skip the remaining lines of code in a block (without exiting it) and start the next iteration. It works as a shortcut to a GOTO, but without the need for a line label. {{PageSyntax}} : _CONTINUE ==Availability== * Build 20170628/55 up. {{PageExamples}} ''Example:'' {{CodeStart}} {{Cl|FOR}} i = 1 {{Cl|TO}} 10 {..."
- 04:2404:24, 19 April 2022 diff hist +935 N CONSOLETITLE Created page with "{{DISPLAYTITLE:_CONSOLETITLE}} The _CONSOLETITLE statement creates the title of the console window using a literal or variable string. {{PageSyntax}} : _CONSOLETITLE {{Parameter|text$}} {{PageDescription}} * The ''text$'' used can be a literal or variable STRING value. {{PageExamples}} ''Example:'' Hiding the main program window while displaying the console window with a title. {{CodeStart}} '' '' {{Cl|$SCREENHIDE}} {{Cl|_DELAY}} 4 {{Cl|$CONS..."
- 04:2404:24, 19 April 2022 diff hist +1,478 N CONSOLEINPUT Created page with "{{DISPLAYTITLE:_CONSOLEINPUT}} The _CONSOLEINPUT function is used to monitor any new mouse or keyboard input coming from a $CONSOLE window. It must be called in order for _CINP to return valid values. Windows-only. {{PageSyntax}} :{{Parameter|infoExists%%}} = _CONSOLEINPUT {{PageDescription}} * Returns 1 if new keyboard information is available, 2 if mouse information is available, otherwise it returns 0. * Must be called before reading any of the other m..."
- 04:2404:24, 19 April 2022 diff hist +2,383 N 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:2304:23, 19 April 2022 diff hist +2,388 N 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:2304:23, 19 April 2022 diff hist +3,564 N $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:2204:22, 19 April 2022 diff hist +2,779 N 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:2204:22, 19 April 2022 diff hist +981 N 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:2104:21, 19 April 2022 diff hist +1,274 N 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:2104:21, 19 April 2022 diff hist +1,128 N $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:1904:19, 19 April 2022 diff hist +2,148 N 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:1904:19, 19 April 2022 diff hist +1,937 N 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:1704:17, 19 April 2022 diff hist +1,953 N 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:1704:17, 19 April 2022 diff hist +4,806 N 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:1604:16, 19 April 2022 diff hist +1,141 N 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:1604:16, 19 April 2022 diff hist +2,492 N 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:1504:15, 19 April 2022 diff hist +908 N 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:1504:15, 19 April 2022 diff hist +1,301 N $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:1404:14, 19 April 2022 diff hist +489 N 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..."
18 April 2022
- 22:4322:43, 18 April 2022 diff hist +588 N 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:3022:30, 18 April 2022 diff hist +4,560 N 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:2922:29, 18 April 2022 diff hist +2,100 N 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:2922:29, 18 April 2022 diff hist +2,064 N 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:2822:28, 18 April 2022 diff hist +747 N 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:2822:28, 18 April 2022 diff hist +1,431 N 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:2722:27, 18 April 2022 diff hist +602 N 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:2622:26, 18 April 2022 diff hist +1,236 N 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:2622:26, 18 April 2022 diff hist +563 N 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:1622:16, 18 April 2022 diff hist +4,655 N 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:0622:06, 18 April 2022 diff hist +5,407 N 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..."