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).
- 15:03, 20 April 2022 SMcNeill talk contribs created page OR (Created page with "The OR numerical operator returns a comparative bit value of 1 if either value's bit is on. {{PageSyntax}} : {{Parameter|result}} = firstValue OR secondValue {{PageDescription}} * If both bits are off, it returns 0. * If one or both bits are on then it returns 1. * OR never turns off a bit and can be used only to turn a bit on. {{Template:LogicalTruthTable}} {{PageExamples}} ''Example 1:'' OR always turns bits on! Never off. {{CodeStart}} '' '' a% =...")
- 15:03, 20 April 2022 SMcNeill talk contribs created page NOT (Created page with "NOT is a boolean logical operator that will change a false statement to a true one and vice-versa. {{PageSyntax}} : ''True'' = -1: ''False'' = NOT True {{PageDescription}} * In QBasic, True = -1 and False = 0 in boolean logic and evaluation statements. * NOT evaluates a value and returns the bitwise opposite, meaning that {{InlineCode}}NOT 0 = -1{{InlineCodeEnd}}. * Often called a negative logic operator, it returns the opposite of a value as...")
- 15:03, 20 April 2022 SMcNeill talk contribs created page NAME (Created page with "The NAME statement changes the name of a file or directory to a new name. {{PageSyntax}} : NAME {{Parameter|oldFileOrFolderName$}} '''AS''' {{Parameter|newFileOrFolderName$}} {{PageDescription}} * {{Parameter|oldFileOrFolderName$}} and {{Parameter|newFileOrFolderName$}} are variables or literal STRINGs in quotes. Paths can be included. * If the two paths are different, the statement moves the original file to the new path and renames it. * If the path is...")
- 15:00, 20 April 2022 SMcNeill talk contribs created page Segment (Created page with "The memory '''segment''' is the hexadecimal byte address in relation to a segment register. The value in a Segment register is multiplied by 16 or shifted one hexadecimal byte to the left(this adds an extra 0 to the end of the hex number). The value in the Offset register is added to it. So, the Absolute address for any combination of Segment and Offset is found using the formula: :::AbsoluteMemoryAddress = (Segment value * 16) + Offset value ''Example:'' {{WhiteS...")
- 14:59, 20 April 2022 SMcNeill talk contribs created page SCREEN (Created page with "{| align="Right" | __TOC__ |} The SCREEN statement sets the video display mode and size of the program window's workspace. {{PageSyntax}} ::: '''SCREEN''' {''mode%''|''imagehandle&''} [, , active_page, visual_page] {{Parameters}} * The SCREEN ''mode'' INTEGER values available today are 0 to 2 and 7 to 13 listed below. * '''QB64''' can use a LONG _NEWIMAGE page or _LOADIMAGE file ''image handle'' value instead. * The empty comma disables c...")
- 14:58, 20 April 2022 SMcNeill talk contribs created page PEEK (Created page with "The '''PEEK''' function returns the value that is contained at a certain memory address offset. '''QB64 currently has limited access!''' {{PageSyntax}} :: variable = PEEK(''segment_offset'') * Reads the specified memory ''segment_offset'' value. * Use DEF SEG before PEEK to specify which memory segment to work in. * PEEK only reads the memory byte value. Not certain bits. (See AND) * Important SCREEN segments using PEEK and [[POKE]...")
- 14:58, 20 April 2022 SMcNeill talk contribs created page POKE (Created page with "The '''POKE''' statement sets the value of a specified memory address offset. '''QB64 currently has limited access!''' {{PageSyntax}} :: POKE ''segment_offset'', ''offset_value'' * Writes a value to the ''segment_offset'' address in memory. * POKE can only be used to set a value from 0 to 255 (one byte). * A segment should be defined using DEF SEG, if you don't define a segment qbasics ordinary segment will be used. * POKE sends byte values to memory areas. It d...")
- 14:58, 20 April 2022 SMcNeill talk contribs created page VARSEG (Created page with "The '''VARSEG''' function returns an INTEGER value that is the segment part of a variable or array memory address. {{PageSyntax}} :: DEF SEG = VARSEG(variable_name[(start_index)]) * If variablename is not defined before VARPTR or VARSEG is called, the variable is created and its address is returned. * The start index is the lowest index of an array variable when used. * When a string variable, VARSEG returns the segment location address of the first by...")
- 14:57, 20 April 2022 SMcNeill talk contribs created page VARPTR$ (Created page with "'''VARPTR$''' is a memory function that returns a STRING representation of a variable's memory address value for use in a DRAW or PLAY statement. {{PageSyntax}} :: string_value$ = VARPTR$(''variable'') * Can use any string or numerical variable reference '''existing''' in memory. * If the parameter value is from an array it must be dimensioned already. Cannot use fixed length string arrays. * When using '''numerical''' ''variable'' values in ...")
- 14:57, 20 April 2022 SMcNeill talk contribs created page SADD (Created page with "The '''SADD''' function returns the address of a STRING variable as an offset from the current data segment. {{PageSyntax}} :: SADD(stringvariable) * The argument may be a simple string variable or a single element of a string array. You may not use fixed-length strings. * Use this function carefully because strings can move in the BASIC string space storage area at any time. * Adding characters may produce a run-time error. Don't add characters to the ends of pa...")
- 14:57, 20 April 2022 SMcNeill talk contribs created page VARPTR (Created page with "The '''VARPTR''' function returns an INTEGER value that is the offset part of the variable or array memory address within it's segment. {{PageSyntax}} :: offset% = VARPTR(variable_name[(reference_index%)]) * If variablename is not defined before VARPTR or VARSEG is called, the variable is created and it's address is returned. * Reference index is used to set the offset address of an array index, not necessarily the lowest index. * When a string variable, VAR...")
- 14:57, 20 April 2022 SMcNeill talk contribs created page VAL (Created page with "The '''VAL''' Function returns the decimal numerical equivalent value of a STRING numerical value. {{PageSyntax}} :: value = VAL(string_value$) * VAL converts string numbers to numerical values including decimal point values and prefixed "&H" hexadecimal, "&O" octal. * VAL conversion stops at non-numeric characters except for letter "D" or "E" exponential notation values. :String values with "D" and "E" letters between numbers may be converted also! EX:...")
- 14:56, 20 April 2022 SMcNeill talk contribs created page UNTIL (Created page with "The '''UNTIL''' condition is used in DO...LOOP exit verifications. {{PageSyntax}} :: DO [UNTIL] evaluation :: . :: . :: . :: LOOP UNTIL evaluation * Only one conditional evaluation can be made at the start or the end of a DO...LOOP. * DO UNTIL evaluates a condition before and inside of the loop. The loop may not run at all. * LOOP UNTIL evaluates a condition inside of the loop. It has to loop once. * Skips the loop or loops until an evaluation becomes True....")
- 14:56, 20 April 2022 SMcNeill talk contribs created page UNLOCK (Created page with "The {{KW|UNLOCK}} statement opens access to parts or all of a file to other programs and network users. {{PageSyntax}} :<code>{{KW|UNLOCK}} [#]{{Parameter|fileNumber%}}</code> :<code>{{KW|UNLOCK}} [#]{{Parameter|fileNumber%}}, {{Parameter|record&}}</code> :<code>{{KW|UNLOCK}} [#]{{Parameter|fileNumber%}}, [{{Parameter|firstRecord&}}] TO {{Parameter|lastRecord&}}</code> {{PageDescription}} * {{Parameter|fileNumber%}} is the file number of the file to unlock. * In the...")
- 14:55, 20 April 2022 SMcNeill talk contribs created page UEVENT (Created page with "The '''UEVENT''' Statement uses ON, OFF or STOP to enable, turn off or suspend user event trapping. {{PageSyntax}} :::UEVENT {ON|STOP|OFF} *'''Currently NOT supported in QB64!''' * UEVENT ON enables user defined event-trapping as defined by the ON UEVENT statement. * UEVENT OFF disables the event-trapping routine. All events are ignored and are not remembered. * UEVENT STOP suspends the event-trapping routine. An...")
- 14:55, 20 April 2022 SMcNeill talk contribs created page UBOUND (Created page with "The {{KW|UBOUND}} function returns the largest valid index (upper bound) of an array dimension. {{PageSyntax}} :''result%'' = {{KW|UBOUND}}(arrayName[, dimension%]) {{PageDescription}} * {{Parameter|arrayName}} specifies the name of the array. * {{Parameter|dimension%}} specifies the dimension number, starting with <code>1</code> for the first dimension. ** If omitted, {{Parameter|dimension%}} is assumed to be <code>1</code>. ** If {{Parameter|dimension%}} is less t...")
- 14:54, 20 April 2022 SMcNeill talk contribs created page SIN (Created page with "The {{KW|SIN}} function returns the vertical component or sine of an angle measured in radians. {{PageSyntax}} ::: value! = '''SIN('''''radian_angle!''''')''' {{Parameters}} * The ''radian_angle'' must be measured in radians from 0 to 2 * Pi. {{PageDescription}} * To convert from degrees to radians, multiply degrees * π/180. * SINE is the vertical component of a unit vector in the direction theta (θ). * Accuracy can be determined as SINGLE by defau...")
- 14:54, 20 April 2022 SMcNeill talk contribs created page TIME$ (Created page with "The '''TIME$''' Function returns a STRING representation of the current computer time in a 24 hour format. {{PageSyntax}} :: PRINT "Present time = "; '''TIME$''' * Returns the present computer time in hh:mm:ss 24 hour format: "19:20:33" * Uses 2 colon (:) separators between hours, minutes and seconds * Hour values range from "00" to "23" starting from midnite. * Minutes and seconds range from "00" to "59" * Continuous TIME$ calls may lag if a QBasic program is mi...")
- 14:54, 20 April 2022 SMcNeill talk contribs created page TAN (Created page with "The TAN function returns the ratio of SINe to COSine or tangent value of an angle measured in radians. {{PageSyntax}} ::: tangent! = '''TAN('''''radian_angle!''''')''' {{Parameters}} * The ''radian_angle'' must be measured in radians. {{PageDescription}} * To convert from degrees to radians, multiply degrees * π/180. * TANGENT is the gradient or slope of the circle or arc at SIN(θ) / COS(θ). Do not use division when the COS = 0...")
- 14:53, 20 April 2022 SMcNeill talk contribs created page TAB (Created page with "The {{KW|TAB}} function is used in PRINT and LPRINT statements to move to a specified column position. {{PageSyntax}} :{{KW|TAB}}({{Parameter|column%}}) {{PageDescription}} * Space characters are printed until the print cursor reaches the designated {{Parameter|column%}}, overwriting existing characters. * If a subsequent TAB ''column%'' is less than the current position, TAB moves the next print to that column on the next row. * ASCII CHR$(9) can be...")
- 14:53, 20 April 2022 SMcNeill talk contribs created page XOR (Created page with "Bitwise operators are much like the regular mathematics operators (+, * etc.) but are defined in terms of the individual bits of their operands. The full list of bitwise operators, with a brief summary of its operation: * '''AND''': True if both inputs are true * '''OR''': True if one or both inputs are true * '''NOT''': Invert all bits * '''XOR''': True if exactly one input is true * '''IMP''': True if both inputs are the same * '''EQV''': True unless first input is tru...")
- 14:52, 20 April 2022 SMcNeill talk contribs created page LBOUND (Created page with "The LBOUND function returns the smallest valid index (lower bound) of an array dimension. {{PageSyntax}} :{{Parameter|result%}} = LBOUND({{Parameter|arrayName}}[, {{Parameter|dimension%}}]) {{PageDescription}} * {{Parameter|arrayName}} specifies the name of the array. * {{Parameter|dimension%}} specifies the dimension number, starting with <code>1</code> for the first dimension. ** If omitted, {{Parameter|dimension%}} is assumed to be <code>1</code>. ** If {{...")
- 14:52, 20 April 2022 SMcNeill talk contribs created page KILL (Created page with "The KILL statement deletes a file designated by a STRING value or variable. {{PageSyntax}} : KILL {{Parameter|fileSpec$}} * {{Parameter|fileSpec$}} is a literal or variable string path and filename. Wildcards * and ? can be used with caution. ::'''*''' denotes one or more wildcard letters of a name or extension ::'''?''' denotes one wildcard letter of a name or extension * {{Parameter|fileSpec$}} can include a path that can be either relative to the prog...")
- 14:52, 20 April 2022 SMcNeill talk contribs created page KEY LIST (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...")
- 14:52, 20 April 2022 SMcNeill talk contribs created page KEY(n) (Created page with "'''KEY(n)''' assigns, enables, disables or suspends event trapping of a keypress by setting the flag ON, STOP or OFF. {{PageSyntax}} : KEY({{Parameter|number}}) {ON | OFF | STOP} {{PageDescription}} * Predefined and user defined KEY event number assignments to use with KEY(n): {{WhiteStart}} '''1 to 10'''.............Reserved '''F1 to F10''' function keys only. '''11, 12, 13 and 14'''...Reserved '''Up, Left, Right and Down''' numeric...")
- 14:51, 20 April 2022 SMcNeill talk contribs created page KEY n (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...")
- 14:51, 20 April 2022 SMcNeill talk contribs created page INTERRUPTX (Created page with "The INTERRUPTX statement is an assembly routine for accessing computer information registers. ==Legacy support== * Registers are emulated in '''QB64''' to allow older programs to be compiled. To enable mouse input in your programs, the recommended practice is to use _MOUSEINPUT and related functions. {{PageSyntax}} : CALL INTERRUPTX({{Parameter|intNum}}, {{Parameter|inRegs}}, {{Parameter|outRegs}}) {{Parameters}} * Registers are emulated in QB64 and...")
- 14:50, 20 April 2022 SMcNeill talk contribs created page INTERRUPT (Created page with "The INTERRUPT statement is an assembly routine for accessing computer information registers. ==Legacy support== * Registers are emulated in '''QB64''' to allow older programs to be compiled. To enable mouse input in your programs, the recommended practice is to use _MOUSEINPUT and related functions. {{PageSyntax}} : CALL INTERRUPT({{Parameter|intNum}}, {{Parameter|inRegs}}, {{Parameter|outRegs}}) {{Parameters}} * Registers are emulated in QB64 and t...")
- 14:50, 20 April 2022 SMcNeill talk contribs created page INPUT$ (Created page with "The INPUT$ function is used to receive data from the user's keyboard, an open file or an open port. {{PageSyntax}} : {{Parameter|result$}} = INPUT$({{Parameter|numberOfBytes%}}[, fileOrPortNumber]) * Keyboard input is limited to the INTEGER {{Parameter|numberOfBytes%}} (characters) designated by program. * The keyboard is the default device when a file or port number is omitted. The {{Parameter|numberOfBytes%}} is number of key presses to read. * INPUT$ w...")
- 14:50, 20 April 2022 SMcNeill talk contribs created page INPUT (file statement) (Created page with "The INPUT # file or port statement reads sequential data using one variable or a comma separated list of matching variable types. {{PageSyntax}} : INPUT #{{Parameter|fileNumber&}}, {{Parameter|variable1}}[, {{Parameter|variable2}}, ..., {{Parameter|variableN}}] {{Parameters}} * {{Parameter|fileNumber&}} is a positive LONG integer value used to OPEN the file FOR INPUT mode. * The type of the ''variable'' used defines the val...")
- 14:49, 20 April 2022 SMcNeill talk contribs created page INPUT (Created page with "The INPUT statement requests a STRING or numerical keyboard entry from the user. {{PageSyntax}} : INPUT [;] "[Question or statement text]"{,|;} {{Parameter|variable}}[, ...] : INPUT ; {{Parameter|variable}}[, ...] {{Parameters}} * A semicolon after the INPUT keyword keeps the entry on the same row after enter is pressed and prevents the screen contents from rolling up. * The optional prompt "Question or statement text" must be a literal prede...")
- 14:49, 20 April 2022 SMcNeill talk contribs created page INP (Created page with "INP returns a value from a computer register or port values at a specified physical address. {{PageSyntax}} : {{Parameter|i}} = INP({{Parameter|address}}) * '''QB64 has limited access to registers. VGA memory and registers are emulated.''' * Address can be a decimal or hexadecimal INTEGER value. * INP reads directly from a register or port address. * It does not require a DEF SEG memory segment address like PEEK or POKE do. * Reads color p...")
- 14:49, 20 April 2022 SMcNeill talk contribs created page IMP (Created page with "The IMP logical operator converts the result of two comparative values and returns a bit result. {{PageSyntax}} : {{Parameter|result}} = {{Parameter|firstValue}} IMP {{Parameter|secondValue}} {{PageDescription}} * Returns a different result from AND, OR or XOR - see truth table below. * Evaluates if {{Parameter|firstValue}} '''''imp'''lies'' {{Parameter|secondValue}}. **If {{Parameter|firstValue}} is true then {{Parameter|secondValue}} must also...")
- 14:48, 20 April 2022 SMcNeill talk contribs created page FREEFILE (Created page with "The FREEFILE function returns a LONG value that is an unused file access number. {{PageSyntax}} : fileHandle& = FREEFILE {{PageDescription}} * FREEFILE values should be given to unique variables so that each file has a specific variable value assigned to it. * Once the number is assigned in an OPEN statement, the file number can later be used to read, write or CLOSE that file. * File numbers CLOSEd are made available to FREEFILE for re...")
- 14:48, 20 April 2022 SMcNeill talk contribs created page TIMER (statement) (Created page with "A '''TIMER''' statement enables, turns off or stops timer event trapping. Qbasic only uses the base timer, but '''QB64''' can run many. QB {{PageSyntax}} :::TIMER {ON|STOP|OFF} QB64 {{PageSyntax}} :::TIMER(''number%'') {ON|STOP|OFF|FREE} {{Parameters}} * ''number'' denotes a specific numbered timer event in '''QB64 only'''. QB64 can run many timer events at once including the base timer. * TIMER ON enables event trapping of an ON TIMER (n) statement. While e...")
- 14:47, 20 April 2022 SMcNeill talk contribs created page FOR (file statement) (Created page with "The OPEN statement is used to open a file or COM serial communications port for program input or output. {{PageSyntax}} : OPEN {{Parameter|fileName$}} ['''FOR''' {{Parameter|mode}}] [{{{KW|ACCESS}}|{{{KW|LOCK}}|SHARED}} [{READ|WRITE}] AS [#]{{Parameter|fileNumber&}} [LEN = {{Parameter|recordLength}}] ===Legacy ''GW-BASIC'' syntax=== : OPEN {{Parameter|modeLetter$}}, [#]{{Parameter|fileNumber&}}, {{Parameter|fileName$}}[, {{Parameter|recor...")
- 14:47, 20 April 2022 SMcNeill talk contribs created page FILES (Created page with "The FILES statement is used to print a list of files in the current directory using a file specification. {{PageSyntax}} : FILES [{{Parameter|fileSpec$}}] {{PageDescription}} * {{Parameter|fileSpec$}} is a string expression or variable containing a path when required. * {{Parameter|fileSpec$}} can use the * and ? wildcard specifications: ** '''*''' denotes one or more wildcard characters in a filename or path specification as any legal file name character(s)...")
- 14:46, 20 April 2022 SMcNeill talk contribs created page HEX$ (Created page with "The HEX$ function returns the base 16 hexadecimal representation of an INTEGER, LONG or _INTEGER64 value as a STRING. {{PageSyntax}} :{{Parameter|result$}} = HEX$({{Parameter|decimalNumber}}) {{PageDescription}} * The function returns the string hexadecimal (base-16) representation of {{Parameter|decimalNumber}}. * The function does not return a leading sign space so LTRIM$ is not necessary. <!-- Confusing hack hidden: * Can be used in pla...")
- 14:46, 20 April 2022 SMcNeill talk contribs created page EXP (Created page with "The EXP math function calculates the exponential function ('''e''' raised to the power of a {{Parameter|numericExpression}}). {{PageSyntax}} : {{Parameter|result}} = EXP({{Parameter|numericExpression}}) {{PageDescription}} * '''e''' is defined as the base of natural logarithms or as the limit of (1 + 1 / n) ^ n, as n goes to infinity. * The {{Parameter|numericExpression}} must be less than or equal to '''88.02969''' or an "overflow" error will...")
- 14:46, 20 April 2022 SMcNeill talk contribs created page EQV (Created page with "The EQV operator returns a value based on the ''equivalence'' of two conditions or values. {{PageSyntax}} : {{Parameter|result}} = {{Parameter|firstValue}} EQV {{Parameter|secondValue}} {{PageDescription}} * Returns true (-1) when both values are the same (''equivalent''). * Turns a bit on if both bits are the same, turns a bit off if both bits are different. {{Template:LogicalTruthTable}} {{PageSeeAlso}} * Binary * Boolean {{PageNavigation}}")
- 14:45, 20 April 2022 SMcNeill talk contribs created page EOF (Created page with "The EOF function indicates that the end of a file has been reached. {{PageSyntax}} : {{Parameter|endReached%%}} = EOF([#]{{Parameter|fileNumber&}}) {{PageDescription}} * {{Parameter|fileNumber&}} is the number of the file being read. '''#''' is not required. * Returns 0 until the end of a file. This avoids a file read error. * Returns -1 (true) at the end of the file. <!-- confusing statement; further details are required: * CHR$(26) can be used to denote th...")
- 14:45, 20 April 2022 SMcNeill talk contribs created page ENVIRON$ (Created page with "The ENVIRON$ function returns a STRING environmental value from '''Windows'''' environmental settings list. {{PageSyntax}} : {{Parameter|setting$}} = ENVIRON$({{{Parameter|listIndex%}}|{{Parameter|systemID$}}}) {{PageDescription}} * The function can use an INTEGER {{Parameter|listIndex%}} value or STRING {{Parameter|systemID$}} parameter. * {{Parameter|listIndex%}} refers to the number order of the environmental list. Returns are not in any parti...")
- 14:45, 20 April 2022 SMcNeill talk contribs created page ENVIRON (Created page with "The ENVIRON statement is used to temporarily set or change an environmental string value. {{PageSyntax}} : ENVIRON {{Parameter|stringExpression$}} {{PageDescription}} * The {{Parameter|stringExpression$}} must include the environmental parameter ID and the setting: ** Using an '''=''' sign: ENVIRON "parameterID=setting" ** Using a space: ENVIRON "parameterID setting" * If the parameter ID did not previously exist in the environmental string table, it...")
- 14:44, 20 April 2022 SMcNeill talk contribs created page END (Created page with "The END statement terminates a program without an immediate exit or ends a procedure or statement block. {{PageSyntax}} : END [{{Parameter|returnCode%}}] : END IF : END TYPE : END SELECT : END SUB : END FUNCTION : END DECLARE {{PageDescription}} * In '''QB64''', END can be followed by a code that can be read by another module using the _SHELL or _SHEL...")
- 14:44, 20 April 2022 SMcNeill talk contribs created page DO...LOOP (Created page with "'''DO...LOOP''' statements are used in programs to repeat code or return to the start of a procedure. {{PageSyntax}} ''Syntax 1:'' :'''DO''' [{{{KW|WHILE}}|{{KW|UNTIL}}} condition] :: ''{code}'' :: ⋮ :'''LOOP''' ''Syntax 2:'' :'''DO''' :: ''{code}'' :: ⋮ :'''LOOP''' [{{{KW|WHILE}}|{{KW|UNTIL}}} condition] {{PageDescription}} * '''DO UNTIL or DO WHILE used with LOOP''': The condition is evaluated before running the loop code. ::UNTIL checks...")
- 14:43, 20 April 2022 SMcNeill talk contribs created page DEFSTR (Created page with "The DEFSTR statement defines all variables with names starting with the specified letter (or letter range) AS STRING variables instead of the SINGLE type default. ==Legacy support== * '''DEF''' statements (DEFDBL, DEFSNG, DEFLNG, DEFINT, DEFSTR) were used when storage space was a concern in older computers, as their usage could save up typing. Instead of {{InlineCode}}'''DIM a AS STRING, a2 AS STRING, a3 AS STRING'''{{InlineCodeEnd}}, si...")
- 14:43, 20 April 2022 SMcNeill talk contribs created page DEFSNG (Created page with "The DEFSNG statement defines all variables with names starting with the specified letter (or letter range) AS SINGLE variables. ==Legacy support== * '''DEF''' statements (DEFDBL, DEFSNG, DEFLNG, DEFINT, DEFSTR) were used when storage space was a concern in older computers, as their usage could save up typing. Instead of {{InlineCode}}'''DIM a AS SINGLE, a2 AS SINGLE, a3 AS SINGLE'''{{InlineCodeEnd}}, simply having {{InlineCode}}'''DEFSNG A''...")
- 14:42, 20 April 2022 SMcNeill talk contribs created page DEFLNG (Created page with "The DEFLNG statement defines all variables with names starting with the specified letter (or letter range) AS LONG variables instead of the SINGLE type default. ==Legacy support== * '''DEF''' statements (DEFDBL, DEFSNG, DEFLNG, DEFINT, DEFSTR) were used when storage space was a concern in older computers, as their usage could save up typing. Instead of {{InlineCode}}'''DIM a AS LONG, a2 AS LONG, a3 AS LONG'''{{InlineCodeEnd}}, simply hav...")
- 14:41, 20 April 2022 SMcNeill talk contribs created page DEFINT (Created page with "The DEFINT statement defines all variables with names starting with the specified letter (or letter range) AS INTEGER variables instead of the SINGLE type default. ==Legacy support== * '''DEF''' statements (DEFDBL, DEFSNG, DEFLNG, DEFINT, DEFSTR) were used when storage space was a concern in older computers, as their usage could save up typing. Instead of {{InlineCode}}'''DIM a AS INTEGER, a2 AS INTEGER, a3 AS INTEGER'''{{InlineCodeEnd}}...")
- 14:41, 20 April 2022 SMcNeill talk contribs created page DEFDBL (Created page with "The DEFDBL statement defines all variables with names starting with the specified letter (or letter range) AS DOUBLE variables instead of the SINGLE type default. ==Legacy support== * '''DEF''' statements (DEFDBL, DEFSNG, DEFLNG, DEFINT, DEFSTR) were used when storage space was a concern in older computers, as their usage could save up typing. Instead of {{InlineCode}}'''DIM a AS DOUBLE, a2 AS DOUBLE, a3 AS DOUBLE'''{{InlineCodeEnd}}, si...")