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).
- 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...")
- 17:27, 19 April 2022 BigRon55 talk contribs created page Template:C1 (Created page with "<span style="color:#87cefa;">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span>")
- 17:20, 19 April 2022 BigRon55 talk contribs created page ERL (Created page with "The ERL function returns the closest previous line number before the last error. {{PageSyntax}} : ''lastErrorLine&'' = ERL {{PageDescription}} * Used in an error handler to report the last line number used before the error. * If the program does not use line numbers, then ERL returns 0. * Use _ERRORLINE to return the actual code line position of an error in a QB64 program. {{PageExamples}} ''Example:'' Using a fake error code to return the line number p...")
- 17:20, 19 April 2022 BigRon55 talk contribs created page ERR (Created page with "The ERR function returns the last QBasic error code number. {{PageSyntax}} : {{Parameter|errorNum%}} = ERR {{PageDescription}} * If there is no error, the function returns 0 * Can be used in an error handling routine to report the last error code number. {{PageExamples}} ''Example:'' Simulating an error to test a program error handler that looks for a "Subscript out of range" error. {{CodeStart}} '' '' {{Cl|ON ERROR}} {{Cl|GOTO}} handler {{Cl|IF...THEN|IF...")
- 17:19, 19 April 2022 BigRon55 talk contribs created page ERROR (Created page with "The ERROR statement is used to simulate a program error or to troubleshoot error handling procedures. {{PageSyntax}} : ERROR {{Parameter|codeNumber%}} {{PageDescription}} * Can be used to test an error handling routine by simulating an error. * Error code 97 can be used to invoke the error handler for your own use, no real error in the program will trigger error 97. * Use error codes between 100 and 200 for custom program errors that will not be responded to...")
- 17:18, 19 April 2022 BigRon55 talk contribs created page ON ERROR (Created page with "ON ERROR is used with GOTO to handle errors in a program. {{PageSyntax}} : ON ERROR GOTO {''lineNumber''|''lineLabel''} {{PageDescription}} * An ''untreated error'' in a program will cause execution to stop and an error message is displayed to the user, who can choose to continue (ignore the error - which could have unexpected results) or end the program. * Use ON ERROR when your program performs operations that are likely to generate errors, like...")
- 17:15, 19 April 2022 BigRon55 talk contribs created page EXIT (Created page with "The EXIT statement is used to exit certain QBasic procedures. {{PageSyntax}} : EXIT {DO|WHILE|FOR|SUB|FUNCTION|SELECT|CASE} {{PageDescription}} * EXIT leaves any of the following procedures immediately. ** EXIT DO exits a DO...LOOP. ** EXIT WHILE exits a WHILE...WEND loop. ** EXIT FOR exits a FOR...NEXT counter loop. ** EXIT SUB exits a SUB procedure before it ends. Use before any GOSUB procedures using RETURN. ** [...")
- 17:14, 19 April 2022 BigRon55 talk contribs created page STEP (Created page with "The '''STEP''' keyword is used in FOR...NEXT loops to skip through the count or to count down instead of up. Used in graphics to designate a relative coordinate position of a graphics object function. {{PageSyntax}} :: FOR counter_variable = start_point TO stop_point ['''STEP ''interval'''''] :: CIRCLE '''STEP(0, 0)''', 10, 12 * The FOR counter variable is used to designate and pass the current FOR incremented value. * FOR loops without the optional STEP value...")
- 17:12, 19 April 2022 BigRon55 talk contribs created page FOR (Created page with "The FOR statement creates a counter loop using specified start and stop numerical boundaries. The default increment is + 1. {{PageSyntax}} : FOR {{Parameter|counterVariable}} = {{Parameter|startValue}} TO {{Parameter|stopValue}} [{{KW|STEP}} {{Parameter|increment}}] :: ''{code}'' :: ⋮ : NEXT [{{Parameter|counterVariable}}] {{Parameters}} * The FOR {{Parameter|counterVariable}} name is required to define the counter span and may also be used aft...")
- 17:11, 19 April 2022 BigRon55 talk contribs created page FOR...NEXT (Created page with "The FOR statement creates a counter loop using specified start and stop numerical boundaries. The default increment is + 1. {{PageSyntax}} : FOR {{Parameter|counterVariable}} = {{Parameter|startValue}} TO {{Parameter|stopValue}} [{{KW|STEP}} {{Parameter|increment}}] :: ''{code}'' :: ⋮ : NEXT [{{Parameter|counterVariable}}] {{Parameters}} * The FOR {{Parameter|counterVariable}} name is required to define the counter span and may also be used aft...")
- 17:10, 19 April 2022 BigRon55 talk contribs created page NEXT (Created page with "NEXT is used in a FOR counter loop to progress through the loop count. {{PageSyntax}} : FOR {{Parameter|counterVariable}} = {{Parameter|startValue}} TO {{Parameter|stopValue}} [{{KW|STEP}} {{Parameter|increment}}] :: ''{code}'' :: ⋮ : NEXT [{{Parameter|counterVariable}}] {{PageDescription}} * NEXT is required in a FOR loop or a "FOR without NEXT" error will occur. * The FOR variable name is not required after N...")
- 17:03, 19 April 2022 BigRon55 talk contribs created page CLOSE (Created page with "CLOSE closes an open file or port using the number(s) assigned in an OPEN statement. {{PageSyntax}} : CLOSE [{{Parameter|fileNumber}}[, ...]] {{Parameters}} * {{Parameter|fileNumber}} indicates the file or list of file numbers to close. When not specified, all open files are closed. {{PageDescription}} * A file must be closed when changing to another file mode. * CLOSE files when they are no longer needed, in order to save memory. * Files cannot be...")
- 17:02, 19 April 2022 BigRon55 talk contribs created page Semicolon (Created page with "The '''semicolon''' is used in a PRINT statement to stop the screen print cursor immediately after the printed value. ''Usage:'' COLOR 13: PRINT "Value ="; value1; value2; value3 {{OutputStart}}{{text|1234 5678 9012|magenta}}{{OutputEnd}} * Positive numerical values printed will include a space before and after each value printed. Strings will not have spacing. * Use the WRITE statement to print values with only commas between the values and no...")
- 17:01, 19 April 2022 BigRon55 talk contribs created page Apostrophe (Created page with "The '''apostrophe''' is used to tell the compiler to ignore a statement or programmer comment. {{PageDescription}} * Allows programmer comments or temporary code removal. * REM can also be used to "comment out" a line. * QBasic metacommands must be commented either with an apostrophe or REM. * $INCLUDE requires an apostrophe before and after the included file name. {{PageExamples}} {{CodeStart}} COLOR 11: PRINT "Print this...." ' PRINT "Don...")
- 17:01, 19 April 2022 BigRon55 talk contribs created page $INCLUDE (Created page with "$INCLUDE is a metacommand that is used to insert a source code file into your program which is then executed at the point of the insertion. {{PageSyntax}} : {REM | ' } $INCLUDE: '{{Parameter|sourceFile}}' {{PageDescription}} * QBasic metacommands must be commented with REM or an apostrophe. * The {{Parameter|sourceFile}} name must be enclosed in apostrophes and can include a path. * $INCLUDE is often used to add functions and subs...")
- 16:58, 19 April 2022 User account Dcromley talk contribs was created
- 16:58, 19 April 2022 BigRon55 talk contribs created page CLEAR (Created page with "The CLEAR statement clears all variable and array element values in a program. {{PageSyntax}} : CLEAR [, {{Parameter|ignored&}} , {{Parameter|ignored&}}] {{PageDescription}} * All parameters are optional and ignored by '''QB64'''. * Normally used to clear all program variable and array values where numerical values become zero and string values become empty (""). * It does not clear constant values. * Closes all opened files. * $DYNAMIC...")
- 16:57, 19 April 2022 BigRon55 talk contribs created page ERASE (Created page with "The ERASE statement is used to clear all data from an array. $STATIC array dimensions are not affected. {{PageSyntax}} : ERASE ''arrayName'' [, ''arrayName2''...] {{PageDescription}} * All string array elements become null strings ("") and all numerical array elements become 0. * Multiple arrays can be erased using commas between the array names. * Dynamic arrays must be REDIMensioned if they are referenced after erased. * Dimensi...")
- 16:56, 19 April 2022 BigRon55 talk contribs created page DIM (Created page with "The DIM statement is used to declare a variable or a list of variables as a specified data type or to dimension $STATIC or $DYNAMIC arrays. {{PageSyntax}} ::''Syntax 1:'' DIM [{{KW|SHARED}}] ''variable''[{suffix| {{KW|AS}} ''type''}] [, ''variable2''...]] ::''Syntax 2:'' DIM [{{KW|SHARED}}] ''array(lowest% [{{KW|TO}}) highest%])''[{suffix| {{KW|AS}} ''type''}] [, ''variable2''...] :'' '''QB64''' Syntax:'' DIM [{{KW|SHARED}}] ''varia...")
- 16:55, 19 April 2022 BigRon55 talk contribs created page STATIC (Created page with "The {{KW|STATIC}} keyword is used in declaration statements to control where variables are stored. {{PageSyntax}} :{{KW|STATIC}} {{Parameter|variableName}}[()] [{{KW|AS}} {{Parameter|dataType}}][, ...] {{PageSyntax}} :{SUB|FUNCTION} {{Parameter|procedureName}} [({{Parameter|parameterList}})] STATIC {{PageDescription}} * A STATIC list can be used in SUB and FUNCTION procedures to designate one or more variables to retain their values. * Variables and...")
- 16:54, 19 April 2022 BigRon55 talk contribs created page $STATIC (Created page with "The '''$STATIC''' Metacommand allows the creation of STATIC(un-changeable) arrays. {{PageSyntax}} ::: REM '''$STATIC''' * Qbasic Metacommands require a REM or apostrophy (') before them and are normally placed at the start of the main module. * Static arrays cannot be resized. If a variable is used to size any array, it becomes $DYNAMIC. * A REDIM statement has no effect on $STATIC arrays except perhaps a duplicate definition error at...")