User contributions for SMcNeill

Jump to navigation Jump to search
Search for contributionsExpandCollapse
⧼contribs-top⧽
⧼contribs-date⧽
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)

20 April 2022

  • 14:4614:46, 20 April 2022 diff hist +2,705 N 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:4614:46, 20 April 2022 diff hist +1,234 N EXPCreated 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:4614:46, 20 April 2022 diff hist +472 N EQVCreated 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:4514:45, 20 April 2022 diff hist +823 N EOFCreated 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:4514:45, 20 April 2022 diff hist +6,767 N 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:4514:45, 20 April 2022 diff hist +754 N ENVIRONCreated 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..." current
  • 14:4414:44, 20 April 2022 diff hist +1,857 N ENDCreated 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:4414:44, 20 April 2022 diff hist +5,749 N DO...LOOPCreated 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:4314:43, 20 April 2022 diff hist +2,376 N DEFSTRCreated 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:4314:43, 20 April 2022 diff hist +2,395 N DEFSNGCreated 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:4214:42, 20 April 2022 diff hist +2,392 N DEFLNGCreated 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:4114:41, 20 April 2022 diff hist +2,410 N DEFINTCreated 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:4114:41, 20 April 2022 diff hist +2,356 N DEFDBLCreated 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..."
  • 14:4114:41, 20 April 2022 diff hist +2,729 N DEF SEGCreated page with "DEF SEG is used to define the area in memory to access QB64's emulated conventional memory. ==Legacy support== * '''QB64 implements memory access using _MEM and related functions. For that reason, DEF SEG isn't recommended practice anymore and is supported to maintain compatibility with legacy code.''' {{PageSyntax}} : DEF SEG [=][{segment|VARSEG(variable}] {{PageDescription}} * Used to set the pointer to a memory area of a variable/array or registe..."
  • 14:4014:40, 20 April 2022 diff hist +2,339 N DATE$Created page with "The DATE$ function returns the current computer date as a string in the format "mm-dd-yyyy". {{PageSyntax}} : {{Parameter|today$}} = DATE$ {{PageDescription}} * Returns the current computer date in the format "mm-dd-yyyy" (e.g., "12-25-2009"). {{PageExamples}} ''Example:'' Displaying the weekday and current date. {{CodeStart}} '' '' {{Cl|PRINT}} {{Cl|DATE$}} month$ = {{Cl|LEFT$}}({{Cl|DATE$}}, 2): M = {{Cl|VAL}}(month$) day$ = {{Cl|MID$}}({{Cl|DATE$}}, 4,..."
  • 14:4014:40, 20 April 2022 diff hist +1,543 N CVSMBFCreated page with "The CVDMBF function decodes a 4-byte STRING generated by MKSMBF$ (or read from a file) to SINGLE numeric values. {{PageSyntax}} : {{Parameter|result!}} = CVSMBF({{Parameter|stringData$}}) {{PageDescription}} * ''CV'' functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by ''MK$'' functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$). * '''QB64''' has _CV and _MK$ f..."
  • 14:3914:39, 20 April 2022 diff hist +1,514 N CVSCreated page with "The CVS function decodes a 4-byte STRING generated by MKS$ (or read from a file) to SINGLE numeric values. {{PageSyntax}} : {{Parameter|result!}} = CVS({{Parameter|stringData$}}) {{PageDescription}} * ''CV'' functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by ''MK$'' functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$). * '''QB64''' has _CV and _MK$ functions..."
  • 14:3914:39, 20 April 2022 diff hist +1,941 N CVLCreated page with "The CVL function decodes a 4-byte STRING generated by MKL$ (or read from a file) to LONG numeric values. {{PageSyntax}} : {{Parameter|result&}} = CVL({{Parameter|stringData$}}) {{PageDescription}} * ''CV'' functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by ''MK$'' functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$). * '''QB64''' has _CV and _MK$ functions wh..."
  • 14:3914:39, 20 April 2022 diff hist +3,225 N CVICreated page with "The CVI function decodes a 2-byte STRING generated by MKI$ (or read from a file) to INTEGER numeric values. {{PageSyntax}} : {{Parameter|result%}} = CVI({{Parameter|stringData$}}) {{PageDescription}} * ''CV'' functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by ''MK$'' functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$). * '''QB64''' has _CV and _MK$ functions..."
  • 14:3814:38, 20 April 2022 diff hist +1,576 N CVDMBFCreated page with "The CVDMBF function decodes an 8-byte STRING generated by MKDMBF$ (or read from a file) to DOUBLE numeric values. {{PageSyntax}} : {{Parameter|result#}} = CVDMBF({{Parameter|stringData$}}) {{PageDescription}} * ''CV'' functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by ''MK$'' functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$). * '''QB64''' has _CV and _MK$..."
  • 14:3814:38, 20 April 2022 diff hist +2,048 N CVDCreated page with "The CVD function decodes an 8-byte STRING generated by MKD$ (or read from a file) to DOUBLE numeric values. {{PageSyntax}} : {{Parameter|result#}} = CVD({{Parameter|stringData$}}) {{PageDescription}} * ''CV'' functions (CVD, CVS, CVI, CVL, CVDMBF, CVSMBF) are used to convert values encoded by ''MK$'' functions (MKD$, MKS$, MKI$, MKL$, MKDMBF$, MKSMBF$). * Variables of numerical types are also encoded..."
  • 14:3814:38, 20 April 2022 diff hist +677 N CSNGCreated page with "CSNG converts a numerical value to the closest SINGLE-precision number. {{PageSyntax}} : {{Parameter|singleValue!}} = CSNG({{Parameter|expression}}) {{Parameters}} * {{Parameter|expression}} is any TYPE of literal or variable numerical value or mathematical calculation. {{PageDescription}} * Returns the closest SINGLE decimal point value. * Also used to define a value as SINGLE-precision up to 7 decimals. {{PageExamples}} {{CodeStart}} A..."
  • 14:3714:37, 20 April 2022 diff hist +3,826 N COSCreated page with "The COS function returns the horizontal component or the cosine of an angle measured in radians. {{PageSyntax}} : {{Parameter|value!}} = COS({{Parameter|radianAngle!}}) {{Parameters}} * The {{Parameter|radianAngle!}} must be measured in radians. {{PageDescription}} * To convert from degrees to radians, multiply degrees * π / 180. * COSINE is the horizontal component of a unit vector in the direction theta (θ). * COS(x) can be calculated in ei..."
  • 05:4405:44, 20 April 2022 diff hist +820 N CLNGCreated page with "The CLNG function rounds decimal point numbers up or down to the nearest LONG integer value. {{PageSyntax}} : {{Parameter|value&}} = CLNG({{Parameter|expression}}) {{Parameters}} * {{Parameter|expression}} is any TYPE of literal or variable numerical value or mathematical calculation. {{PageDescription}} * Used when integer values exceed 32767 or are less than -32768. * Values greater than .5 are rounded up; .5 or lower are rounded down. * CLNG ca..."
  • 05:2905:29, 20 April 2022 diff hist +7,983 N CIRCLECreated page with "The CIRCLE statement is used in graphic SCREEN modes to create circles, arcs or ellipses. {{PageSyntax}} : CIRCLE [{{KW|STEP}}]'''('''{{Parameter|column}}''',''' {{Parameter|row}}'''),''' {{Parameter|radius%}}''',''' [{{Parameter|drawColor%}}][, {{Parameter|startRadian!}}, {{Parameter|stopRadian!}}] [, {{Parameter|aspect!}}] {{Parameters}} * Can use STEP for relative coordinate moves from the previous graphic coordinates. * Coordina..."
  • 05:2805:28, 20 April 2022 diff hist +2,533 N CHDIRCreated page with "The CHDIR statement changes the program's location from one working directory to another by specifying a literal or variable STRING path. {{PageSyntax}} :CHDIR {{Parameter|path$}} {{PageDescription}} * {{Parameter|path$}} is the new directory path the program will work in. * {{Parameter|path$}} can be an absolute path (starting from the root folder) or relative path (starting from the current program location). * If {{Parameter|path$}} specifies a non-exi..."
  • 05:2805:28, 20 April 2022 diff hist +2,178 N CHAINCreated page with "CHAIN is used to change seamlessly from one module to another one in a program. ==Legacy support== * The multi-modular technique goes back to when QBasic and QuickBASIC had module size constraints. In QB64 CHAIN has been implemented so that that older code can still be compiled, though '''it is advisable to use single modules for a single project (not counting $INCLUDE libraries), for ease of sharing and also because the module size constraints no longer ex..."
  • 05:2705:27, 20 April 2022 diff hist +938 N CDBLCreated page with "CDBL converts a value to the closest DOUBLE-precision value. {{PageSyntax}} : {{Parameter|doubleValue#}} = CDBL({{Parameter|expression}}) {{Parameters}} * {{Parameter|expression}} is any TYPE of literal or variable numerical value or mathematical calculation. {{PageDescription}} * Rounds to the closest DOUBLE floating decimal point value. * Also can be used to define a value as DOUBLE-precision up to 15 decimals. {{PageExamples}} ''Exampl..." Tag: visualeditor-switched
  • 05:2705:27, 20 April 2022 diff hist +25 N CASE ISRedirected page to SELECT CASE current Tags: New redirect visualeditor
  • 05:2605:26, 20 April 2022 diff hist +25 N CASE ELSERedirected page to SELECT CASE current Tags: New redirect visualeditor
  • 05:2505:25, 20 April 2022 diff hist +25 N CASERedirected page to SELECT CASE current Tags: New redirect visualeditor
  • 05:2405:24, 20 April 2022 diff hist +3,024 N CALLCreated page with "CALL sends code execution to a subroutine procedure in a program. In '''QB64''' the subroutine doesn't need to be declared. {{PageSyntax}} : CALL {{Parameter|ProcedureName}} ({{Parameter|parameter1}}, {{Parameter|parameter2}},...)] ===Alternative syntax=== : {{Parameter|ProcedureName}} {{Parameter|parameter1}}, {{Parameter|parameter2}},...] * CALL requires SUB program parameters to be enclosed in brackets (parenthesis). * CALL is not required to call a s..."
  • 04:3604:36, 20 April 2022 diff hist +5,950 N BYVALCreated page with "The '''DECLARE LIBRARY''' declaration allows the use of external library SUB and FUNCTION procedures supported by QB64. {{PageSyntax}} : '''DECLARE''' [DYNAMIC|CUSTOMTYPE|STATIC] '''LIBRARY''' [{''"Library_filename"''|''"Headerfile"''}] : {SUB|FUNCTION} [''procedure_name'' {{KW|ALIAS}}] ''library_procedure'' ([{{KW|BYVAL}}] ''parameter {{KW|AS}}'', ...) ::. ::. 'other SUBs or Functions as required ::. : '''END DECLARE''' {{Parameters}} * The {{Paramet..."
  • 04:3504:35, 20 April 2022 diff hist +5,589 N BSAVECreated page with "BSAVE saves the contents of an image array to a BINARY file. ==Legacy support== * '''QB64 can save larger arrays directly to binary files using PUT # and GET # without BSAVE. For that reason, BSAVE isn't recommended practice anymore and is supported to maintain compatibility with legacy code. {{PageSyntax}} : BSAVE {{Parameter|saveFile$}}, VARPTR({{Parameter|array(index)}}), {{Parameter|fileSize&}} {{Parameters}} * {{Parameter|saveFile$}} is..."
  • 04:3504:35, 20 April 2022 diff hist +2,668 N BLOADCreated page with "BLOAD loads a binary graphics file created by BSAVE to an array. ==Legacy support== * '''QB64 can load larger arrays directly from binary files using PUT # and GET # without BLOAD. For that reason, BLOAD isn't recommended practice anymore and is supported to maintain compatibility with legacy code.''' {{PageSyntax}} : BLOAD {{Parameter|fileName$}}, VARPTR({{Parameter|imageArray%({{Parameter|index}})}}) {{Parameters}} * {{Parameter|fileName$}..."
  • 04:3504:35, 20 April 2022 diff hist +855 N BEEPCreated page with "The BEEP statement produces a beep sound through the sound card. {{PageSyntax}} : BEEP {{PageDescription}} * BEEP can be placed anywhere to alert the user that there is something to do or an error has occurred. * '''QB64''' produces the actual "beep" sound through the PC's sound card, to emulate QBasic's beeping through the [https://en.wikipedia.org/wiki/PC_speaker PC speaker]. ==QBasic/QuickBASIC== * Older programs may attempt to produce a BEEP by prin..."
  • 04:3304:33, 20 April 2022 diff hist +3,021 N ATNCreated page with "The ATN or arctangent function returns the angle in radians of a numerical tangent value. {{PageSyntax}} : {{Parameter|radianAngle}} = ATN({{Parameter|tangent!}}) {{Parameters}} * The return is the {{Parameter|tangent!}}'s angle in '''radians'''. * {{Parameter|tangent!}} SINGLE or DOUBLE values are used by the function. EX:'''{{text|Pi <nowiki>=</nowiki> 4 * ATN(1)|green}}''' {{PageDescription}} * To convert from radians to degrees, multiply..."
  • 04:3204:32, 20 April 2022 diff hist +10,800 N ASCCreated page with "The ASC function returns the ASCII code number of a certain STRING text character or a keyboard press. {{PageSyntax}} : {{Parameter|code%}} = ASC({{Parameter|text$}}[, {{Parameter|position%}}]) * {{Parameter|text$}} string character parameter must have a length of at least 1 byte or an error occurs. * '''In QB64''' the optional byte {{Parameter|position%}} INTEGER parameter greater than 0 can specify the ASCII code of any character in..."
  • 04:3204:32, 20 April 2022 diff hist +9,782 N APPENDCreated 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..."
  • 04:3104:31, 20 April 2022 diff hist +1,943 N AND (boolean)Created page with "The AND conditonal operator is used to include another evaluation in an IF...THEN or Boolean statement. {{PageSyntax}} : IF {{Parameter|condition}} AND {{Parameter|condition2}} {{PageDescription}} * If {{Parameter|condition}} AND {{Parameter|condition2}} are true then the evaluation returns true (-1). * {{Parameter|condition}} and {{Parameter|condition2}} can also contain their own AND evaluations. * Both..."
  • 04:3104:31, 20 April 2022 diff hist +2,537 N ANDCreated page with "The logical AND numerical operator compares two values in respect of their bits. If both bits at a certain position in both values are set, then that bit position is set in the result. {{PageSyntax}} :{{Parameter|result}} = {{Parameter|firstvalue}} AND {{Parameter|secondvalue}} {{PageDescription}} * AND compares the bits of the {{Parameter|firstvalue}} against the bits of the {{Parameter|secondvalue}}, the result is stored in the {{Parameter|result}} variable..." Tag: visualeditor-switched
  • 04:2904:29, 20 April 2022 diff hist +29 N ALIASRedirected page to DECLARE LIBRARY Tags: New redirect visualeditor
  • 04:2604:26, 20 April 2022 diff hist +1,074 N CALL ABSOLUTECreated page with "CALL ABSOLUTE is used to access interrupts on the computer or execute assembly type procedures. {{PageSyntax}} : CALL ABSOLUTE([{{Parameter|argumentList}},] {{Parameter|integerOffset}}) ==Legacy support== * CALL ABSOLUTE is implemented to support older code and is not recommended practice. To handle mouse input, the '''use _MOUSEINPUT and related functions'''. {{PageDescription}} * CALL and parameter brackets are required in the statement. * {{P..."
  • 04:2504:25, 20 April 2022 diff hist +973 N ABSCreated page with "The ABS function returns the unsigned numerical value of a variable or literal value. {{PageSyntax}} :{{Parameter|positive}} = ABS({{Parameter|numericalValue}}) {{PageDescription}} * ABS always returns positive numerical values. The value can be any numerical type. * Often used to keep a value positive when necessary in a program. * Use SGN to determine a value's sign when necessary. * '''QB64''' allows programs to return only positive _UNSIGNED..."

