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).
- 06:03, 19 April 2022 SMcNeill talk contribs created page FONTHEIGHT (Created page with "{{DISPLAYTITLE:_FONTHEIGHT}} The _FONTHEIGHT function returns the font height of a font handle created by _LOADFONT. {{PageSyntax}} :{{Parameter|pixelHeight%}} = _FONTHEIGHT[({{Parameter|fontHandle&}})] {{PageDescription}} * Returns the height of the last font used if a handle is not designated. * If no font is set it returns the current screen mode's text block height. {{PageExamples}} ''Example:'' Finding the font or text block size of pri...")
- 06:03, 19 April 2022 SMcNeill talk contribs created page FONT (function) (Created page with "{{DISPLAYTITLE:_FONT (function)}} The _FONT function retrieves the font handle from the specified image handle or the current _DESTination page's font. {{PageSyntax}} :{{Parameter|fontHandle&}} = _FONT[({{Parameter|imageHandle&}})] {{PageDescription}} *imageHandle& is the handle to the image which you want to retrieve the font from. If not specified, it is assumed to be the current _DESTination page. {{PageSeeAlso}} *_LOADFONT, _FONT *_DES...")
- 06:02, 19 April 2022 SMcNeill talk contribs created page FONT (Created page with "{{DISPLAYTITLE:_FONT}} The _FONT statement sets the current _LOADFONT function font handle to be used by PRINT. {{PageSyntax}} : _FONT {{Parameter|fontHandle&}}[, {{Parameter|imageHandle&}}] {{Parameters}} * {{Parameter|fontHandle&}} is the handle retrieved from _LOADFONT function, the _FONT function, or a predefined handle. * If the image handle is omitted the current image _DESTination is used. Zero can designate the cu...")
- 06:02, 19 April 2022 SMcNeill talk contribs created page FLOAT (Created page with "{{DISPLAYTITLE:_FLOAT}} '''_FLOAT''' numerical values offer the maximum floating-point decimal precision available using '''QB64'''. {{PageSyntax}} ::DIM {{Parameter|variable}} AS _FLOAT {{PageDescription}} * '''QB64''' always allocates 32 bytes to store this value. * It is safe to assume this value is at least as precise as DOUBLE. * Under the current implementation it is stored in a 10-byte floating point variable. * _FLOAT variables can also use...")
- 06:02, 19 April 2022 SMcNeill talk contribs created page FINISHDROP (Created page with "{{DISPLAYTITLE:_FINISHDROP}} The _FINISHDROP statement resets _TOTALDROPPEDFILES and clears the _DROPPEDFILE list of items (files/folders). {{PageSyntax}} : _FINISHDROP {{PageDescription}} * When using _DROPPEDFILE with an index (which goes from 1 to _TOTALDROPPEDFILES), you must call _FINISHDROP after you finish working with the list in order to prepare for the next drag/drop operation. * '''Keywords_currently_not_supported_by_QB64#Keywo...")
- 06:01, 19 April 2022 SMcNeill talk contribs created page FILEEXISTS (Created page with "{{DISPLAYTITLE:_FILEEXISTS}} The '''_FILEEXISTS''' function determines if a designated file name exists and returns true (-1) or false (0). {{PageSyntax}} : {{Parameter|theFileExists%}} = _FILEEXISTS({{Parameter|filename$}}) {{PageDescription}} * The {{Parameter|filename$}} parameter can be a literal or variable string value that can include a path. * The function returns -1 when a file exists and 0 when it does not. * The function reads the system inf...")
- 06:01, 19 April 2022 SMcNeill talk contribs created page HYPOT (Created page with "{{DISPLAYTITLE:_HYPOT}} The _HYPOT function returns the hypotenuse of a right-angled triangle whose legs are x and y. {{PageSyntax}} : {{Parameter|result!}} = _HYPOT({{Parameter|x}}, {{Parameter|y}}) {{Parameters}} * {{Parameter|x}} and {{Parameter|y}} are the floating point values corresponding to the legs of a right-angled (90 degree) triangle for which the hypotenuse is computed. {{PageDescription}} * The function returns what would be the square root of...")
- 06:01, 19 April 2022 SMcNeill talk contribs created page SHELL (Created page with "The SHELL statement allows a program to run external programs or command line statements in Windows, macOS and Linux. {{PageSyntax}} : SHELL [{{Parameter|DOSCommand$}}] : SHELL ['''_DONTWAIT'''] ['''_HIDE'''] [{{Parameter|DOSCommand$}}] {{PageDescription}} * If the ''DOSCommand$'' STRING parameter isn't used, the "command console" is opened and execution is halted until the user closes it manually. * If _DONTWAIT is used, the '''QB64''' program do...")
- 06:00, 19 April 2022 SMcNeill talk contribs created page HIDE (Created page with "{{DISPLAYTITLE:_HIDE}} The _HIDE action is used to hide the console window opened by a SHELL statement. {{PageSyntax}} : SHELL ['''_HIDE'''] {{Parameter|StringCommandLine$}} {{PageDescription}} * Allows any command line window to be hidden from view without affecting the program. * _HIDE must be used when sending ("piping") screen information to a file. * '''Note:''' Some commands may not work without adding CMD /C to the start of the command line....")
- 06:00, 19 April 2022 SMcNeill talk contribs created page HEIGHT (Created page with "{{DISPLAYTITLE:_HEIGHT}} The _HEIGHT function returns the height of an image handle or of the current write page. {{PageSyntax}} : {{Parameter|columns&}} = _HEIGHT[({{Parameter|imageHandle&}})] {{PageDescription}} * If {{Parameter|imageHandle&}} is omitted, it's assumed to be the handle of the current SCREEN or write page. * To get the height of the current program screen window use zero for the handle value or nothing: {{Parameter|lines&}} = [...")
- 06:00, 19 April 2022 SMcNeill talk contribs created page GREEN32 (Created page with "{{DISPLAYTITLE:_GREEN32}} The _GREEN32 function returns the green component intensity of a 32-bit image or surface color. {{PageSyntax}} : green32color& = _GREEN32({{Parameter|rgbaColor&}}) {{PageDescription}} * {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the green component intensity value from. * ''RGBA'' color values are returned by the _PALETTECOLOR, POINT, _RGB, _RGB32, _RGBA or _...")
- 05:59, 19 April 2022 SMcNeill talk contribs created page GREEN (Created page with "{{DISPLAYTITLE:_GREEN}} The _GREEN function returns the palette index or the green component intensity of a 32-bit image color. {{PageSyntax}} : {{Parameter|greenIntensity&}} = _GREEN({{Parameter|rgbaColorIndex&}}[, {{Parameter|imageHandle&}}]) {{PageDescription}} * {{Parameter|rgbaColorIndex&}} is the ''RGBA'' color value or palette index of the color to retrieve the green component intensity from. * The LONG intensity value returned ranges from 0 (no in...")
- 05:59, 19 April 2022 SMcNeill talk contribs created page EXIT (function) (Created page with "{{DISPLAYTITLE:_EXIT (function)}} The _EXIT function prevents the user from closing a program and indicates if a user has clicked the close button in the window title ('''X''' button) or used CTRL + BREAK. {{PageSyntax}} :{{Parameter|exitSignal%}} = _EXIT {{PageDescription}} * Once the _EXIT function is used, the user can no longer manually exit the program until it is ended with END or SYSTEM. * _EXIT returns any exit requests made after the...")
- 05:58, 19 April 2022 SMcNeill talk contribs created page $EXEICON (Created page with "'''$EXEICON''' pre-compiler metacommand embeds a designated icon file into the compiled EXE file to be viewed in Windows Explorer. {{PageSyntax}} : $EXEICON:'{{Parameter|iconfile.ico}}' {{Parameters}} * '{{Parameter|iconfile.ico}}' is a valid [https://en.wikipedia.org/wiki/ICO_(file_format) ICO file] {{PageDescription}} * Calling _ICON without an {{Parameter|imageHandle&}} uses the embeded icon, if available. ** Starting with '''build 20170906/64''', the...")
- 05:58, 19 April 2022 SMcNeill talk contribs created page ERRORLINE (Created page with "{{DISPLAYTITLE:_ERRORLINE}} The _ERRORLINE function returns the source code line number that caused the most recent runtime error. {{PageSyntax}} :{{Parameter|e%}} = _ERRORLINE {{PageDescription}} * Used in program error troubleshooting. * Does not require that the program use line numbers as it counts the actual lines of code. * The code line can be found using the QB64 IDE (Use the shortcut '''Ctrl+G''' to go to a specific line) or any other text editor suc...")
- 05:58, 19 April 2022 SMcNeill talk contribs created page $END IF (Created page with "'''$IF''' is precompiler metacommand, which determines which sections of code inside its blocks are included into the final code for compliing. {{PageSyntax}} :$IF variable = expression THEN :. :$ELSEIF variable = expression THEN :. :$ELSE :. :$END IF * $IF is the start of a precompiler code block which includes or excludes sections of code from being compiled. * There is no single line $IF statement. $IF must be in a valid $IF THEN.....")
- 05:58, 19 April 2022 SMcNeill talk contribs created page $ELSEIF (Created page with "'''$IF''' is precompiler metacommand, which determines which sections of code inside its blocks are included into the final code for compliing. {{PageSyntax}} :$IF variable = expression THEN :. :$ELSEIF variable = expression THEN :. :$ELSE :. :$END IF * $IF is the start of a precompiler code block which includes or excludes sections of code from being compiled. * There is no single line $IF statement. $IF must be in a valid $IF THEN.....")
- 05:57, 19 April 2022 SMcNeill talk contribs created page $ELSE (Created page with "'''$IF''' is precompiler metacommand, which determines which sections of code inside its blocks are included into the final code for compliing. {{PageSyntax}} :$IF variable = expression THEN :. :$ELSEIF variable = expression THEN :. :$ELSE :. :$END IF * $IF is the start of a precompiler code block which includes or excludes sections of code from being compiled. * There is no single line $IF statement. $IF must be in a valid $IF THEN.....")
- 05:57, 19 April 2022 SMcNeill talk contribs created page ECHO (Created page with "{{DISPLAYTITLE:_ECHO}} The _ECHO statement allows outputting text to a $CONSOLE window without having to alternate between _DEST pages. {{PageSyntax}} : _ECHO {''"text to output"'' | {{Parameter|textVariable$}}} {{PageDescription}} * _ECHO is a shorthand to saving current _DEST, switching to _DEST _CONSOLE, PRINTing, then switching back to the previous _DEST. * To output numbers, use the STR$ function. ==Availability== *...")
- 05:52, 19 April 2022 SMcNeill talk contribs created page DROPPEDFILE (Created page with "{{DISPLAYTITLE:_DROPPEDFILE}} The _DROPPEDFILE function returns the list of items (files or folders) dropped in a program's window after _ACCEPTFILEDROP is enabled. {{PageSyntax}} ''Syntax 1'' : {{Parameter|nextItem$}} = _DROPPEDFILE ''Syntax 2'' : {{Parameter|nextItem$}} = _DROPPEDFILE({{Parameter|index&}}) {{PageDescription}} * After _ACCEPTFILEDROP is enabled, once _TOTALDROPPEDFILES is greater than 0 the list of dropped items will be avail...")
- 05:52, 19 April 2022 SMcNeill talk contribs created page DONTWAIT (Created page with "{{DISPLAYTITLE:_DONTWAIT}} _DONTWAIT is used with the SHELL statement in '''QB64''' to specify that the program shouldn't wait until the external command/program is finished (which it otherwise does by default). {{PageSyntax}} : SHELL [{{KW|_DONTWAIT}}] [{{Parameter|commandLine$}}] {{PageDescription}} *Runs the command/program specified in {{Parameter|commandline$}} and lets the calling program continue at the same time in its current screen format. *Espe...")
- 05:52, 19 April 2022 SMcNeill talk contribs created page DONTBLEND (Created page with "{{DISPLAYTITLE:_DONTBLEND}} The _DONTBLEND statement turns off 32 bit alpha blending for the current image or screen mode where _BLEND is default. {{PageSyntax}} : _DONTBLEND [{{Parameter|imageHandle&}}] {{Parameters}} * If {{Parameter|imageHandle&}} is omitted, it is assumed to be the current _DESTination write page. {{PageDescription}} * If {{Parameter|imageHandle&}} is not valid, an Invalid handle error will occur. * [[_DONTBLEND]...")
- 05:51, 19 April 2022 SMcNeill talk contribs created page DISPLAYORDER (Created page with "{{DISPLAYTITLE:_DISPLAYORDER}} The _DISPLAYORDER statement defines the order to render software, hardware and custom-OpenGL-code. {{PageSyntax}} : _DISPLAYORDER [{_SOFTWARE|_HARDWARE|_HARDWARE1|_GLRENDER}][, ...][, ...][, ...][, ...] {{Parameters}} * _SOFTWARE refers to software created surfaces or SCREENs. * _HARDWARE and _HARDWARE1 refer to surfaces created by OpenGL hardware acceleration. * _GLRENDER refers to OpenGL code rendering order {{PageDescr...")
- 05:51, 19 April 2022 SMcNeill talk contribs created page DISPLAY (function) (Created page with "{{DISPLAYTITLE:_DISPLAY (function)}} The _DISPLAY function returns the handle of the current image that is displayed on the screen. {{PageSyntax}} :{{Parameter|currentImage&}} = _DISPLAY {{PageDescription}} * Returns the current image handle value that is being displayed. Returns 0 if in the default screen image. * Not to be confused with the _DISPLAY statement that displays the screen when not using _AUTODISPLAY. {{PageExamples}} ''Examp...")
- 05:50, 19 April 2022 SMcNeill talk contribs created page DISPLAY (Created page with "{{DISPLAYTITLE:_DISPLAY}} The _DISPLAY statement turns off the automatic display while only displaying the screen changes when called. {{PageSyntax}} : _DISPLAY {{PageDescription}} * '''_DISPLAY''' turns off the auto refresh screen default _AUTODISPLAY behavior. Prevents screen flickering. * Call _DISPLAY each time the screen graphics are to be displayed. Place call after the image has been changed. * Re-enable automatic display refreshing by calling ...")
- 05:50, 19 April 2022 SMcNeill talk contribs created page DIREXISTS (Created page with "{{DISPLAYTITLE:_DIREXISTS}} The _DIREXISTS function determines if a designated file path or folder exists and returns true (-1) or false (0). {{PageSyntax}} : {{Parameter|dirExists%}} = _DIREXISTS({{Parameter|filepath$}}) {{PageDescription}} * The {{Parameter|filepath$}} parameter can be a literal or variable string path value. * The function returns -1 when a path or folder exists and 0 when it does not. * The function reads the system information...")
- 05:50, 19 April 2022 SMcNeill talk contribs created page 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:49, 19 April 2022 SMcNeill talk contribs created page 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:46, 19 April 2022 SMcNeill talk contribs created page 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:46, 19 April 2022 SMcNeill talk contribs created page 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:32, 19 April 2022 SMcNeill talk contribs created page 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:32, 19 April 2022 SMcNeill talk contribs created page 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:32, 19 April 2022 SMcNeill talk contribs created page 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:31, 19 April 2022 SMcNeill talk contribs created page 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:31, 19 April 2022 SMcNeill talk contribs created page 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:30, 19 April 2022 SMcNeill talk contribs created page 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}}")
- 05:30, 19 April 2022 SMcNeill talk contribs created page 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:29, 19 April 2022 SMcNeill talk contribs created page 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:29, 19 April 2022 SMcNeill talk contribs created page 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:29, 19 April 2022 SMcNeill talk contribs created page DECLARE DYNAMIC LIBRARY (Created page with "'''DECLARE DYNAMIC LIBRARY''' allows you to dynamically link your program to functions in dynamically linkable libraries. At present, only ''.DLL'' files are supported (support for ''.so'' will be added soon). These libraries are loaded when your program begins. {{PageSyntax}} : DECLARE [DYNAMIC|CUSTOMTYPE|STATIC] LIBRARY [''"DLL_Library_file"'', "other_library..."] : {SUB|FUNCTION} [''procedure_name'' ALIAS] ''library_procedure'' (BYVAL ''parameter(s)'',...) ::. ::. '...")
- 05:28, 19 April 2022 SMcNeill talk contribs created page 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:02, 19 April 2022 SMcNeill talk contribs created page 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:02, 19 April 2022 SMcNeill talk contribs created page 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:02, 19 April 2022 SMcNeill talk contribs created page 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:01, 19 April 2022 SMcNeill talk contribs created page 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:01, 19 April 2022 SMcNeill talk contribs created page 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:50, 19 April 2022 SMcNeill talk contribs created page 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:50, 19 April 2022 SMcNeill talk contribs created page 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:24, 19 April 2022 SMcNeill talk contribs created page 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:24, 19 April 2022 SMcNeill talk contribs created page 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...")