User contributions for SMcNeill

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

19 April 2022

  • 12:0112:01, 19 April 2022 diff hist +29,668 N MAPTRIANGLECreated page with "{{DISPLAYTITLE:_MAPTRIANGLE}} The _MAPTRIANGLE statement maps a triangular portion of an image onto a destination image or screen page. {{PageSyntax}} ===2D drawing=== :_MAPTRIANGLE [{_SEAMLESS}] '''('''{{Parameter|sx1}}''',''' {{Parameter|sy1}}''')-('''{{Parameter|sx2}}''',''' {{Parameter|sy2}}''')-('''{{Parameter|sx3}}''',''' {{Parameter|sy3}}'''),''' {{Parameter|source&}} '''TO ('''{{Parameter|dx1}}''',''' {{Parameter|dy1}}''')-('''{{Parameter|dx2}}''',''' {..."
  • 12:0012:00, 19 April 2022 diff hist +4,034 N LOADIMAGECreated page with "{{DISPLAYTITLE:_LOADIMAGE}} The _LOADIMAGE function loads an image into memory and returns valid LONG image handle values that are less than -1. {{PageSyntax}} :{{Parameter|handle&}} = _LOADIMAGE({{Parameter|filename$}}[, {{Parameter|mode%}}]) {{Parameters}} *{{Parameter|filename$}} is literal or variable STRING file name value. *Optional {{Parameter|mode%}} INTEGER values can be: **32 = 32-bit **33 = hardware image {{PageDescription}} *Var..."
  • 12:0012:00, 19 April 2022 diff hist +7,827 N LOADFONTCreated page with "{{DISPLAYTITLE:_LOADFONT}} The _LOADFONT function loads a TrueType font (.TTF) or an OpenType font (.OTF) file in a specific size and style and returns a LONG font handle. {{PageSyntax}} : {{Parameter|handle&}} = _LOADFONT({{Parameter|fontFileName$}}, {{Parameter|size%}}[, "{MONOSPACE|, BOLD|, ITALIC|, UNDERLINE|, UNICODE|, DONTBLEND}"]) {{PageDescription}} * The assigned LONG font {{Parameter|handle&}} variable return value designates a font style to..."
  • 11:5911:59, 19 April 2022 diff hist +1,711 N LIMITCreated page with "{{DISPLAYTITLE:_LIMIT}} The _LIMIT statement sets the loop repeat rate of a program to so many per second, relinquishing spare CPU cycles to other applications. {{PageSyntax}} : _LIMIT {{Parameter|framesPerSecond!}} * The {{Parameter|framesPerSecond!}} SINGLE parameter value adjusts the loops per second of a program loop. '''Do not use negative values.''' * The loop code is executed before the loop is delayed. Loop cycles below once per second may delay..."
  • 11:5811:58, 19 April 2022 diff hist +1,675 N LASTWHEELCreated page with "{{DISPLAYTITLE:_LASTWHEEL}} The _LASTWHEEL function returns the number of wheels a specified number INPUT device on your computer has. {{PageSyntax}} : {{Parameter|wheelCount%}} = _LASTWHEEL({{Parameter|deviceNumber}}) * Returns the number of wheels that can be used on a specified device number within the number of _DEVICES found. * A valid number can be sent to the _WHEEL function to find any relative positive or negative wheel movements. * The devi..."
  • 06:1706:17, 19 April 2022 diff hist +1,746 N LASTBUTTONCreated page with "{{DISPLAYTITLE:_LASTBUTTON}} The _LASTBUTTON function returns the number of buttons a specified INPUT device on your computer has. {{PageSyntax}} : {{Parameter|buttonCount%}} = __LASTBUTTON({{Parameter|deviceNumber}}) * Returns the number of buttons that can be read on a specified device number within the number of _DEVICES found. * A valid number can be sent to the _BUTTON or _BUTTONCHANGE function to find any button events. * The specific device..."
  • 06:1606:16, 19 April 2022 diff hist +1,647 N LASTAXISCreated page with "{{DISPLAYTITLE:_LASTAXIS}} The _LASTAXIS function returns the number of axis a specified number INPUT device on your computer has. {{PageSyntax}} : {{Parameter|axisCount%}} = _LASTAXIS({{Parameter|deviceNumber}}) {{PageDescription}} * Returns the number of axis that can be read on a specified device number within the number of _DEVICES found. * A valid number can be sent to the _AXIS function to find any relative axis movements. * The devices are list..."
  • 06:1606:16, 19 April 2022 diff hist +1,112 N $LETCreated page with "$LET is precompiler command, which is now usable by modern day cavemen to help include and exclude which sections of code compiles in their program based on OS/bit-size or other predefined conditions. {{PageSyntax}} : $LET variable = expression {{PageDescription}} * Unlike LET, $LET is not optional. * $LET a = 12 sets a precompiler variable "a" to the value of 12. This variable is only valid for the precompiler itself and does nothing to affect..."
  • 06:1506:15, 19 April 2022 diff hist +9,577 N KEYDOWNCreated page with "{{DISPLAYTITLE:_KEYDOWN}} The '''_KEYDOWN''' function returns whether modifying keys like CTRL, ALT, SHIFT, and any other keys are pressed. {{PageSyntax}} :: return% = '''_KEYDOWN('''''code&''''')''' * The ''return'' value is -1 if a specified key is pressed or 0 if it was not pressed. It can be used to monitor key combinations. * The POSITIVE LONG ''code'' value can be from any function key that needs to be monitored in a key press combination. * Unicode refer..."
  • 06:1406:14, 19 April 2022 diff hist +6,921 N KEYHITCreated page with "{{DISPLAYTITLE:_KEYHIT}} The _KEYHIT function returns ASCII one and two byte, OpenGL Virtual Key and Unicode keyboard key press codes. {{PageSyntax}} :{{Parameter|keycode&}} = _KEYHIT {{PageDescription}} * Return values range up to &H40000000 so use a LONG or _INTEGER64 variable type. See the _KEYDOWN code list: :* 0-255: ASCII values (Refer to [http://en.wikipedia.org/wiki/Code_page_437 CP437]). :* 256-65535: ASCII#Two_Byte_Codes|2-byte..."
  • 06:1406:14, 19 April 2022 diff hist +2,753 N KEYCLEARCreated page with "{{DISPLAYTITLE:_KEYCLEAR}} _KEYCLEAR clears all keyboard input buffers. {{PageSyntax}} :_KEYCLEAR {{Parameter|buffer&}} {{Parameters}} *{{Parameter|buffer&}} indicates the buffer to be cleared: ** 1 - Clear the regular keyboard buffer, as used by all input command except the following: _KEYHIT, _KEYDOWN, INP(&H60. This is the same as the the emulated BIOS keyboard buffer, so legacy code reading from it via PEEK/POKE/CALL ABSOLUTE will also be affected. ** 2 -..."
  • 06:1306:13, 19 April 2022 diff hist +1,030 N INTEGER64Created 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:1306:13, 19 April 2022 diff hist +3,012 N INSTRREVCreated 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:1206:12, 19 April 2022 diff hist +1,737 N 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:1206:12, 19 April 2022 diff hist +1,457 N INCLERRORLINECreated 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:1206:12, 19 April 2022 diff hist +1,380 N 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:1106:11, 19 April 2022 diff hist +7,136 N ICONCreated 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:1106:11, 19 April 2022 diff hist +3,139 N $IFCreated 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:0506:05, 19 April 2022 diff hist +4,245 N 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:0506:05, 19 April 2022 diff hist +5,048 N FULLSCREENCreated 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:0406:04, 19 April 2022 diff hist +584 N FREETIMERCreated 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:0406:04, 19 April 2022 diff hist +2,067 N FREEIMAGECreated 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:0406:04, 19 April 2022 diff hist +4,123 N FREEFONTCreated 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:0306:03, 19 April 2022 diff hist +954 N FONTWIDTHCreated 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:0306:03, 19 April 2022 diff hist +2,056 N FONTHEIGHTCreated 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:0306:03, 19 April 2022 diff hist +499 N 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..." current
  • 06:0206:02, 19 April 2022 diff hist +3,496 N FONTCreated 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:0206:02, 19 April 2022 diff hist +1,420 N FLOATCreated 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:0206:02, 19 April 2022 diff hist +1,967 N FINISHDROPCreated 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:0106:01, 19 April 2022 diff hist +1,068 N FILEEXISTSCreated 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:0106:01, 19 April 2022 diff hist +1,259 N HYPOTCreated 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:0106:01, 19 April 2022 diff hist +8,996 N SHELLCreated 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:0006:00, 19 April 2022 diff hist +2,509 N HIDECreated 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:0006:00, 19 April 2022 diff hist +1,100 N HEIGHTCreated 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:0006:00, 19 April 2022 diff hist +734 N GREEN32Created 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:5905:59, 19 April 2022 diff hist +1,445 N GREENCreated 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:5905:59, 19 April 2022 diff hist +2,752 N 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:5805:58, 19 April 2022 diff hist +1,149 N $EXEICONCreated 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:5805:58, 19 April 2022 diff hist +960 N ERRORLINECreated 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:5805:58, 19 April 2022 diff hist +3,139 N $END IFCreated 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:5805:58, 19 April 2022 diff hist +3,139 N $ELSEIFCreated 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:5705:57, 19 April 2022 diff hist +3,139 N $ELSECreated 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:5705:57, 19 April 2022 diff hist +746 N ECHOCreated 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:5205:52, 19 April 2022 diff hist +2,459 N DROPPEDFILECreated 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:5205:52, 19 April 2022 diff hist +1,092 N DONTWAITCreated 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:5205:52, 19 April 2022 diff hist +3,400 N DONTBLENDCreated 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:5105:51, 19 April 2022 diff hist +1,300 N DISPLAYORDERCreated 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:5105:51, 19 April 2022 diff hist +1,822 N 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:5005:50, 19 April 2022 diff hist +3,723 N DISPLAYCreated 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:5005:50, 19 April 2022 diff hist +1,278 N DIREXISTSCreated 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..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)