19 April 2022

  • 20:4820:48, 19 April 2022 diff hist +1,381 N WINDOWHASFOCUSCreated page with "{{DISPLAYTITLE:_WINDOWHASFOCUS}} The _WINDOWHASFOCUS function returns true (-1) if the current program's window has focus. Windows-only. {{PageSyntax}} : {{Parameter|hasFocus%%}} = _WINDOWHASFOCUS {{PageDescription}} * The function returns true (-1) if the current program is the topmost window on the user's desktop and has focus. If the current program is running behind another window, the function returns false (0). * Keywords_currently_not_supported_by_QB..."
  • 20:4820:48, 19 April 2022 diff hist +4,760 N WINDOWHANDLECreated page with "{{DISPLAYTITLE:_WINDOWHANDLE}} The _WINDOWHANDLE function returns the window handle assigned to the current program by the OS. Windows-only. {{PageSyntax}} : {{Parameter|hwnd&&}} = _WINDOWHANDLE {{PageDescription}} * The result is an _INTEGER64 number assigned by Windows to your running program. * Use it to make API calls that require a window handle to be passed. * Keywords_currently_not_supported_by_QB64#Keywords_Not_Supported_in..."
  • 20:4820:48, 19 April 2022 diff hist +2,562 N WIDTH (function)Created page with "{{DISPLAYTITLE:_WIDTH (function)}} The _WIDTH function returns the width of an image handle or of the current write page. {{PageSyntax}} : {{Parameter|columns&}} = _WIDTH[({{Parameter|imageHandle&}})] {{PageDescription}} * If {{Parameter|imageHandle&}} is omitted, it's assumed to be the handle of the current SCREEN or write page. * To get the width of the current program screen window use zero for the handle..."
  • 20:4720:47, 19 April 2022 diff hist +3,132 N WHEELCreated page with "{{DISPLAYTITLE:_WHEEL}} The _WHEEL function returns the relative position of a specified wheel number on a controller device. {{PageSyntax}} : {{Parameter|move}} = _WHEEL({{Parameter|wheelNumber%}}) * Returns -1 when scrolling up and 1 when scrolling down with 0 indicating no movement since last read. * Add consecutive wheel values to determine a cumulative value over time for scrolling or moving objects. * {{Parameter|wheelNumber%}} must be a number which do..."
  • 20:4720:47, 19 April 2022 diff hist +1,477 N $VERSIONINFOCreated page with "{{DISPLAYTITLE:$VERSIONINFO}} The $VERSIONINFO metacommand adds text metadata to the resulting executable for identification purposes across the OS. Windows-only. {{PageSyntax}} : $VERSIONINFO:{{Parameter|key}}={{Parameter|value}} {{Parameters}} * Text ''keys'' can be: '''CompanyName, FileDescription, InternalName, LegalCopyright, LegalTrademarks, OriginalFilename, ProductName, Web, Comments''' * Numeric {{Parameter|keys}} can be:'''FILEVERS..."
  • 20:4620:46, 19 April 2022 diff hist +1,157 N TRIM$Created page with "{{DISPLAYTITLE:_TRIM$}} The _TRIM$ function removes both leading and trailing space characters from a STRING value. {{PageSyntax}} :{{Parameter|return$}} = _TRIM$({{Parameter|text$}}) {{PageDescription}} * Shorthand to using LTRIM$(RTRIM$("text")) * {{Parameter|text$}} is the STRING value to trim. * If {{Parameter|text$}} contains no leading or trailing space characters, it is returned unchanged. * Convert fixed length STRING values by usi..."
(newest | oldest) View ( | ) (20 | 50 | 100 | 250 | 500)