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).

Logs
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)
  • 20:41, 19 April 2022 SMcNeill talk contribs created page SNDSETPOS (Created page with "{{DISPLAYTITLE:_SNDSETPOS}} The _SNDSETPOS statement changes the current/starting playing position in seconds of a sound. {{PageSyntax}} : _SNDSETPOS {{Parameter|handle&}}, {{Parameter|position!}} {{PageDescription}} *Changes the current/starting playing position in seconds (a SINGLE value) of a sound in memory. *If {{Parameter|position!}} is past the length of the sound, playback will be interrupted. *Function cannot be called while a looping sound is be...")
  • 20:41, 19 April 2022 SMcNeill talk contribs created page SNDRAWLEN (Created page with "{{DISPLAYTITLE:_SNDRAWLEN}} The _SNDRAWLEN function returns the length, in seconds, of a _SNDRAW sound currently queued. {{PageSyntax}} : {{Parameter|length#}} = _SNDRAWLEN {{PageDescription}} * Use _SNDRAWLEN to determine the length of a sound queue during creation and when to stop playing the sound. * Ensure that _SNDRAWLEN is comfortably above 0 (until you've actually finished playing sound). * If you are getting occasional random clicks, this...")
  • 20:40, 19 April 2022 SMcNeill talk contribs created page SNDRAWDONE (Created page with "{{DISPLAYTITLE:_SNDRAWDONE}} _SNDRAWDONE ensures that the final buffer portion is played in short sound effects even if it is incomplete. {{PageSyntax}} : _SNDRAWDONE {{PageDescription}} * Use to force playing small buffers of _SNDRAW data. ==Availability== * '''Version 1.000 and up''' {{PageSeeAlso}} * _SNDOPENRAW * _SNDRAW * _SNDRAWLEN * _SNDRATE {{PageNavigation}}")
  • 20:40, 19 April 2022 SMcNeill talk contribs created page SNDRAW (Created page with "{{DISPLAYTITLE:_SNDRAW}} The _SNDRAW statement plays sound wave sample frequencies created by a program. {{PageSyntax}} : _SNDRAW {{Parameter|leftSample}}[, {{Parameter|rightSample}}][, {{Parameter|pipeHandle&}}] {{Parameters}} * The {{Parameter|leftSample}} and {{Parameter|rightSample}} value(s) can be any SINGLE or DOUBLE literal or variable frequency value from -1.0 to 1.0. * The {{Parameter|pipeHandle&}} parameter refers to the sound pipe opened...")
  • 20:39, 19 April 2022 SMcNeill talk contribs created page SNDRATE (Created page with "{{DISPLAYTITLE:_SNDRATE}} The _SNDRATE function returns the sample rate frequency per second of the current computer's sound card. {{PageSyntax}} : {{Parameter|sampleRate&}} = _SNDRATE {{PageDescription}} * The sample rate frequency per second value returned can be any LONG value. Common values are 22050 or 44100. * '''The sound card sample rate is determined by the sound card and it cannot be changed.''' {{PageExamples}} * See the example in [[_SNDRAW]...")
  • 20:39, 19 April 2022 SMcNeill talk contribs created page SNDPLAYING (Created page with "{{DISPLAYTITLE:_SNDPLAYING}} The _SNDPLAYING function returns whether a sound is being played. Uses a handle from the _SNDOPEN or _SNDCOPY functions. {{PageSyntax}} :{{Parameter|isPlaying%}} = _SNDPLAYING({{Parameter|handle&}}) {{PageDescription}} *Returns false (0) if a sound is not playing or true (-1) if it is. *If a sound is paused, _SNDPLAYING returns 0. {{PageExamples}} {{CodeStart}} '' '' {{Cl|PRINT}} {{Cl|_SNDPLAYING}}(h&) '' '' {{CodeEn...")
  • 20:38, 19 April 2022 SMcNeill talk contribs created page SNDPLAYFILE (Created page with "{{DISPLAYTITLE:_SNDPLAYFILE}} The _SNDPLAYFILE statement is used to play a sound file without generating a handle, automatically closing it after playback finishes. {{PageSyntax}} :_SNDPLAYFILE {{Parameter|filename$}}[, {{Parameter|ignored%}}][, {{Parameter|volume!}}] {{PageDescription}} * Supported file formats are '''WAV, OGG and MP3'''. See _SNDOPEN. * {{Parameter|ignored%}} is an optional parameter , accepted for historical reasons. ** In versions pr...")
  • 20:38, 19 April 2022 SMcNeill talk contribs created page SNDPLAYCOPY (Created page with "{{DISPLAYTITLE:_SNDPLAYCOPY}} The _SNDPLAYCOPY statement copies a sound, plays it, and automatically closes the copy using a handle parameter passed from _SNDOPEN or _SNDCOPY {{PageSyntax}} : _SNDPLAYCOPY {{Parameter|handle&}}[, {{Parameter|volume!}}] {{Parameters}} * The LONG {{Parameter|handle&}} value is returned by _SNDOPEN using a specific sound file. * The {{Parameter|volume!}} parameter can be any SINGLE value from 0 (no volume) to...")
  • 20:25, 19 April 2022 SMcNeill talk contribs created page SNDPLAY (Created page with "{{DISPLAYTITLE:_SNDPLAY}} The _SNDPLAY statement plays a sound designated by a file handle created by _SNDOPEN. {{PageSyntax}} : _SNDPLAY {{Parameter|handle&}} {{PageDescription}} * Make sure that the {{Parameter|handle&}} value is not 0 before attempting to play it. {{PageExamples}} ''Example:'' Checking a handle value before playing {{CodeStart}} '' '' {{Cl|IF...THEN|IF}} h& {{Cl|THEN}} {{Cl|_SNDPLAY}} h& '' '' {{CodeEnd}} {{PageSeeAlso}} * _SNDO...")
  • 20:25, 19 April 2022 SMcNeill talk contribs created page SNDPAUSED (Created page with "{{DISPLAYTITLE:_SNDPAUSED}} The _SNDPAUSED function checks if a sound is paused. Uses a handle parameter passed from _SNDOPEN. {{PageSyntax}} : {{Parameter|isPaused%%}} = _SNDPAUSED({{Parameter|handle&}}) {{PageDescription}} *Returns true (-1) if the sound is paused. False (0) if not paused. {{PageExamples}} {{CodeStart}} '' '' {{Cl|PRINT}} {{Cl|_SNDPAUSED}}(h&) '' '' {{CodeEnd}} {{PageSeeAlso}} * _SNDPAUSE, _SNDPLAY, * _SNDSTOP {{PageN...")
  • 20:24, 19 April 2022 SMcNeill talk contribs created page SNDPAUSE (Created page with "{{DISPLAYTITLE:_SNDPAUSE}} The _SNDPAUSE statement pauses a sound using a handle from the _SNDOPEN function. {{PageSyntax}} : _SNDPAUSE {{Parameter|handle&}} {{PageDescription}} * Continue playing by calling _SNDPLAY {{Parameter|handle&}} * In versions '''prior to build 20170811/60''', the sound identified by {{Parameter|handle&}} must have been opened using the "PAUSE" capability to use this function. {{PageSeeAlso}} * _SNDPLAY, ...")
  • 20:24, 19 April 2022 SMcNeill talk contribs created page SNDOPENRAW (Created page with "{{DISPLAYTITLE:_SNDOPENRAW}} The _SNDOPENRAW function opens a new channel to fill with _SNDRAW content to manage multiple dynamically generated sounds. {{PageSyntax}} : {{Parameter|pipeHandle&}} = _SNDOPENRAW {{PageDescription}} * You can manage multiple dynamically generated sounds at once without having to worry about mixing. * Use _SNDCLOSE to remove the pipe sound handles from memory. {{PageExamples}} ''Example:'' Combining 2 sounds without worrying...")
  • 20:24, 19 April 2022 SMcNeill talk contribs created page SNDOPEN (Created page with "{{DISPLAYTITLE:_SNDOPEN}} The _SNDOPEN function loads a sound file into memory and returns a LONG handle value above 0. {{PageSyntax}} : {{Parameter|soundHandle&}} = _SNDOPEN({{Parameter|fileName$}}) {{PageDescription}} * Returns a LONG {{Parameter|soundHandle&}} value to the sound file in memory. '''A zero value means the sound could not be loaded.''' * The literal or variable STRING sound {{Parameter|fileName$}} can be '''WAV, OGG or MP3''' file...")
  • 20:23, 19 April 2022 SMcNeill talk contribs created page SNDLOOP (Created page with "{{DISPLAYTITLE:_SNDLOOP}} The _SNDLOOP statement is like _SNDPLAY but the sound is looped. Uses a handle from the _SNDOPEN function. {{PageSyntax}} : _SNDLOOP {{Parameter|handle&}} {{PageDescription}} *Plays the sound identified by {{Parameter|handle&}} in a loop. {{PageExamples}} ''Example:'' Loading a sound or music file and playing it in a loop until a key is pressed. {{CodeStart}} '' '' bg = {{Cl|_SNDOPEN}}("back.ogg") '<<<<<<<<<< change to your...")
  • 20:22, 19 April 2022 SMcNeill talk contribs created page SNDLIMIT (Created page with "{{DISPLAYTITLE:_SNDLIMIT}} The _SNDLIMIT statement stops playing a sound after it has been playing for a set number of seconds. {{PageSyntax}} : _SNDLIMIT {{Parameter|handle&}}, {{Parameter|numberOfSeconds!}} {{Parameters}} * The {{Parameter|handle&}} variable name is created using the _SNDOPEN function from a loaded sound file. * {{Parameter|numberOfSeconds!}} is a SINGLE value of seconds that the sound will play. {{PageDescription}} *Sets how lon...")
  • 20:22, 19 April 2022 SMcNeill talk contribs created page SNDLEN (Created page with "{{DISPLAYTITLE:_SNDLEN}} The _SNDLEN function returns the length in seconds of a loaded sound using a handle from the _SNDOPEN function. {{PageSyntax}} : {{Parameter|soundLength}} = _SNDLEN({{Parameter|handle&}}) {{PageDescription}} * Returns the length of a sound in seconds. * In versions '''prior to build 20170811/60''', the sound identified by {{Parameter|handle&}} must have been opened using the "LEN" capability to use this function. {{...")
  • 20:22, 19 April 2022 SMcNeill talk contribs created page SNDGETPOS (Created page with "{{DISPLAYTITLE:_SNDGETPOS}} The _SNDGETPOS function returns the current playing position in seconds using a handle from _SNDOPEN. {{PageSyntax}} :{{Parameter|position}} = _SNDGETPOS({{Parameter|handle&}}) {{PageDescription}} *Returns the current playing position in seconds from an open sound file. *If a sound isn't playing, it returns 0. *If a sound is paused, it returns the paused position. *For a looping sound, the value returned continues to increment...")
  • 20:21, 19 April 2022 SMcNeill talk contribs created page SNDCOPY (Created page with "{{DISPLAYTITLE:_SNDCOPY}} The _SNDCOPY function copies a sound to a new handle so that two or more of the same sound can be played at once. The passed handle parameter is from the _SNDOPEN function. {{PageSyntax}} : {{Parameter|copyHandle&}} = _SNDCOPY({{Parameter|handle&}}) {{PageDescription}} * Returns a new handle to the a copy in memory of the sound data referred to by the source handle. * No changes to the source handle (such as a volume change) are...")
  • 20:21, 19 April 2022 SMcNeill talk contribs created page SNDCLOSE (Created page with "{{DISPLAYTITLE:_SNDCLOSE}} The _SNDCLOSE statement frees and unloads an open sound using a _SNDOPEN or _SNDCOPY handle. {{PageSyntax}} : _SNDCLOSE {{Parameter|handle&}} {{PageDescription}} * If the sound is still playing, it will be freed automatically after it finishes. ** Closing a looping/paused/etc. sound means it is never freed until the QB64 program terminates. * When your QB64 program terminates, all sounds are automatically freed. {{PageSeeA...")
  • 20:20, 19 April 2022 SMcNeill talk contribs created page SNDBAL (Created page with "{{DISPLAYTITLE:_SNDBAL}} The _SNDBAL statement attempts to set the balance or 3D position of a sound. {{PageSyntax}} : _SNDBAL {{Parameter|handle&}}[, {{Parameter|x!}}][, {{Parameter|y!}}][, {{Parameter|z!}}][, {{Parameter|channel&}}]] {{Parameters}} * ''handle&'' is a valid sound handle created by the _SNDOPEN function. * {{Parameter|x!}} distance values go from left (negative) to right (positive). * {{Parameter|y!}} distance values go from below (negati...")
  • 20:20, 19 April 2022 SMcNeill talk contribs created page SHR (Created page with "{{DISPLAYTITLE:_SHR}} The _SHR function is used to shift the bits of a numerical value to the right. {{PageSyntax}} :{{Parameter|result}} = _SHR({{Parameter|numericalVariable}}, {{Parameter|numericalValue}}) {{Parameters}} * {{Parameter|numericalVariable}} is the variable to shift the bits of and can be of the following types: INTEGER, LONG, _INTEGER64, or _BYTE. * Integer values can be signed or _UNSIGNED. * {{Parameter|numericalValue}} t...")
  • 20:19, 19 April 2022 SMcNeill talk contribs created page SHL (Created page with "{{DISPLAYTITLE:_SHL}} The _SHL function is used to shift the bits of a numerical value to the left. {{PageSyntax}} :{{Parameter|result}} = _SHL({{Parameter|numericalVariable}}, {{Parameter|numericalValue}}) {{Parameters}} * {{Parameter|numericalVariable}} is the variable to shift the bits of and can be of the following types: INTEGER, LONG,_INTEGER64, or _BYTE. * Integer values can be signed or _UNSIGNED. * {{Parameter|numericalValue}} is...")
  • 20:18, 19 April 2022 SMcNeill talk contribs created page SHELLHIDE (Created page with "{{DISPLAYTITLE:_SHELLHIDE}} The _SHELLHIDE function hides the console window and returns any INTEGER code sent when a program exits. {{PageSyntax}} : {{Parameter|returnCode%}} = _SHELLHIDE({{Parameter|externalCommand$}}) {{Parameters}} * The literal or variable STRING {{Parameter|externalCommand$}} parameter can be any external command or call to another program. {{PageDescription}} * A QB64 program can return codes specified after END or SYST...")
  • 20:18, 19 April 2022 SMcNeill talk contribs created page SETBIT (Created page with "{{DISPLAYTITLE:_SETBIT}} The _SETBIT function is used to set a specified bit of a numerical value to 1 (on state). {{PageSyntax}} :{{Parameter|result}} = _SETBIT({{Parameter|numericalVariable}}, {{Parameter|numericalValue}}) {{Parameters}} * {{Parameter|numericalVariable}} is the variable to set the bit of and can be of the following types: _BYTE, INTEGER, LONG, or _INTEGER64. * Integer values can be signed or _UNSIGNED. * {{Parameter|nume...")
  • 20:18, 19 April 2022 SMcNeill talk contribs created page SETALPHA (Created page with "{{DISPLAYTITLE:_SETALPHA}}{{DISPLAYTITLE:}} The _SETALPHA statement sets the alpha channel transparency level of some or all of the pixels of an image. {{PageSyntax}} : _SETALPHA {{Parameter|alpha&}}[, {{Parameter|color1&}}][ TO {{Parameter|colour2&}}] [, {{Parameter|imageHandle&}}] {{Parameters}} * {{Parameter|alpha&}} is the new alpha level to set, ranging from 0 (transparent) to 255 (opaque). * {{Parameter|color1&}} designates the 32-bit LONG color...")
  • 20:17, 19 April 2022 SMcNeill talk contribs created page SCROLLLOCK (Created page with "{{DISPLAYTITLE: _SCROLLLOCK}} The _SCROLLLOCK statement sets the state of the Scroll Lock key. {{PageSyntax}} : _SCROLLLOCK {ON|OFF|_TOGGLE} ==Availability== * Version 1.4 and up. * Not available in Linux or macOS. {{PageSeeAlso}} * _CAPSLOCK (function), _NUMLOCK (function), _SCROLLLOCK (function) * _CAPSLOCK (statement), _NUMLOCK (statement)...")
  • 20:17, 19 April 2022 SMcNeill talk contribs created page SCROLLLOCK (function) (Created page with "{{DISPLAYTITLE: _SCROLLLOCK (function)}} The _SCROLLLOCK function returns the current state of the Scroll Lock key as on (-1) or off (0). {{PageSyntax}} : {{Parameter|keyStatus%%}} = _SCROLLLOCK ==Availability== * Version 1.4 and up. * Not available in Linux or macOS. {{PageSeeAlso}} * _CAPSLOCK (function), _...")
  • 20:15, 19 April 2022 SMcNeill talk contribs created page SCREENY (Created page with "{{DISPLAYTITLE:_SCREENY}} The _SCREENY function returns the current row pixel coordinate of the program window on the desktop. {{PageSyntax}} : {{Parameter|positionY&}} = _SCREENY {{PageDescription}} * Function returns the current program window's upper left corner row position on the desktop. * Use _DESKTOPWIDTH and _DESKTOPHEIGHT to find the current user's Windows desktop resolution to adjust the position with _SCREENMOVE. * Keywords_currently...")
  • 20:15, 19 April 2022 SMcNeill talk contribs created page SCREENX (Created page with "{{DISPLAYTITLE:_SCREENX}} The _SCREENX function returns the current column pixel coordinate of the program window on the desktop. {{PageSyntax}} : {{Parameter|positionX&}} = _SCREENX {{PageDescription}} * Function returns the current program window's upper left corner column position on the desktop. * Use _DESKTOPWIDTH and _DESKTOPHEIGHT to find the current Windows desktop resolution to adjust the position with _SCREENMOVE. * Keywords_currently_...")
  • 20:15, 19 April 2022 SMcNeill talk contribs created page SCREENSHOW (Created page with "The $SCREENSHOW metacommand can be used to display the main program window throughout the program. {{PageSyntax}} : $SCREENSHOW {{PageDescription}} * The metacommand is intended to be used in a modular program when a screen surface is necessary in one or more modules. * $SCREENSHOW can only be used after $SCREENHIDE or _SCREENHIDE have been used in another program module. * If $SCREENHIDE and then $SCREENSHOW are used in the same p...")
  • 19:52, 19 April 2022 SMcNeill talk contribs created page $SCREENSHOW (Created page with "{{DISPLAYTITLE:_SCREENSHOW}} The _SCREENSHOW statement can be used to display the main program window in a section of code. {{PageSyntax}} : _SCREENSHOW {{PageDescription}} * _SCREENHIDE or $SCREENHIDE must be used before _SCREENSHOW or $SCREENSHOW can be used! {{PageSeeAlso}} * $SCREENHIDE, $SCREENSHOW, $CONSOLE (QB64 Metacommands) * _SCREENHIDE, _CONSOLE {{PageNavigation}}")
  • 19:51, 19 April 2022 SMcNeill talk contribs created page SCREENPRINT (Created page with "{{DISPLAYTITLE:_SCREENPRINT}} The _SCREENPRINT statement simulates typing text into a Windows focused program. {{PageSyntax}} : _SCREENPRINT {{Parameter|text$}} {{PageDescription}} * Keyword not supported in Linux or MAC versions * {{Parameter|text$}} is the text to be typed into a focused program's text entry area, one character at a time. * Set the focus to a de...")
  • 15:34, 19 April 2022 SMcNeill talk contribs created page SCREENIMAGE (Created page with "{{DISPLAYTITLE:_SCREENIMAGE}} The _SCREENIMAGE function stores the current desktop image or a portion of it and returns an image handle. {{PageSyntax}} : {{Parameter|imageHandle&}} = _SCREENIMAGE({{Parameter|column1}}, {{Parameter|row1}}, {{Parameter|column2}}, {{Parameter|row2}})] {{PageDescription}} * {{Parameter|imageHandle&}} is the handle to the new image in memory that will contain the desktop screenshot. * The optional screen {{Parameter|column}} and {...")
  • 15:34, 19 April 2022 SMcNeill talk contribs created page SCREENICON (Created page with "{{DISPLAYTITLE:_SCREENICON}} The _SCREENICON statement can be used to minimize the main program window to the taskbar. {{PageSyntax}} : _SCREENICON {{PageDescription}} * Use _SCREENICON to minimize the main program window to the taskbar. ==Availability== * '''Version 1.000 and up'''. {{PageSeeAlso}} * $SCREENHIDE, $SCREENSHOW, $CONSOLE (QB64 Metacommands) * _SCREENHIDE, _SCREENSHOW, _CONSOLE * _SCREENICON (function)...")
  • 15:33, 19 April 2022 SMcNeill talk contribs created page SCREENICON (function) (Created page with "{{DISPLAYTITLE:_SCREENICON (function)}} The _SCREENICON function returns true (-1) or false (0) to indicate if the window has been minimized to an icon on the taskbar. {{PageSyntax}} : {{Parameter|isMinimized%%}} = _SCREENICON {{PageDescription}} * The function returns true (-1) when the program is minimized to the task bar and false (0) when not. {{PageSeeAlso}} * _SCREENICON * _SCREENHIDE * _SCREENSHOW {{PageNaviga...")
  • 15:33, 19 April 2022 SMcNeill talk contribs created page SCREENHIDE (Created page with "{{DISPLAYTITLE:_SCREENHIDE}} The '''_SCREENHIDE''' statement can be used to hide the main program window in a section of code. {{PageSyntax}} ::: _SCREENHIDE * Use _SCREENHIDE to get rid of the main program window until later in the program. * Use the Metacommand to get rid of the program window throughout a program or when using $CONSOLE. * _SCREENHIDE or $SCREENHIDE must be used before _SCREENSHOW or $SCREENSHOW can be used! ''See also:''...")
  • 15:32, 19 April 2022 SMcNeill talk contribs created page $SCREENHIDE (Created page with "The $SCREENHIDE metacommand can be used to hide the main program window throughout a program. {{PageSyntax}} : $SCREENHIDE * $SCREENHIDE may be used at the start of a program to hide the main program window when using a console window. * The _SCREENHIDE statement must be used before _SCREENSHOW can be used in sections of a program. * '''QB64 metacommands cannot be commented out with apostrophe or [[REM]...")
  • 15:32, 19 April 2022 SMcNeill talk contribs created page SCREENEXISTS (Created page with "{{DISPLAYTITLE:_SCREENEXISTS}} The _SCREENEXISTS function returns true (-1) once a screen has been created. {{PageSyntax}} : {{Parameter|screenReady%%}} = _SCREENEXISTS {{PageDescription}} * Function returns true (-1) once a program screen is available to use or change. * Can be used to avoid program errors because a screen was not ready for input or alterations. ** Use before _TITLE, _SCREENMOVE and other functions that require the output window to h...")
  • 15:27, 19 April 2022 SMcNeill talk contribs created page SCREENCLICK (Created page with "{{DISPLAYTITLE:_SCREENCLICK}} The _SCREENCLICK statement simulates clicking on a pixel coordinate on the desktop screen with the left mouse button. {{PageSyntax}} : _SCREENCLICK {{Parameter|column%}}, {{Parameter|row%}}[, {{Parameter|button%}}] {{PageDescription}} * {{Parameter|column%}} is the horizontal pixel coordinate position on the screen. * {{Parameter|row%}} is the vertical pixel coordinate position on the screen. * Optional {{Parameter|button%}} can...")
  • 15:25, 19 April 2022 SMcNeill talk contribs created page PUTIMAGE (Created page with "{{DISPLAYTITLE:_PUTIMAGE}} _PUTIMAGE puts an area of a source image to an area of a destination image in one operation, like GET and PUT. {{PageSyntax}} :_PUTIMAGE [STEP] [({{Parameter|dx1}}, {{Parameter|dy1}})-[STEP][({{Parameter|dx2}}, {{Parameter|dy2}})]][, {{Parameter|sourceHandle&}}][, {{Parameter|destHandle&}}][, ][STEP][({{Parameter|sx1}}, {{Parameter|sy1}})[-STEP][({{Parameter|sx2}}, {{Parameter...")
  • 15:25, 19 April 2022 SMcNeill talk contribs created page PRINTWIDTH (Created page with "{{DISPLAYTITLE:_PRINTWIDTH}}{{DISPLAYTITLE:}} The _PRINTWIDTH function returns the width in pixels of the text string specified. {{PageSyntax}} : {{Parameter|pixelWidth%}} = _PRINTWIDTH({{Parameter|textToPrint$}}[, {{Parameter|destinationHandle&}}]) {{PageDescription}} * {{Parameter|textToPrint$}} is any literal or variable STRING value. * If the {{Parameter|destinationHandle&}} is omitted, the current destination image or screen page is used....")
  • 15:24, 19 April 2022 SMcNeill talk contribs created page PRINTSTRING (Created page with "{{DISPLAYTITLE:_PRINTSTRING}} The _PRINTSTRING statement prints text strings using graphic column and row coordinate positions. {{PageSyntax}} : _PRINTSTRING({{Parameter|column}}, {{Parameter|row}}), {{Parameter|textExpression$}}[, {{Parameter|imageHandle&}}] {{Parameters}} * {{Parameter|column}} and {{Parameter|row}} are INTEGER or LONG starting PIXEL (graphic) column and row coordinates to set text or custom fonts. * {{Parameter|textExpr...")
  • 15:24, 19 April 2022 SMcNeill talk contribs created page PRINTMODE (function) (Created page with "{{DISPLAYTITLE:_PRINTMODE (function)}} The _PRINTMODE function returns the current _PRINTMODE status as a numerical value from 1 to 3 in graphic screen modes. {{PageSyntax}} : {{Parameter|currentPrintMode}} = _PRINTMODE[({{Parameter|imageHandle&}})] {{Parameters}} * If no {{Parameter|imageHandle&}} is given, the current destination SCREEN page or image is assumed. {{PageDescription}} * Returns a...")
  • 15:24, 19 April 2022 SMcNeill talk contribs created page PRINTMODE (Created page with "{{DISPLAYTITLE:_PRINTMODE}} The _PRINTMODE statement sets the text or _FONT printing mode on a background image when using PRINT or _PRINTSTRING. {{PageSyntax}} : _PRINTMODE {''_KEEPBACKGROUND''|''_ONLYBACKGROUND''|''_FILLBACKGROUND''}[, {{Parameter|imageHandle&}}] {{Parameters}} * One of 3 mode keywords is mandatory when using this statement to deal with the text background. **''_KEEPBACKGROUND'' (mode 1): Text background transparent. Only the te...")
  • 15:23, 19 April 2022 SMcNeill talk contribs created page PRINTIMAGE (Created page with "{{DISPLAYTITLE:_PRINTIMAGE}} The _PRINTIMAGE statement prints a colored image on the printer, stretching it to full paper size first. {{PageSyntax}} : _PRINTIMAGE {{Parameter|imageHandle&}} * {{Parameter|imageHandle&}} is created by the _LOADIMAGE, _NEWIMAGE or _COPYIMAGE functions. * Use a white background to save ink. {{InlineCode}}CLS , _RGB(255, 255, 255){{InlineCodeEnd}} can be used to set the white background in any SCREEN mode. *...")
  • 15:22, 19 April 2022 SMcNeill talk contribs created page PRESERVE (Created page with "{{DISPLAYTITLE:_PRESERVE}} The _PRESERVE REDIM action preserves the current contents of dynamic arrays, when resizing or changing indices. {{PageSyntax}} : REDIM _PRESERVE array({{Parameter|newLowerIndex&}} [TO {{Parameter|newUpperIndex&}}]) [AS variabletype] {{PageDescription}} * REDIM or the $DYNAMIC metacommand must be used when the array is first created to be able to resize and preserve. * If _PRESERVE is not used, t...")
  • 15:21, 19 April 2022 SMcNeill talk contribs created page PIXELSIZE (Created page with "{{DISPLAYTITLE:_PIXELSIZE}} The _PIXELSIZE function returns the color depth (Bits Per Pixel) of an image as 0 for text, 1 for 1 to 8 BPP or 4 for 32 bit. {{PageSyntax}} : {{Parameter|pixelSize%}} = _PIXELSIZE[({{Parameter|imageHandle&}})] {{PageDescription}} * If {{Parameter|imageHandle&}} is omitted, it is assumed to be the current write page. * Returns: ** 0 if the image or screen page specified by {{Parameter|imageHandle&}} is in text mode. ** 1 if the ima...")
  • 15:21, 19 April 2022 SMcNeill talk contribs created page PI (Created page with "{{DISPLAYTITLE: _PI}} The _PI function returns '''π''' as a _FLOAT value with an optional multiplier parameter. {{PageSyntax}} : {{Parameter|circumference}} = _PI[({{Parameter|multiplier}})] {{Parameters}} * Optional {{Parameter|multiplier}} (''2 * radius'' in above syntax) allows multiplication of the π value. {{PageDescription}} * Function can be used in to supply π or multiples in a program. * Accuracy is determined by the return variable type...")
  • 15:20, 19 April 2022 SMcNeill talk contribs created page PALETTECOLOR (Created page with "{{DISPLAYTITLE:_PALETTECOLOR}} The _PALETTECOLOR statement sets the color value of a palette entry of an image using 256 color modes or less (4 or 8 BPP). {{PageSyntax}} :_PALETTECOLOR {{Parameter|attribute%}}, {{Parameter|newColor&}}[, {{Parameter|destHandle&}}] {{PageDescription}} * The {{Parameter|attribute%}} is the palette index number of the color to set, ranging from 0 to 15 (4 bit) or 0 to 255 (8 bit) color modes. * The LONG {{Parameter|newColor&}...")
  • 12:42, 19 April 2022 SMcNeill talk contribs created page OS$ (Created page with "The _OS$ function returns the operating system and QB64 compiler bit version used to compile a QB64 program. {{PageSyntax}} : {{Parameter|compilerVersion$}} = _OS$ {{PageDescription}} * Returns a STRING listing the OS as [WINDOWS], [LINUX] or [MACOSX] and the compiler bit format of [32BIT] or [64BIT]. Example: {{text|[WINDOWS][32BIT]}} * Allows a BAS program to be compiled with QB64 in Windows, Linux or MacOSX using different OS or language specifications...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)