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:13, 19 April 2022 SMcNeill talk contribs created page INTEGER64 (Created page with "{{DISPLAYTITLE:_INTEGER64}} _INTEGER64 is an 8 byte number type definition that can hold whole numerical values. {{PageSyntax}} : DIM {{Parameter|variable}} AS _INTEGER64 {{PageDescription}} * Can be used in 32 or 64 bit computers. * Signed numerical values can range from -9223372036854775808 to 9223372036854775807. * _UNSIGNED _INTEGER64 values range from 0 to 18446744073709551615 on 64 bit computers. * Variable type suffix is '''&&''' or ''...")
- 06:13, 19 April 2022 SMcNeill talk contribs created page INSTRREV (Created page with "{{DISPLAYTITLE:_INSTRREV}} The _INSTRREV function searches for a substring inside another string, but unlike INSTR it searches from right to left. {{PageSyntax}} : {{Parameter|position%}} = _INSTRREV([{{Parameter|start%}},] {{Parameter|baseString$}}, {{Parameter|subString$}}) {{Parameters}} * The optional literal or variable INTEGER {{Parameter|start%}} indicates where in the {{Parameter|baseString$}} the search must start, counted from the left. * T...")
- 06:12, 19 April 2022 SMcNeill talk contribs created page INFLATE$ (Created page with "{{DISPLAYTITLE:_INFLATE$}} The _INFLATE$ function decompresses a string compressed by the _DEFLATE$ function. {{PageSyntax}} :{{Parameter|result$}} = _INFLATE$({{Parameter|stringToDecompress$[, originalSize&]}}) {{PageDescription}} * {{Parameter|result$}} will contain the original version of {{Parameter|stringToDecompress$}}. * Optional parameter {{Parameter|originalSize&}} can be used if the original size of the uncompressed data is known befo...")
- 06:12, 19 April 2022 SMcNeill talk contribs created page INCLERRORLINE (Created page with "{{DISPLAYTITLE:_INCLERRORLINE}} The _INCLERRORFILE$ function returns the line number in an $INCLUDE file that caused the most recent error. {{PageSyntax}} : {{Parameter|errline&}} = _INCLERRORLINE {{PageDescription}} * If the last error occurred in the main module, _INCLERRORLINE returns 0. * By checking _INCLERRORLINE you can report exactly what line inside an included module caused the last error. ==Availability== * '''Version 1.1 and up'''. {{Pa...")
- 06:12, 19 April 2022 SMcNeill talk contribs created page INCLERRORFILE$ (Created page with "{{DISPLAYTITLE:_INCLERRORFILE$}} The _INCLERRORFILE$ function returns the name of the original source code $INCLUDE module that caused the most recent error. {{PageSyntax}} : {{Parameter|errfile$}} = _INCLERRORFILE$ {{PageDescription}} If the last error occurred in the main module, _INCLERRORFILE$ returns an empty string. ==Availability== * '''Version 1.1 and up'''. {{PageExamples}} ''Example:'' {{CodeStart}} {{Cl|ON ERROR}} {{Cl|GOTO}} DebugLi...")
- 06:11, 19 April 2022 SMcNeill talk contribs created page ICON (Created page with "{{DISPLAYTITLE:_ICON}} The _ICON statement uses an image handle from _LOADIMAGE for the program header and icon image in the OS. {{PageSyntax}} : _ICON [{{Parameter|mainImageHandle&}}[, {{Parameter|smallImageHandle&}}]] {{Parameters}} * {{Parameter|mainImageHandle&}} is the LONG handle value of the OS icon and title bar image pre-loaded with _LOADIMAGE when used alone. * {{Parameter|smallImageHandle&}} is the LONG handle value of a different...")
- 06:11, 19 April 2022 SMcNeill talk contribs created page $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.....")
- 06:05, 19 April 2022 SMcNeill talk contribs created page FULLSCREEN (function) (Created page with "{{DISPLAYTITLE:_FULLSCREEN (function)}} The _FULLSCREEN function returns the present full screen mode setting of the screen window. {{PageSyntax}} : {{Parameter|full%}} = _FULLSCREEN {{PageDescription}} * ''Function returns:'' ** 0 = _OFF (any positive non-0 value means fullscreen is on) ** 1 = _STRETCH ** 2 = _SQUAREPIXELS * It '''cannot''' be assumed that calling _FULLSCREEN will succeed. It cannot be assumed that the type of full...")
- 06:05, 19 April 2022 SMcNeill talk contribs created page FULLSCREEN (Created page with "{{DISPLAYTITLE:_FULLSCREEN}} The _FULLSCREEN statement attempts to make the program window fullscreen. {{PageSyntax}} :_FULLSCREEN [''_STRETCH | _SQUAREPIXELS| _OFF''][, ''_SMOOTH''] {{Parameters}} * {{Parameter|_STRETCH}} default first choice attempts to mimic QBasic's full screens if possible. _FULLSCREEN (function) returns 1. * {{Parameter|_SQUAREPIXELS}} alternate choice enlarges the pixels into squares on some monitors. _FULLSCREEN (function)|_FUL...")
- 06:04, 19 April 2022 SMcNeill talk contribs created page FREETIMER (Created page with "{{DISPLAYTITLE:_FREETIMER}} The _FREETIMER function returns a free TIMER number for multiple ON TIMER(n) events. {{PageSyntax}} : {{Parameter|timerhandle%}} = _FREETIMER {{PageDescription}} * QB64 can use an unlimited number of ON TIMER (number, seconds!) event INTEGER values at once. * Every time _FREETIMER is called the INTEGER value returned will increase by one, starting at 1, whether it is used or not. * Store multiple returns in differe...")
- 06:04, 19 April 2022 SMcNeill talk contribs created page FREEIMAGE (Created page with "{{DISPLAYTITLE:_FREEIMAGE}} The '''_FREEIMAGE''' statement releases the designated file image created by the _LOADIMAGE, _NEWIMAGE or _COPYIMAGE functions from memory when they are no longer needed. {{PageSyntax}} : _FREEIMAGE [{{Parameter|handle&}}] {{PageDescription}} *If {{Parameter|handle&}} is omitted, the current destination image is freed from memory. *Freeing the destination image or source image will result in the display page being selected...")
- 06:04, 19 April 2022 SMcNeill talk contribs created page FREEFONT (Created page with "{{DISPLAYTITLE:_FREEFONT}} The _FREEFONT statement frees a font handle that was created by _LOADFONT. {{PageSyntax}} :_FREEFONT ({{Parameter|fontHandle&}}) {{PageDescription}} * Unloads fonts that are no longer in use or needed in order to free program memory and resources. * You cannot free a font which is in use. Change the font to a QB64 default font size before freeing the handle (see example below). * Predefined '''QB64''' font handle numbers can be...")
- 06:03, 19 April 2022 SMcNeill talk contribs created page FONTWIDTH (Created page with "{{DISPLAYTITLE:_FONTWIDTH}} The _FONTWIDTH function returns the font width of a MONOSPACE font handle created by _LOADFONT. {{PageSyntax}} :{{Parameter|pixelWidth%}} = _FONTWIDTH[({{Parameter|fontHandle&}})] * Returns the character width of the last font used if a handle is not specified. * '''Variable width fonts always return {{Parameter|pixelWidth%}} = 0.''' Even fixed width fonts return 0 unless the "MONOSPACE" style option is used. * QB6...")
- 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...")