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)
  • 21:13, 20 April 2022 BigRon55 talk contribs created page + (Created page with "The '''+''' plus mathematical operator performs addition on two numerical values or concatenate STRING values. ''Syntax:'' return_value = number1 + number2 {{PageDescription}} * A + sign also can indicate a positive numerical value, but it is not required. * Numbers used can be any literal or variable numerical value type. * Adding one negative value will actually perform subtraction on the other value. * Adding two negative values will...")
  • 21:13, 20 April 2022 BigRon55 talk contribs created page Parenthesis (Created page with "'''Parenthesis''' are used to enclose SUB and FUNCTION parameters or to set the operation order in Mathematical Operations. ''Usage:'' COLOR 14: PRINT TAB(30); "Hello World" {{OutputStart}} {{text|Hello World|yellow}} {{OutputEnd}} * SUB parameters MUST be enclosed in parenthesis when the CALL statement is used. Do '''not''' use parenthesis without CALL. * Parenthesis can be used in calculations to determine the...")
  • 21:12, 20 April 2022 BigRon55 talk contribs created page Dollar Sign (Created page with "The '''$''' is used to denote Qbasic Metacommands or as a STRING variable type suffix. ''Usage:'' $INCLUDE: 'QB.bi' * $STATIC denotes that all arrays can only be dimensioned once using DIM. * $DYNAMIC denotes that all arrays can be redimensioned using REDIM ONLY. * $INCLUDE includes a BI file or Qbasic Library in a program. The file name requires a comment before and after the name. * The string variable suffix MUST be used if...")
  • 21:11, 20 April 2022 BigRon55 talk contribs created page Question mark (Created page with "A '''question mark''' can be used as a substitute shortcut to typing PRINT when creating code. ''Usage:'' ?"Hello world" ''Result:'' PRINT "Hello world" * When the IDE cursor moves to the next code line, the question mark is changed to PRINT and the prompt text and variable are spaced appropriately. * When an INPUT statement has no text, a question mark will appear before the input. * A semicolon after the INPUT prompt text will add a question mark afte...")
  • 20:54, 20 April 2022 BigRon55 talk contribs created page LSET (Created page with "LSET left-justifies a fixed length string expression based on the size of the STRING variable and string expression. {{PageSyntax}} : LSET {stringVariable = stringExpression | stringExpression1 = stringExpression2} {{PageDescription}} * If the string expression is longer than a fixed length string variable the value is truncated from the right side in LSET or RSET. * If the LSET string expression is smaller, spaces will occupy the extra positions to t...")
  • 20:53, 20 April 2022 BigRon55 talk contribs created page LPOS (Created page with "The LPOS function returns the current LPT printer head position. {{PageSyntax}} : {{Parameter|result%}} = LPOS({{Parameter|index%}}) {{PageDescription}} * {{Parameter|index%}} is the index of the printer, which can have the following values: ** 0 - LPT1: ** 1 - LPT1: ** 2 - LPT2: ** 3 - LPT3: * The LPOS function does not necessarily give the physical position of the print head because it does not expand tab characters. In addition, some printers may buffer ch...")
  • 20:52, 20 April 2022 BigRon55 talk contribs created page LOG (Created page with "The LOG math function returns the natural logarithm of a specified numerical value. {{PageSyntax}} : {{Parameter|logarithm!}} = LOG({{Parameter|value}}) {{PageDescription}} * {{Parameter|value}} MUST be greater than 0. "Illegal function call" error occurs if negative or zero values are used. * The natural logarithm is the logarithm to the base '''e = 2.718282''' (approximately). * The natural logarithm of ''a'' is defined as the integral from...")
  • 16:48, 20 April 2022 BigRon55 talk contribs created page LINE INPUT (file statement) (Created page with "The '''LINE INPUT #''' file statement reads an entire line from a text file into a string variable. {{PageSyntax}} : '''LINE INPUT''' '''#'''{{Parameter|fileNumber&}}''',''' ''stringVariable$'' {{Parameters}} * {{Parameter|fileNumber&}} is the INTEGER number of the file previously opened with the OPEN statement. * {{Parameter|stringVariable$}} holds the text line read from the file. {{PageDescription}} * Reads a file using the {{Parameter|fileNumber&}} OP...")
  • 16:46, 20 April 2022 BigRon55 talk contribs created page WRITE (Created page with "The {{KW|WRITE}} statement writes a comma-separated list of values to the screen without spacing. {{PageSyntax}} :{{KW|WRITE}} [{{Parameter|expression, List}}] {{PageDescription}} * {{Parameter|expressionList}} is a comma-separated list of variable or literal values to be written to the screen. * Write statement separates displayed values using comma separators(required) that will display on the screen. * Leading and trailing number spaces are omitted when d...")
  • 16:44, 20 April 2022 BigRon55 talk contribs created page Concatenation (Created page with "'''Concatenation''' is a process where literal or variable STRING values are combined using the + operator. ''Usage:'' value$ = "Literal text" + string_variable$ + "more text." * The STRING values added can be literal or string variable values or a string FUNCTION value. * When combining string values in a variable definition, concatenation MUST be used! * Literal or variable numerical values cannot be used in string concatenation. * A numerical valu...")
  • 16:43, 20 April 2022 BigRon55 talk contribs created page Quotation mark (Created page with "A '''quotation mark''' delimits the start and end of a literal STRING value. ''Usage:'' string_value$ = "This is a text STRING." * The quotation mark must delimit the ends of a string or text prompt in a PRINT, WRITE, INPUT or LINE INPUT statement. * The IDE may add a missing quotation mark at the end of a statement or function. * LINE INPUT allows quotation marks to be entered as user input. The LINE INPUT (file sta...")
  • 16:43, 20 April 2022 BigRon55 talk contribs created page LINE INPUT (Created page with "The LINE INPUT statement requests a STRING keyboard entry from a program user. {{PageSyntax}} : LINE INPUT [;] "[text prompt or question]"{,|;} {{Parameter|stringVariable$}} : LINE INPUT ; {{Parameter|stringVariable$}} {{Parameters}} * A semicolon immediately after LINE INPUT stops the cursor after the entry and prevents screen roll on the lowest two screen rows. * ''text prompt or question'' is optional, but quotes are necessary unless just a sem...")
  • 16:38, 20 April 2022 BigRon55 talk contribs created page LET (Created page with "The LET is a useless statement designed by cavemen when they started programming. {{PageSyntax}} : '''[LET]''' {{Parameter|variable}} = {{Parameter|expression}} {{PageDescription}} * {{InlineCode}}LET a = 12{{InlineCodeEnd}} is the same as {{InlineCode}}a = 12{{InlineCodeEnd}}, but wastes 4 extra bytes of program space. ''Notes:'' LET is '''optional''', it's the only keyword where the '''entire keyword''' is optional :-) {{PageSeeAlso}} * Cavemen * [...")
  • 16:37, 20 April 2022 BigRon55 talk contribs created page LEN (Created page with "The LEN function returns the number of bytes used by a variable value and the number of characters in a STRING. {{PageSyntax}} : {{Parameter|length%}} = LEN({{Parameter|literalTextOrVariable}}) * Literal or variable STRING values return the number of string bytes which is the same as the number of string characters. * A numerical ''variable'' will return the number of bytes used by a numerical variable type. ** _BYTE variable types return 1 byte....")
  • 16:37, 20 April 2022 BigRon55 talk contribs created page LEFT$ (Created page with "The LEFT$ string function returns a number of characters from the left of a STRING. {{PageSyntax}} : LEFT$({{Parameter|stringValue$}}, {{Parameter|numberOfCharacters%}}) {{Parameters}} * {{Parameter|stringValue$}} can be any STRING literal or variable. * {{Parameter|numberOfCharacters%}} INTEGER determines the number of characters to return from left of string. {{PageDescription}} * If the number of characters exceeds the string length the entir...")
  • 16:35, 20 April 2022 BigRon55 talk contribs created page FIX (Created page with "The FIX function rounds a numerical value to the next whole number closest to zero. {{PageSyntax}} : {{Parameter|result}} = FIX({{Parameter|expression}}) {{Parameters}} * {{Parameter|expression}} is any type of literal or variable numerical value or mathematical calculation. {{PageDescription}} * FIX effectively truncates (removes) the fractional part of {{Parameter|expression}}, returning the integer part. ** This means that FIX roun...")
  • 16:33, 20 April 2022 BigRon55 talk contribs created page MKSMBF$ (Created page with "The MKSMBF$ function encodes a single-precision IEEE number to a string value in the Microsoft Binary format. {{PageSyntax}} : {{Parameter|result$}} = MKSMBF$({{Parameter|singlePrecisionVariableOrLiteral!}}) {{PageDescription}} * Encodes SINGLE values to string values in Microsoft Binary format. * The resulting string value can be decoded using CVSMBF. {{PageSeeAlso}} * MKDMBF$ * CVDMBF, CVSMBF {{PageNavigation}}")
  • 16:32, 20 April 2022 BigRon55 talk contribs created page MKS$ (Created page with "The MKS$ function encodes a SINGLE numerical value into a 4-byte ASCII STRING value. {{PageSyntax}} : {{Parameter|result$}} = MKS$({{Parameter|singlePrecisionVariableOrLiteral#}}) {{PageDescription}} * {{Parameter|singlePrecisionVariableOrLiteral#}} is converted to four ASCII characters. To see this in action, try {{InlineCode}}PRINT MKS$(1345678){{InlineCodeEnd}}. * SINGLE values can range up to 7 decimal point digits. Decimal point accuracy...")
  • 16:32, 20 April 2022 BigRon55 talk contribs created page MKL$ (Created page with "The MKL$ function encodes a LONG numerical value into a 4-byte ASCII STRING value. {{PageSyntax}} : {{Parameter|result$}} = MKL$({{Parameter|longVariableOrLiteral&}}) {{PageDescription}} * {{Parameter|longVariableOrLiteral&}} is converted to four ASCII characters. To see this in action, try {{InlineCode}}PRINT MKL$(12345678){{InlineCodeEnd}}. * The numerical data usually takes up less bytes than printing the LONG number to a file. * LONG i...")
  • 16:31, 20 April 2022 BigRon55 talk contribs created page MKI$ (Created page with "The MKI$ function encodes an INTEGER numerical value into a 2-byte ASCII STRING value. {{PageSyntax}} : {{Parameter|result$}} = MKI$({{Parameter|integerVariableOrLiteral%}}) {{PageDescription}} * {{Parameter|integerVariableOrLiteral%}} is converted to two ASCII characters. * INTEGER values can range from -32768 to 32767. * MKI$ string values can be converted back to numerical INTEGER values using CVI. * The function takes up less byte spac...")
  • 16:30, 20 April 2022 BigRon55 talk contribs created page MKDMBF$ (Created page with "The MKDMBF$ function encodes a double-precision IEEE number to a string value in the Microsoft Binary format. {{PageSyntax}} : {{Parameter|result$}} = MKDMBF$({{Parameter|doublePrecisionVariableOrLiteral#}}) {{PageDescription}} * Encodes DOUBLE values to string values in Microsoft Binary format. * The resulting string value can be decoded using CVDMBF. {{PageSeeAlso}} * MKSMBF$ * CVDMBF, CVSMBF {{PageNavigation}}")
  • 16:30, 20 April 2022 BigRon55 talk contribs created page MKD$ (Created page with "The MKD$ function encodes a DOUBLE numerical value into an 8-byte ASCII STRING value. {{PageSyntax}} : {{Parameter|result$}} = MKD$({{Parameter|doublePrecisionVariableOrLiteral#}}) {{PageDescription}} * {{Parameter|doublePrecisionVariableOrLiteral#}} is converted to eight ASCII characters. To see this in action, try {{InlineCode}}PRINT MKD$(12345678){{InlineCodeEnd}}. * DOUBLE values can range up to 15 decimal point digits. Decimal point accur...")
  • 16:28, 20 April 2022 BigRon55 talk contribs created page OUT (Created page with "OUT writes values to register and port hardware addresses. {{PageSyntax}} : OUT {{Parameter|registerAddress%}}, {{Parameter|value%}} {{Parameters}} * {{Parameter|registerAddress%}} is a value expressed as a decimal INTEGER or hexadecimal. * The INTEGER {{Parameter|value%}} sent is normally only 0 to 255 per byte register (8 bit) address. {{PageDescription}} * '''QB64 has limited access to registers. VGA memory and registers are emulated.''' *...")
  • 16:28, 20 April 2022 BigRon55 talk contribs created page OR (boolean) (Created page with "The '''OR''' conditional operator evaluates an expression to true (-1) if any of the arguments is also true. {{PageSyntax}} : IF {{Parameter|expression1}} '''OR''' {{Parameter|expression2}} THEN {code} {{PageDescription}} * OR adds an alternative to another conditional evaluation. If either element in the evaluation is true then the evaluation is true. * Parenthesis may be used to clarify the order of comparisons in an evaluation. * Not to be confused with the ...")
  • 16:27, 20 April 2022 BigRon55 talk contribs created page OPTION BASE (Created page with "The OPTION BASE statement is used to set the default lower bound of arrays. {{PageSyntax}} : OPTION BASE {0|1} {{PageDescription}} * This statement affects array declarations where the lower bound of a dimension is not specified. * When used, OPTION BASE must come before any array declarations (DIM) to be affected. * By default, the lower bound for arrays is zero, and may be changed to one using the statement. * Otherwise, arrays will be dimensioned f...")
  • 16:26, 20 April 2022 BigRon55 talk contribs created page OCT$ (Created page with "The OCT$ function returns the base-8 octal representation of an INTEGER, LONG or _INTEGER64 value as a STRING. {{PageSyntax}} : {{Parameter|result$}} = OCT$({{Parameter|number}}) {{PageDescription}} * The OCT$ function returns the octal (base-8) representation of {{Parameter|number}}. * {{Parameter|number}} can be any integer value. * No leading space is returned. * VAL can convert octal string values to decimal when the "&O" prefix is...")
  • 16:25, 20 April 2022 BigRon55 talk contribs created page ON STRIG(n) (Created page with "The ON STRIG(n) statement is an event procedure that directs program flow upon the press of a specified joystick button. {{PageSyntax}} : '''ON STRIG'''({{Parameter|buttonFunction}}) GOSUB {{{Parameter|lineNumber}}|{{Parameter|lineLabel}}} : '''ON STRIG'''({{Parameter|buttonFunction}}[, {{Parameter|joystickNumber}}]) {GOSUB {{{Parameter|lineNumber}}|{{Parameter|lineLabel}}} | SUBprocedure} * In '''QB64''' the value can be any button function number w...")
  • 16:20, 20 April 2022 BigRon55 talk contribs created page ON...GOTO (Created page with "ON...GOTO is a control-flow statement that branches to a line or label in a list depending on a numerical expression. {{PageSyntax}} : '''ON''' {{Parameter|numericalExpression}} GOTO {{Parameter|labelOrNumber}}[,{{Parameter|labelOrNumber}}][,...] {{PageDescription}} * {{Parameter|numericalExpression}} represents the ''line'' or ''label'' that the program should branch to: 1 branches to the first line or label in the list, 2 branches to the second, etc. * The...")
  • 16:20, 20 April 2022 BigRon55 talk contribs created page ON...GOSUB (Created page with "ON...GOSUB is a control-flow statement that branches to a line or label in a list depending on a numerical expression. {{PageSyntax}} : '''ON''' {{Parameter|numericalExpression}} GOSUB {{Parameter|labelOrNumber}}[,{{Parameter|labelOrNumber}}][,...] {{PageDescription}} * {{Parameter|numericalExpression}} represents the ''line'' or ''label'' that the program should branch to: 1 branches to the first line or label in the list, 2 branches to the second, etc. * Th...")
  • 16:18, 20 April 2022 BigRon55 talk contribs created page KEY (Created page with "The KEY n statement is used to assign a "soft key" string or a flag and scan code to a function key or display function soft key assignments. {{PageSyntax}} : '''KEY ''n%'', ''textString$''''' : '''KEY ''n%'', CHR$(''keyFlag%'') + CHR$(''scanCode'')''' ==Function Soft Key Strings (1 to 10, 30 & 31)== <center>'''Assigning "Softkey" STRING values to function key press events'''</center> * n% is the number 1 to 10 (F1 to F10), 30 or 31 (F11 or F12) of the f...")
  • 16:17, 20 April 2022 BigRon55 talk contribs created page STOP (Created page with "The '''STOP''' statement is used to stop program execution when troubleshooting a program or to suspend event trapping. {{PageSyntax}} :: STOP * STOP used in the Qbasic IDE does not close any files or go to the operating system. It returns to the IDE. * In the QB64 compiler, STOP closes the program window and returns to the IDE when the code is compiled from there. * STOP is ONLY used for debugging purposes and should not be used to exit programs! * STOP can also be...")
  • 16:17, 20 April 2022 BigRon55 talk contribs created page ON (Created page with "ON creates event procedure calls or enables event trapping. * Set the sub-procedure call for KEY(n), COM(n), PEN, PLAY, STRIG(n), TIMER, UEVENT * To turn on event trapping for ON COM (n), ON KEY (n), ON PEN, ON PLAY (n), ON STRIG (n), ON TIMER (n) and ON UEVENT. * In the case of ON ERROR the trap is also enabled until a subsequent ON ERROR statement. * ON procedures should be used only in the mai...")
  • 16:16, 20 April 2022 BigRon55 talk contribs created page OFF (Created page with "OFF is a flag that disables event-trappping for KEY(n), COM(n), PEN, PLAY, STRIG(n), TIMER, UEVENT. {{PageDescription}} * OFF can be used to turn off the display of soft-key assignments at the bottom of the screen using KEY. * OFF can also be used to disable an event-trapping in the following statements: KEY(n), COM(n), PEN, PLAY, STRIG(n), TIMER, UEVENT. The trap can be turne...")
  • 16:09, 20 April 2022 BigRon55 talk contribs created page PRINT (file statement) (Created page with "The PRINT # statement prints numeric or string expressions to a sequential file, IO port or device. {{PageSyntax}} ::: '''PRINT #''fileNumber&''''', [ [{{Parameter|expression}}] [{;|,] ... ] {{Parameters}} * {{Parameter|fileNumber&}} is the file number of a file or device opened for writing. See {{KW|OPEN}}. * {{Parameter|expression}} is a numeric or string expression to be written to the file. Quotes will be removed from strings. * The pri...")
  • 16:03, 20 April 2022 BigRon55 talk contribs created page WRITE (file statement) (Created page with "The WRITE # file statement writes a list of comma separated variable values to a sequential file or port. {{PageSyntax}} :{{KW|WRITE (file statement)|WRITE #}}{{Parameter|filenumber&}}[, {{Parameter|expressionList}}] {{PageDescription}} * {{Parameter|filenumber&}} is the number of the file or device {{KW|OPEN}}ed in the {{KW|OUTPUT}} or {{KW|APPEND}} modes. See: {{KW|FREEFILE}}. * {{Parameter|expressionList}} is a comma-separated list of va...")
  • 16:01, 20 April 2022 BigRon55 talk contribs created page END FUNCTION (Created page with "The '''END FUNCTION''' statement ends a FUNCTION procedure and must be at the last line. {{PageSyntax}} :: END FUNCTION * Ends a function procedure. ''See also:'' * FUNCTION * SUB {{PageNavigation}}")
  • 16:00, 20 April 2022 BigRon55 talk contribs created page STR$ (Created page with "The '''STR$''' function returns the STRING representation of a numerical value. {{PageSyntax}} :: result$ = '''STR$('''{{Parameter|number}}''')''' {{Parameters}} * {{Parameter|number}} is any numerical type value to convert. {{PageDescription}} * Returns any type number value with leading sign(space/minus) or decimal point when one exists in the numerical value. * If {{Parameter|number}} is positive, the STRING value returned will have a leading space chara...")
  • 15:59, 20 April 2022 BigRon55 talk contribs created page LTRIM$ (Created page with "The LTRIM$ function removes leading space characters from a STRING value. {{PageSyntax}} :{{Parameter|return$}} = LTRIM$({{Parameter|text$}}) {{PageDescription}} * {{Parameter|text$}} is the STRING value to trim. * If {{Parameter|text$}} contains no leading space characters, it is returned unchanged. * Convert fixed length STRING values by using a different {{parameter|return$}} variable. * Can be used to trim the leading space of a positive numer...")
  • 15:58, 20 April 2022 BigRon55 talk contribs created page SHELL (function) (Created page with "The '''SHELL''' function displays the console and returns the INTEGER code value sent when the external program exits. {{PageSyntax}} ::: return_code = '''SHELL(''DOScommand$'')''' {{Parameters}} * The literal or variable STRING ''command'' parameter can be any valid external command or call to another program. ''Usage:'' * A SHELL to a QB64 EXE program with an exit return code parameter after END or SYSTEM will return that code value. * The return_...")
  • 15:58, 20 April 2022 BigRon55 talk contribs created page SYSTEM (Created page with "The {{KW|SYSTEM}} statement immediately closes a program and returns control to the operating system. {{PageSyntax}} :'''SYSTEM''' [return_code%] {{Parameters}} * QB64 allows a ''code'' number to be used after SYSTEM to be read in another program module by the SHELL or _SHELLHIDE functions. ''Usage:'' * This command should be used to close a program quickly instead of pausing with END or nothing at all. * A code can be added after the statement to send...")
  • 15:57, 20 April 2022 BigRon55 talk contribs created page Unicode (Created page with "{| border="1" cellspacing="0" frame="box" width="100%" style="text-align: center; font-family: monospace;" |- | width="4%" | ! width="6%" | .0 || width="6%" | .1 ! width="6%" | .2 || width="6%" | .3 ! width="6%" | .4 || width="6%" | .5 ! width="6%" | .6 || width="6%" | .7 ! width="6%" | .8 || width="6%" | .9 ! width="6%" | .A || width="6%" | .B ! width="6%" | .C || width="6%" | .D ! width="6%" | .E || width="6%" | .F |- ! <br />0.<br />  |<span style="font-size...")
  • 15:55, 20 April 2022 BigRon55 talk contribs created page ON TIMER(n) (Created page with "The ON TIMER statement sets up a timed event to be repeated at specified intervals throughout a program when enabled. {{PageSyntax}} : '''ON TIMER'''({{Parameter|seconds%}}) GOSUB {{{Parameter|lineLabel}}|{{Parameter|lineNumber}}} : '''ON TIMER'''([{{Parameter|number%}},] {{Parameter|seconds!}}) { SUBprocedure | GOSUB {{{Parameter|lineLabel}}|{{Parameter|lineNumber}}} } {{PageDescription}} ===Legacy syntax=== * In the first syntax, the ...")
  • 15:10, 20 April 2022 BigRon55 talk contribs created page LOCK (Created page with "The LOCK statement restricts access to parts of a file by other programs or processes. {{PageSyntax}} :LOCK [#]{{Parameter|fileNumber%}} :LOCK [#]{{Parameter|fileNumber%}}, {{Parameter|record&}} :LOCK [#]{{Parameter|fileNumber%}}, [{{Parameter|firstRecord&}}] TO {{Parameter|lastRecord&}} {{PageDescription}} * {{Parameter|fileNumber%}} is the file number of the file to lock. * In the first syntax, the entire file is locked. * In the second syntax, {{Pa...")
  • 15:09, 20 April 2022 BigRon55 talk contribs created page PLAY (Created page with "'''PLAY''' is a statement that plays notes of sound through the sound card in QB64 using a command STRING. {{PageSyntax}} ::: '''PLAY ''commandstring$''''' {{Parameters}} * The ''commandstring'' can be any literal or variable STRING consisting of the following uppercase or lowercase commands: :*'''O'''n - Sets the current octave (from 0 to 6). Example: '''{{text|PLAY "O3"|green}}''' :*'''<''' - Down one octave (cannot be below zero). Example: '''{{text|PLAY "...")
  • 15:06, 20 April 2022 BigRon55 talk contribs created page Windows Printer Settings (Created page with "There are some '''Windows command line statements''' that allow one to ''(i)'' identify the current Windows default printer (as well as other printers associated with a PC) and ''(ii)'' change the default to a different printer. A program can use SHELL statements in QB64 to execute those operating system commands. See the following examples provided by forum member '''DonW''': ==Contents== * This code issues the command to display a PC's list of printers and rout...")
  • 15:04, 20 April 2022 BigRon55 talk contribs created page 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:04, 20 April 2022 BigRon55 talk contribs created page 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:53, 20 April 2022 BigRon55 talk contribs created page 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:46, 20 April 2022 BigRon55 talk contribs created page 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:45, 20 April 2022 BigRon55 talk contribs created page 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...")
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)