User contributions for BigRon55
Jump to navigation
Jump to search
20 April 2022
- 15:0415:04, 20 April 2022 diff hist +1,643 N LPRINT USING Created page with "The LPRINT USING statement sends formatted data to LPT1, the parallel port printer. {{PageSyntax}} : '''LPRINT''' [''text$''{;|,}] '''USING''' {{Parameter|template$}}; {{Parameter|variable}}[; ...][{;|,}] {{Parameters}} * Literal or variable STRING ''text$'' can be placed between LPRINT and USING or it can be included in the {{Parameter|template$}}. * A semicolon or comma may follow the {{Parameter|text$}} to stop or tab the print cursor before th..."
- 15:0415:04, 20 April 2022 diff hist +1,374 N LPRINT Created page with "The LPRINT statement sends string text or numerical values to a parallel port (LPT1) printer in QBasic or a USB printer in '''QB64'''. {{PageSyntax}} :LPRINT [{{Parameter|expression}}] [{;|,}] {{PageDescription}} * {{Parameter|expression}} is one or more text or numerical expressions separated by a semi-colon (;) or comma (,). * Syntax is the same as PRINT, but cannot use a port number. * Program does not have to OPEN the LPT1: parallel port. * Assume..."
- 14:5314:53, 20 April 2022 diff hist +2,424 N PMAP Created page with "The '''PMAP''' statement returns the physical or WINDOW view port coordinates. {{PageSyntax}} :: PMAP (''coordinate'', ''function_number%'') * The ''coordinate'' is the coordinate point to be mapped. * The ''function'' can have one of four values: :: 0 = Maps view port coordinate to physical x screen coordinate :: 1 = Maps view port coordinate to physical y screen coordinate :: 2 = Maps physical screen coordinate to view port x coordinate :: 3 = Maps physical..."
- 14:5114:51, 20 April 2022 diff hist +20 WINDOW No edit summary
- 14:4614:46, 20 April 2022 diff hist +4,902 N SAVEIMAGE Created page with "<center>'''The SAVEIMAGE SUB program to create Bitmaps of other type Images or Screenshots'''</center> <center>'''Bitmaps''' are image files with the .BMP file name extension.</center> * Bitmaps can be 1, 4, 8 or 24/32 bits per pixel(BPP) color palettes. QB64 is capable of working with high color bitmaps. * Screen or Image width and height calculations are automatically made using the image handle value. * Use an image handle value of 0(zero) to get a screen shot..."
- 14:4514:45, 20 April 2022 diff hist +3,373 N WINDOW Created page with "The '''WINDOW''' command scales the graphics coordinate system of the current _DEST image, optionally inverting the direction of the vertical axis. Any coordinates used in drawing commands made to the image are scaled such that the image seems have have the dimensions requested. == Syntax == ::: '''WINDOW''' [ [ '''SCREEN'''] (''x1!'', ''y1!'') - (''x2!'', ''y2!'')] Where (''x1!'', ''y1!'')-(''x2!'', ''y2!'') specifies the new dimensions of the image to scale to. N..."
- 14:4214:42, 20 April 2022 diff hist +1,980 N VIEW Created page with "The '''VIEW''' statement creates a graphics view port area by defining the coordinate limits to be viewed. {{PageSyntax}} :: '''VIEW''' [[SCREEN] (column1, row1)-(column2, row2)[, color][, border]]] * When the SCREEN option is used, all coordinates are absolute and only graphics within the viewport area are plotted. * When the SCREEN option is not used, all coordinates are relative to the view port with the values of column1 and row1 being automatically added before..."
- 13:5813:58, 20 April 2022 diff hist +1,474 N Parameters Created page with "Optional '''parameters''' are values passed to SUB and FUNCTION procedures. They are always enclosed in parenthesis inside the procedures. {{PageSyntax}} ::: SUB SubName['''(''parameter''''' [{{KW|AS}} {{KW|Type}}][''', ...''']''')'''] ::: FUNCTION FunctionName['''(''parameter''''' [{{KW|AS}} {{KW|Type}}][''', ...''']''')'''] ::: CALL SubName['''(''parameter'''''[''', ...''']''')'''] ::: SubName ['''''parameter'''''][''', ...'''] ::: FunctionName[''..."
- 13:5713:57, 20 April 2022 diff hist +6,011 N PUT (graphics statement) Created page with "The '''PUT''' graphics statement is used to place GET or BSAVE file images stored in the designated array. {{PageSyntax}} :: '''PUT''' [{{KW|STEP}}]'''(''column'', ''row''), Array('''[''index'']''')'''[,] [{{KW|_CLIP}}] [{PSET|PRESET|AND|OR|XOR}]][, ''omitcolor''] ''Parameters:'' * The STEP keyword can be used to for coordinates relative to the last graphic coordinates used. * ''column'' and ''row'' INTEGER coordinate v..."
- 13:5713:57, 20 April 2022 diff hist +7,317 N GET (graphics statement) Created page with "The GET statement is used in graphics to store a box area image of the screen into an INTEGER array. ==Legacy support== * '''QB64 can manipulate parts of an image using _PUTIMAGE. For that reason, GET isn't recommended practice anymore and is supported to maintain compatibility with legacy code.''' {{PageSyntax}} : GET [STEP] ({{Parameter|column1}}, {{Parameter|row1}})-[STEP]({{Parameter|column2}}, {{Parameter|row2}}), {{Param..."
- 13:5613:56, 20 April 2022 diff hist +8,905 N DRAW Created page with "The DRAW statement uses a STRING expression to draw lines on the screen. {{PageSyntax}} : DRAW {{Parameter|drawString$}} {{PageDescription}} * The {{Parameter|drawString$}} can be DRAW instructions in quotation marks or a STRING variable using DRAW instructions. * DRAW starting coordinates can be set using PSET, PRESET, CIRCLE or LINE ending positions. * Other graphic objects can be located at or relative to the last DRAW p..."
- 13:5513:55, 20 April 2022 diff hist +4,599 N LINE Created page with "The LINE statement is used in graphic SCREEN modes to create lines or boxes. {{PageSyntax}} : LINE [STEP] ['''('''''column1''''',''' ''row1''''')''']'''-'''[STEP] '''('''''column2'', ''row2'''''),''' ''color''[, [{B|BF}], {{Parameter|style%}}] {{Parameters}} * The STEP keyword make ''column'' and ''row'' coordinates relative to the previously coordinates set by any graphic statement. * The optional parameters (''column1'', ''row1'')..."
- 13:5513:55, 20 April 2022 diff hist +5,363 N PRESET Created page with "The '''PRESET''' graphic SCREEN statement turns a pixel at a coordinate to the background color or a designated color attribute. {{PageSyntax}} :: '''PRESET''' [STEP]'''('''''column%'', ''row%''''')'''[, colorAttribute] ''Parameters:'' * Can use STEP when relative graphics coordinates are required. * ''column'' and ''row'' coordinates can be literal ot variable INTEGER values which can be offscreen. * If the ''colorAttribute'' is omitted, PRESET will..."
- 13:5413:54, 20 April 2022 diff hist +6,536 N PSET Created page with "The '''PSET''' grahics SCREEN statement sets a pixel to a coordinate with a default or designated color attribute. {{PageSyntax}} :: '''PSET''' [STEP]'''('''''column%'', ''row%''''')'''[, ''colorAttribute''] ''Parameters:'' * Can use STEP relative graphics coordinates from a previous graphic object. * ''Column'' and ''row'' can be literal or variable INTEGER coordinates values which can be offscreen. * If the ''colorAttribute'' is o..."
- 13:5313:53, 20 April 2022 diff hist +2,247 N VIEW PRINT Created page with "The VIEW PRINT statement defines the boundaries of a text viewport {{KW|PRINT}} area. {{PageSyntax}} : '''VIEW PRINT''' [{{Parameter|topRow%}} '''TO''' {{Parameter|bottomRow%}}] {{Parameters}} * {{Parameter|topRow%}} and {{Parameter|bottomRow%}} specify the upper and lower rows of the text viewport. * If {{Parameter|topRow%}} and {{Parameter|bottomRow%}} are not specified when first used, the text viewport is defined to be the entire screen. {{PageDescription}..."
- 13:5213:52, 20 April 2022 diff hist +3,895 N SCREEN (function) Created page with "The '''SCREEN''' function returns the ASCII code of a text character or the color attribute at a set text location on the screen. {{PageSyntax}} :: codeorcolor% = '''SCREEN (''row%'', ''column%''''' [, colorflag%]''')''' {{Parameters}} * ''row'' and ''column'' are the INTEGER text coordinates of the SCREEN mode used. * Optional ''colorflag'' INTEGER value can be omitted or 0 for ASCII code values or 1 for color attributes. ''Usage:'' * The ''co..."
- 13:5213:52, 20 April 2022 diff hist +1,482 N POS Created page with "The '''POS''' function returns the current print cursor text column position. {{PageSyntax}} :: column% = POS(0) * The value in parenthesis is normally 0, but any numerical value or variable could be used for compatibility with Basic. * When a semicolon ends the previous PRINT statement the cursor column position will be after the last character printed. * If TAB or a comma is used the column position will be immediately after the tabbed position normally 9 spac..."
- 13:5113:51, 20 April 2022 diff hist +1,739 N CSRLIN Created page with "The CSRLIN function returns the current text row position of the PRINT cursor. {{PageSyntax}} : {{Parameter|row%}} = CSRLIN {{PageDescription}} * The value returned is within the range of 1 to the current number of rows in the SCREEN mode used. ** In SCREEN 0 (text mode), the _HEIGHT function returns the number of text rows. ** In graphic modes, the number of available text rows can be calculated by dividing _HEIGHT (measured in pixels i..."
- 13:4913:49, 20 April 2022 diff hist +3,374 N LOCATE Created page with "The LOCATE statement locates the screen text row and column positions for a PRINT or INPUT procedure. {{PageSyntax}} : LOCATE [{{Parameter|row%}}][, {{Parameter|column%}}] [, {{Parameter|cursor%}}][, {{Parameter|cursorStart%}}, {{Parameter|cursorStop%}}] {{Parameters}} * optional text {{Parameter|row%}} INTEGER values are from 1 to 25, 43 or 50 in SCREEN 0 and 25 in most other legacy graphic screen modes, except screens 11 and 12 which can ha..."
- 13:4813:48, 20 April 2022 diff hist +3,703 N PCOPY Created page with "The PCOPY statement copies one source screen page to a destination page in memory. {{PageSyntax}} : PCOPY {{Parameter|sourcePage%}}, {{Parameter|destinationPage%}} {{PageDescription}} * {{Parameter|sourcePage%}} is an image page in video memory. * {{Parameter|destinationPage%}} is the video memory location to copy the source image to. * The working page is set as 0. All drawing occurs there. * The visible page is set as any page number that the SCREEN mode a..."
- 13:4613:46, 20 April 2022 diff hist +1,717 N WIDTH Created page with "The {{KW|WIDTH}} statement changes the text dimensions of certain {{KW|SCREEN (statement)|SCREEN}} modes. == ''SCREEN'' Syntax == ::: '''WIDTH''' ['''{{Parameter|columns%}}'''][''', {{Parameter|rows%}}'''] == ''File'' Syntax == ::: '''WIDTH''' {'''''file_number''''' | '''''device'''''}, '''''columnwidth%''''' {{Parameters}} * When parameters are not specified, columns defaults to 80 with 25 (30 in SCREEN 11 or 12) rows. ''Usage:'' * WIDTH should be used AFTER..."
- 13:4413:44, 20 April 2022 diff hist +1,730 N PUT (TCP/IP statement) Created page with "The '''PUT #''' TCP/IP statement sends unformatted(raw) data to an open connection using a user's handle. {{PageSyntax}} :: '''PUT ''#handle'', , ''data'' ''' {{Parameters}} * The ''handle'' value is returned by the _OPENCLIENT, _OPENHOST or _OPENCONNECTION '''QB64''' functions. * The ''data'' can be any variable type value. Literal values are not allowed. <center>'''Communicating using unformatted/raw streamed data:'''</center> * Benefit: Communicate..."
- 13:4213:42, 20 April 2022 diff hist +2,141 N GET (TCP/IP statement) Created page with "'''GET''' reads unformatted (raw) data from an open TCP/IP connection opened with _OPENCLIENT, _OPENHOST or _OPENCONNECTION. {{PageSyntax}} ''Syntax 1:'' : '''GET''' ''#handle'', , ''b$'' * Reads any available data into variable length string b$ (b$'s length is adjusted to the number of bytes read, so checking EOF is unnecessary) using the handle return value from _OPENCLIENT, _OPENHOST or _OPENCONNECTION. ''Syntax 2:'' : '''GET''' ''#handle''..."
- 13:4013:40, 20 April 2022 diff hist +2,779 N CONNECTIONADDRESS Created page with "{{DISPLAYTITLE:_CONNECTIONADDRESS}} The _CONNECTIONADDRESS function returns a connected user's STRING IP address value. {{PageSyntax}} :{{Parameter|result$}} = _CONNECTIONADDRESS[$]({{Parameter|connectionHandle&}}) {{PageDescription}} * The handle can come from the _OPENHOST, OPENCLIENT or _OPENCONNECTION QB64 TCP/IP functions. * For '''HOSTs''': It may return "TCP/IP:8080:213.23.32.5" where 8080 is the port it..."
19 April 2022
- 23:4923:49, 19 April 2022 diff hist +2,313 N GOSUB Created page with "GOSUB sends the program flow to a sub procedure identified by a line number or label. {{PageSyntax}} : GOSUB {{{Parameter|lineNumber}}|{{Parameter|label}}} {{PageDescription}} * Use RETURN in a sub procedure to return to the next line of code after the original GOSUB call. END or SYSTEM can also be used to end program. <!-- needs clarification: * A procedure loop may be used to return automatically instead of using return. --> * GOSUB and GOTO can..."
- 23:4923:49, 19 April 2022 diff hist +1,421 N GOTO Created page with "The GOTO statement sends the procedure to a line label or a line number in the program. {{PageSyntax}} : GOTO {''lineNumber''|''lineLabel''} '''''IF''' Syntax:'' : IF condition GOTO {''lineNumber''|''lineLabel''} {{PageDescription}} * ''lineNumber'' or ''lineLabel'' must already exist or an IDE status error will be displayed until it is created. * Can be used in SUB or FUNCTION procedures using their own line labels or numbers. * The frequent u..."
- 23:4723:47, 19 April 2022 diff hist +5,849 N IF Created page with "IF...THEN statements make boolean (true or false) evaluations to automate program decision making. {{PageSyntax}} ===Single-line=== : IF {{Parameter|conditionStatement}} THEN ''{code}'' ELSE ''{alternativeCode}'' : IF {{Parameter|conditionStatement}} GOTO ''lineLabel'' ===Block=== : IF {{Parameter|conditionStatement}} THEN :: ''{code}'' :: ⋮ : ELSEIF {{Parameter|conditionStatement2}} THEN :: ''{code}'' :: ⋮ : ELSE :: ''{..."
- 23:4523:45, 19 April 2022 diff hist +365 N THEN Created page with "'''THEN''' is required in IF...THEN conditional evaluation statements. {{PageSyntax}} :: IF condition THEN execute_code * THEN is required on the same code line as the IF statement. * The condition value must be true(-1) or <> 0 for the statement code to be executed. ''See also:'' * IF...THEN * ELSE, ELSEIF * END IF {{PageNavigation}}"
- 23:4423:44, 19 April 2022 diff hist +1,019 N END IF Redirected page to IF...THEN Tag: New redirect
- 23:4323:43, 19 April 2022 diff hist +636 N Colon Created page with "A '''colon''' can be used to separate two unrelated procedure statements on the same line. ''Usage:'' COLOR 10: PRINT "Hello "; : COLOR 12: PRINT "World" {{OutputStart}} {{text|Hello |limegreen}}{{text|World|red}} {{OutputEnd}} * Use colons to combine variable definition statements or screen prints. * Some statements such as END IF and Metacommands require a new code line! * Use semicolons and commas where appropriate in P..."
- 23:4223:42, 19 April 2022 diff hist +8,421 N SELECT CASE Created page with "SELECT CASE is used to determine the program flow by comparing the value of a variable to specific CASE values. {{PageSyntax}} :'''SELECT''' [EVERY]'''CASE''' {{Parameter|testExpression}} ::'''CASE''' {{Parameter|expressionList1}} :::[statement-block1] ::['''CASE''' {{Parameter|expressionList2}} :::[statement-block2]]... ::['''CASE ELSE''' :::[statementblock-n]] :'''END SELECT''' * '''SELECT CASE''' evaluates {{Parameter|testExpression}} and executes the first..."
- 23:4123:41, 19 April 2022 diff hist +1,435 N ELSE Created page with "ELSE is used in IF...THEN or SELECT CASE statements to offer an alternative to other conditional statements. {{PageSyntax}} ''Single-line syntax:'' : IF {{Parameter|condition}} THEN ''{code}'' ELSE ''{alternative-code}'' ''Block syntax:'' : IF {{Parameter|condition}} THEN :: ''{code}'' :: ⋮ : ELSEIF {{Parameter|condition2}} THEN :: ''{code}'' :: ⋮ : ELSE :: ''{alternative-code}'' :: ⋮ : END IF {{PageDescription}..."
- 23:4023:40, 19 April 2022 diff hist +1,370 N ELSEIF Created page with "ELSEIF is used in an IF...THEN block statement to offer an alternative condition. {{PageSyntax}} : IF {{Parameter|condition}} THEN :: ''{code}'' :: ⋮ : ELSEIF {{Parameter|condition2}} THEN :: ''{code}'' :: ⋮ : ELSE :: ''{alternative-code}'' :: ⋮ : END IF {{PageDescription}} * ELSEIF statements require a '''separate''' code block line with THEN for each alternative condition. * There can be more than one ELSE IF statement..."
- 23:4023:40, 19 April 2022 diff hist +5,849 N IF...THEN Created page with "IF...THEN statements make boolean (true or false) evaluations to automate program decision making. {{PageSyntax}} ===Single-line=== : IF {{Parameter|conditionStatement}} THEN ''{code}'' ELSE ''{alternativeCode}'' : IF {{Parameter|conditionStatement}} GOTO ''lineLabel'' ===Block=== : IF {{Parameter|conditionStatement}} THEN :: ''{code}'' :: ⋮ : ELSEIF {{Parameter|conditionStatement2}} THEN :: ''{code}'' :: ⋮ : ELSE :: ''{..."
- 23:3923:39, 19 April 2022 diff hist +4,350 N CHR$ Created page with "The CHR$ function returns the character associated with a certain character code as a STRING. {{PageSyntax}} :{{Parameter|result$}} = CHR$({{Parameter|code%}}) {{PageDescription}} * Valid ASCII {{Parameter|code%}} numbers range from 0 to 255. * The character code of a character can be found using ASC. * Some control codes below 32 will not PRINT or will move the screen cursor, unless _CONTROLCHR OFF is used. {{PageExamp..."
- 23:3623:36, 19 April 2022 diff hist +13,366 N INKEY$ Created page with "The INKEY$ function returns user input as ASCII STRING character(s) from the keyboard buffer. {{PageSyntax}} : {{Parameter|keypress$}} = INKEY$ {{PageDescription}} * Returns ASCII character string values in upper or lower cases. See: UCASE$ and LCASE$ * Returns "" if no key has been pressed since the last keyboard read. * Some control keys cannot be read by INKEY$ or will return 2 byte ASCII codes. * INKEY$ can also be used to clear a..."
- 23:3623:36, 19 April 2022 diff hist +695 N LCASE$ Created page with "The LCASE$ function outputs an all-lowercase version of a STRING. {{PageSyntax}} :{{Parameter|result$}} = LCASE$({{Parameter|text$}}) {{PageDescription}} * Normally used to guarantee that user input is not capitalized. * Does not affect non-alphabetical characters. {{PageExamples}} ''Example:'' The following code guarantees that all user letter entries will be lower case: {{CodeStart}}{{Cl|PRINT}} "Do you want to continue? (y/n)" {{Cl|DO...LOOP|DO}}..."
- 23:3523:35, 19 April 2022 diff hist +712 N UCASE$ Created page with "The UCASE$ function outputs an all-uppercase version of a STRING. {{PageSyntax}} :{{Parameter|result$}} = UCASE$({{Parameter|text$}}) {{PageDescription}} * Used to guarantee that all alphabetical characters in a STRING are capitalized. * Does not affect non-alphabetical characters. {{PageExamples}} ''Example:'' The following code guarantees that all letter key entries are capitalized: {{CodeStart}}{{Cl|PRINT}} "Do you want to continue? (y/n)" {{Cl|..."
- 23:3423:34, 19 April 2022 diff hist +2,950 N INSTR Created page with "The INSTR function searches for the first occurence of a search STRING within a base string and returns the position it was found. {{PageSyntax}} : {{Parameter|position%}} = INSTR([{{Parameter|start%}},] {{Parameter|baseString$}}, {{Parameter|searchString$}}) {{Parameters}} * The optional literal or variable INTEGER {{Parameter|start%}} indicates where in the {{Parameter|baseString$}} the search must start. * The {{Parameter|baseString$}} is a litera..."
- 17:3017:30, 19 April 2022 diff hist 0 ERROR No edit summary Tag: Manual revert
- 17:2617:26, 19 April 2022 diff hist 0 ERROR No edit summary
- 17:2517:25, 19 April 2022 diff hist 0 ERROR No edit summary Tag: visualeditor-switched
- 17:2017:20, 19 April 2022 diff hist +880 N 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:2017:20, 19 April 2022 diff hist +1,193 N 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:1917:19, 19 April 2022 diff hist +1,144 N 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:1817:18, 19 April 2022 diff hist +2,995 N 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:1517:15, 19 April 2022 diff hist +1,327 N 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:1417:14, 19 April 2022 diff hist +2,446 N 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:1217:12, 19 April 2022 diff hist +4,083 N 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:1117:11, 19 April 2022 diff hist +4,083 N 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..."