User contributions for SMcNeill
Jump to navigation
Jump to search
19 April 2022
- 15:2515:25, 19 April 2022 diff hist +12,629 N PUTIMAGE Created page with "{{DISPLAYTITLE:_PUTIMAGE}} _PUTIMAGE puts an area of a source image to an area of a destination image in one operation, like GET and PUT. {{PageSyntax}} :_PUTIMAGE [STEP] [({{Parameter|dx1}}, {{Parameter|dy1}})-[STEP][({{Parameter|dx2}}, {{Parameter|dy2}})]][, {{Parameter|sourceHandle&}}][, {{Parameter|destHandle&}}][, ][STEP][({{Parameter|sx1}}, {{Parameter|sy1}})[-STEP][({{Parameter|sx2}}, {{Parameter..."
- 15:2515:25, 19 April 2022 diff hist +2,303 N PRINTWIDTH Created page with "{{DISPLAYTITLE:_PRINTWIDTH}}{{DISPLAYTITLE:}} The _PRINTWIDTH function returns the width in pixels of the text string specified. {{PageSyntax}} : {{Parameter|pixelWidth%}} = _PRINTWIDTH({{Parameter|textToPrint$}}[, {{Parameter|destinationHandle&}}]) {{PageDescription}} * {{Parameter|textToPrint$}} is any literal or variable STRING value. * If the {{Parameter|destinationHandle&}} is omitted, the current destination image or screen page is used...."
- 15:2415:24, 19 April 2022 diff hist +5,910 N PRINTSTRING Created page with "{{DISPLAYTITLE:_PRINTSTRING}} The _PRINTSTRING statement prints text strings using graphic column and row coordinate positions. {{PageSyntax}} : _PRINTSTRING({{Parameter|column}}, {{Parameter|row}}), {{Parameter|textExpression$}}[, {{Parameter|imageHandle&}}] {{Parameters}} * {{Parameter|column}} and {{Parameter|row}} are INTEGER or LONG starting PIXEL (graphic) column and row coordinates to set text or custom fonts. * {{Parameter|textExpr..."
- 15:2415:24, 19 April 2022 diff hist +874 N PRINTMODE (function) Created page with "{{DISPLAYTITLE:_PRINTMODE (function)}} The _PRINTMODE function returns the current _PRINTMODE status as a numerical value from 1 to 3 in graphic screen modes. {{PageSyntax}} : {{Parameter|currentPrintMode}} = _PRINTMODE[({{Parameter|imageHandle&}})] {{Parameters}} * If no {{Parameter|imageHandle&}} is given, the current destination SCREEN page or image is assumed. {{PageDescription}} * Returns a..."
- 15:2415:24, 19 April 2022 diff hist +1,649 N PRINTMODE Created page with "{{DISPLAYTITLE:_PRINTMODE}} The _PRINTMODE statement sets the text or _FONT printing mode on a background image when using PRINT or _PRINTSTRING. {{PageSyntax}} : _PRINTMODE {''_KEEPBACKGROUND''|''_ONLYBACKGROUND''|''_FILLBACKGROUND''}[, {{Parameter|imageHandle&}}] {{Parameters}} * One of 3 mode keywords is mandatory when using this statement to deal with the text background. **''_KEEPBACKGROUND'' (mode 1): Text background transparent. Only the te..."
- 15:2315:23, 19 April 2022 diff hist +7,353 N PRINTIMAGE Created page with "{{DISPLAYTITLE:_PRINTIMAGE}} The _PRINTIMAGE statement prints a colored image on the printer, stretching it to full paper size first. {{PageSyntax}} : _PRINTIMAGE {{Parameter|imageHandle&}} * {{Parameter|imageHandle&}} is created by the _LOADIMAGE, _NEWIMAGE or _COPYIMAGE functions. * Use a white background to save ink. {{InlineCode}}CLS , _RGB(255, 255, 255){{InlineCodeEnd}} can be used to set the white background in any SCREEN mode. *..."
- 15:2215:22, 19 April 2022 diff hist +2,878 N PRESERVE Created page with "{{DISPLAYTITLE:_PRESERVE}} The _PRESERVE REDIM action preserves the current contents of dynamic arrays, when resizing or changing indices. {{PageSyntax}} : REDIM _PRESERVE array({{Parameter|newLowerIndex&}} [TO {{Parameter|newUpperIndex&}}]) [AS variabletype] {{PageDescription}} * REDIM or the $DYNAMIC metacommand must be used when the array is first created to be able to resize and preserve. * If _PRESERVE is not used, t..."
- 15:2115:21, 19 April 2022 diff hist +1,988 N PIXELSIZE Created page with "{{DISPLAYTITLE:_PIXELSIZE}} The _PIXELSIZE function returns the color depth (Bits Per Pixel) of an image as 0 for text, 1 for 1 to 8 BPP or 4 for 32 bit. {{PageSyntax}} : {{Parameter|pixelSize%}} = _PIXELSIZE[({{Parameter|imageHandle&}})] {{PageDescription}} * If {{Parameter|imageHandle&}} is omitted, it is assumed to be the current write page. * Returns: ** 0 if the image or screen page specified by {{Parameter|imageHandle&}} is in text mode. ** 1 if the ima..."
- 15:2115:21, 19 April 2022 diff hist +949 N PI Created page with "{{DISPLAYTITLE: _PI}} The _PI function returns '''π''' as a _FLOAT value with an optional multiplier parameter. {{PageSyntax}} : {{Parameter|circumference}} = _PI[({{Parameter|multiplier}})] {{Parameters}} * Optional {{Parameter|multiplier}} (''2 * radius'' in above syntax) allows multiplication of the π value. {{PageDescription}} * Function can be used in to supply π or multiples in a program. * Accuracy is determined by the return variable type..."
- 15:2015:20, 19 April 2022 diff hist +4,715 N PALETTECOLOR Created page with "{{DISPLAYTITLE:_PALETTECOLOR}} The _PALETTECOLOR statement sets the color value of a palette entry of an image using 256 color modes or less (4 or 8 BPP). {{PageSyntax}} :_PALETTECOLOR {{Parameter|attribute%}}, {{Parameter|newColor&}}[, {{Parameter|destHandle&}}] {{PageDescription}} * The {{Parameter|attribute%}} is the palette index number of the color to set, ranging from 0 to 15 (4 bit) or 0 to 255 (8 bit) color modes. * The LONG {{Parameter|newColor&}..."
- 12:4212:42, 19 April 2022 diff hist +891 N OS$ Created page with "The _OS$ function returns the operating system and QB64 compiler bit version used to compile a QB64 program. {{PageSyntax}} : {{Parameter|compilerVersion$}} = _OS$ {{PageDescription}} * Returns a STRING listing the OS as [WINDOWS], [LINUX] or [MACOSX] and the compiler bit format of [32BIT] or [64BIT]. Example: {{text|[WINDOWS][32BIT]}} * Allows a BAS program to be compiled with QB64 in Windows, Linux or MacOSX using different OS or language specifications..."
- 12:4112:41, 19 April 2022 diff hist +1,430 N OPTION EXPLICITARRAY Created page with "{{DISPLAYTITLE:OPTION _EXPLICITARRAY}} OPTION _EXPLICITARRAY instructs the compiler to require arrays be declared with DIM, REDIM or equivalent. {{PageSyntax}} : OPTION _EXPLICITARRAY {{PageDescription}} * Normally statements like {{InlineCode}}x(2) = 3{{InlineCodeEnd}} will implicitly create an array x(). OPTION _EXPLICITARRAY requires a preceding declaration for the array, helping to catch mistyped array and function names. * Unlike OPTION _E..."
- 12:4112:41, 19 April 2022 diff hist +1,333 N OPTION EXPLICIT Created page with "{{DISPLAYTITLE:OPTION _EXPLICIT}} OPTION _EXPLICIT instructs the compiler to require variable declaration with DIM, REDIM or an equivalent statement. {{PageSyntax}} : OPTION _EXPLICIT {{PageDescription}} * With OPTION _EXPLICIT you can avoid typos by having QB64 immediately warn in the '''Status area''' of new variables used without previous declaration. * Enable OPTION _EXPLICIT temporarily even if a program source file doesn't contain the..."
- 12:4012:40, 19 April 2022 diff hist +8,337 N ERROR Codes Created page with "<center>'''QB64 Compiler Errors''': To troubleshoot compiler errors try this: recompile scripts</center> <center>'''Please report any Operating System or Compiler errors or failures you cannot fix [https://github.com/QB64Team/qb64/issues here.]'''</center> <center>'''It's a good idea to exclude "QB64.exe" from any real-time anti-virus scanning to prevent IDE Module Errors!'''</center> The following table..."
- 12:4012:40, 19 April 2022 diff hist +941 N OPENHOST Created page with "{{DISPLAYTITLE:_OPENHOST}} The _OPENHOST function opens a Host which listens for new connections and returns a Host status handle. {{PageSyntax}} : {{Parameter|hostHandle}} = _OPENHOST('''"TCP/IP:8080"''') {{PageDescription}} * Creates an Illegal Function Call error if called with a string argument of the wrong syntax. * The port used in the syntax example is 8080. * Valid {{Parameter|hostHandle}} values are negative numbers. * If the syntax i..."
- 12:3912:39, 19 April 2022 diff hist +1,144 N OPENCONNECTION Created page with "{{DISPLAYTITLE:_OPENCONNECTION}} The _OPENCONNECTION function opens a connection from a client that the host has detected and returns a status handle. {{PageSyntax}} :{{Parameter|connectHandle}} = _OPENCONNECTION({{Parameter|hostHandle}}) {{PageDescription}} * Valid {{Parameter|connectHandle}} values returned are negative numbers. * If the syntax is correct but they fail to begin/connect, a {{Parameter|connectHandle}} of 0 is returned. * Always check if the..." Tag: visualeditor-switched
- 12:3812:38, 19 April 2022 diff hist +3,645 N OPENCLIENT Created page with "The _OPENCLIENT function connects to a Host on the Internet as a Client and returns the Client status handle.{{PageSyntax}} :{{Parameter|clientHandle&}} = _OPENCLIENT('''"TCP/IP:8080:12:30:1:10"''') {{PageDescription}} *An Illegal Function Call error will be triggered if the function is called with a string argument of the wrong syntax. *Connects to a host somewhere on the internet as a client. *Valid {{Parameter|clientHandle&}} values are negativ..." Tag: visualeditor
- 12:3712:37, 19 April 2022 diff hist −65 Main Page No edit summary Tag: visualeditor
- 12:3012:30, 19 April 2022 diff hist +3,663 N OFFSET Created page with "{{DISPLAYTITLE:_OFFSET}} The _OFFSET variable type stores the location of a value in memory. The byte size varies as required by the system. {{PageSyntax}} : DIM variable AS '''_OFFSET''' {{PageDescription}} * _OFFSET types can be created as signed or _UNSIGNED at the programmer's discretion. * The type suffix for _OFFSET is '''%&''' which designates the integer value's flexible size. * Offset values are only useful when used in conjunction with _ME..."
- 12:3012:30, 19 April 2022 diff hist +2,087 N OFFSET (function) Created page with "{{DISPLAYTITLE:_OFFSET (function)}} The _OFFSET function returns the memory offset of/within a given variable. {{PageSyntax}} : {{Parameter|offset%&}} = _OFFSET({{Parameter|variable}}) {{PageDescription}} * The {{Parameter|variable}} parameter can be any type of numerical or string variable name. * API LIBRARY parameter or type names may include '''lp, ptr''' or '''p''' which designates them as a pointer type. * _OFFSET..."
- 12:1612:16, 19 April 2022 diff hist +487 N NUMLOCK Created page with "{{DISPLAYTITLE: _NUMLOCK}} The _NUMLOCK statement sets the state of the Num Lock key. {{PageSyntax}} : _NUMLOCK {ON|OFF|_TOGGLE} ==Availability== * Version 1.4 and up. * Not available in Linux or macOS. {{PageSeeAlso}} * _CAPSLOCK (function), _NUMLOCK (function), _SCROLLLOCK (function) * _CAPSLOCK (statement), _SCROLLLOCK (statement) {{Page..."
- 12:1512:15, 19 April 2022 diff hist +584 N NUMLOCK (function) Created page with "{{DISPLAYTITLE: _NUMLOCK (function)}} The _NUMLOCK function returns the current state of the Num Lock key as on (-1) or off (0). {{PageSyntax}} : {{Parameter|keyStatus%%}} = _NUMLOCK ==Availability== * Version 1.4 and up. * Not available in Linux or macOS. {{PageSeeAlso}} * _CAPSLOCK (function), _SCROLLLOCK (functi..."
- 12:1512:15, 19 April 2022 diff hist +1,099 N $NOPREFIX Created page with "The $NOPREFIX metacommand allows all QB64 functions and statements to be used without the leading underscore (_). {{PageSyntax}} :$NOPREFIX {{PageDescription}} * QB64-specific keywords are by default prefixed with an underscore, in order to differentiate them from legacy keywords inherited from QBasic/QuickBASIC 4.5. * The convention exists in order to allow older code to be loaded and compiled in QB64 without naming conflicts with existing variables or const..."
- 12:1512:15, 19 April 2022 diff hist +5,351 N NEWIMAGE Created page with "{{DISPLAYTITLE:_NEWIMAGE}} The _NEWIMAGE function prepares a window image surface and returns the LONG handle value. {{PageSyntax}} : {{Parameter|handle&}} = _NEWIMAGE({{Parameter|width&}}, {{Parameter|height&}}[, {''0''|''1''|''2''|''7''|''8''|''9''|''10''|''11''|''12''|''13''|''256''|''32''}]) {{Parameters}} * Minimum LONG screen dimensions are {{Parameter|width&}} >= 1, {{Parameter|height&}} >= 1 measured in pixels as INTEGER or LONG va..."
- 12:1412:14, 19 April 2022 diff hist +2,657 N MOUSEY Created page with "{{DISPLAYTITLE:_MOUSEY}} The _MOUSEY function returns the current vertical (row) mouse cursor position when read after _MOUSEINPUT. {{PageSyntax}} : {{Parameter|pixelRow%}} = _MOUSEY {{PageDescription}} * SCREEN 0 returns the INTEGER vertical text row position (from build 20170817/62 onward); older versions return a SINGLE vertical text row position. Use INTEGER variables to avoid floating decimal returns. * Graphic screen modes 1, 2 and 7..."
- 12:1412:14, 19 April 2022 diff hist +2,451 N MOUSEX Created page with "{{DISPLAYTITLE:_MOUSEX}} The _MOUSEX function returns the current horizontal (column) mouse cursor position when read after _MOUSEINPUT. {{PageSyntax}} : {{Parameter|pixelColumn%}} = _MOUSEX {{PageDescription}} * SCREEN 0 returns the INTEGER horizontal text column position (from build 20170817/62 onward); older versions return a SINGLE horizontal text column position. Use INTEGER variables to avoid floating decimal returns. * Graphic scree..."
- 12:1312:13, 19 April 2022 diff hist +2,601 N MOUSEWHEEL Created page with "{{DISPLAYTITLE:_MOUSEWHEEL}} The _MOUSEWHEEL function returns a positive or negative INTEGER value indicating mouse scroll events since the last read of _MOUSEINPUT. {{PageSyntax}} : {{Parameter|scrollAmount%}} = _MOUSEWHEEL {{PageDescription}} * Returns -1 when scrolling up and 1 when scrolling down with 0 indicating no movement since last read. * After an event has been read, the value resets to 0 automatically so cumulative position values must be..."
- 12:1312:13, 19 April 2022 diff hist +2,368 N MOUSESHOW Created page with "{{DISPLAYTITLE:_MOUSESHOW}} The _MOUSESHOW statement displays the mouse cursor and can change its shape. {{PageSyntax}} : _MOUSESHOW [{{Parameter|cursorShape$}}] {{PageDescription}} * Simply use the statement whenever _MOUSEHIDE has been used previously. * In '''version 1.000 and up''' the following {{Parameter|cursorShape$}} can be displayed: ::_MOUSESHOW "LINK" will display an upward pointing hand cursor used to denote hypertext ::_MOUSESHOW "TEXT" will..."
- 12:1112:11, 19 April 2022 diff hist +1,744 N MOUSEMOVEMENTY Created page with "{{DISPLAYTITLE:_MOUSEMOVEMENTY}} The _MOUSEMOVEMENTY function returns the relative vertical position of the mouse cursor as positive or negative values. {{PageSyntax}} : {{Parameter|verticalMove}} = _MOUSEMOVEMENTY * Returns the relative vertical cursor pixel position compared to the previous cursor position. Negative values are up moves. * '''Note:''' A _MOUSESHOW statement will disable _MOUSEMOVEMENTX or _MOUSEMOVEMENTY relative mouse movement..."
- 12:1112:11, 19 April 2022 diff hist +2,324 N MOUSEMOVEMENTX Created page with "{{DISPLAYTITLE:_MOUSEMOVEMENTX}} The _MOUSEMOVEMENTX function returns the relative horizontal position of the mouse cursor as positive or negative values. {{PageSyntax}} : ''horizontalMove'' = _MOUSEMOVEMENTX * Returns the relative horizontal cursor pixel position compared to the previous cursor position. Negative values are moves to the left. * '''Note:''' A _MOUSESHOW statement will disable _MOUSEMOVEMENTX or _MOUSEMOVEMENTY relative mouse mo..."
- 12:1012:10, 19 April 2022 diff hist +2,383 N MOUSEMOVE Created page with "{{DISPLAYTITLE:_MOUSEMOVE}} The _MOUSEMOVE statement moves the mouse pointer to a new position on the screen as determined by the column and row coordinates. {{PageSyntax}} :_MOUSEMOVE {{Parameter|column%}}, {{Parameter|row%}} {{Parameters}} * {{Parameter|column%}} is the horizontal pixel coordinate to place the mouse pointer and can be any value from 0 to _WIDTH(0) - 1. * {{Parameter|row%}} is the vertical pixel position to place the m..."
- 12:1012:10, 19 April 2022 diff hist +3,345 N MOUSEINPUT Created page with "{{DISPLAYTITLE:_MOUSEINPUT}} The _MOUSEINPUT function is used to monitor any new mouse positions, button presses or movements of the scroll wheel. Must be called before other mouse information becomes available. {{PageSyntax}} :{{Parameter|infoExists%%}} = _MOUSEINPUT {{PageDescription}} * Returns -1 if new mouse information is available, otherwise it returns 0. * Must be called before reading any of the other mouse functions. The function will not miss any m..."
- 12:1012:10, 19 April 2022 diff hist +205 N MOUSEHIDE Created page with "{{DISPLAYTITLE:_MOUSEHIDE}} The _MOUSEHIDE statement hides the mouse cursor. {{PageSyntax}} : _MOUSEHIDE {{PageSeeAlso}} * _MOUSESHOW * _MOUSEINPUT * _MOUSEMOVE {{PageNavigation}}"
- 12:0912:09, 19 April 2022 diff hist +7,818 N MOUSEBUTTON Created page with "{{DISPLAYTITLE:_MOUSEBUTTON}} The _MOUSEBUTTON function returns the button status of a specified mouse button when read after _MOUSEINPUT. {{PageSyntax}} : {{Parameter|buttonStatus%%}} = _MOUSEBUTTON({{Parameter|buttoNumber}}) {{Parameters}} * INTEGER {{Parameter|buttoNumber}} designates the mouse button to read (See _DEVICES for more than 3). ** 1 = Left mouse button ** 2 = Right mouse button ** 3 = Center or scroll button {{PageDescription}}..."
- 12:0912:09, 19 April 2022 diff hist +1,174 N MK$ Created page with "{{DISPLAYTITLE:_MK$}}{{DISPLAYTITLE:}} The _MK$ function can convert any numerical type into an ASCII STRING value that can be converted back using _CV. {{PageSyntax}} :{{Parameter|string_value$}} = _MK$({{Parameter|numericalType}}, {{Parameter|numericalValue}}) {{Parameters}} * {{Parameter|numericalType}} is any QB64 numerical type: INTEGER, LONG, SINGLE, DOUBLE, _INTEGER64, _BYTE or _BIT. * Whole integer values can be..."
- 12:0812:08, 19 April 2022 diff hist +2,924 N SCREENMOVE Created page with "{{DISPLAYTITLE:_SCREENMOVE}} The _SCREENMOVE statement positions the program window on the desktop using designated coordinates. {{PageSyntax}} : _SCREENMOVE {{{Parameter|column&}}, {{Parameter|row&}}|_MIDDLE} {{Parameters}} * Positions the program window on the desktop using the {{Parameter|column&}} and {{Parameter|row&}} pixel coordinates for the upper left corner. * '''_MIDDLE''' can be used instead to automatically center the program window on the deskto..."
- 12:0712:07, 19 April 2022 diff hist +2,164 N MEMPUT Created page with "{{DISPLAYTITLE:_MEMPUT}} The _MEMPUT statement writes data to a portion of a designated memory block at an OFFSET position. {{PageSyntax}} : _MEMPUT {{Parameter|memoryBlock}}, {{Parameter|bytePosition}}, {{Parameter|sourceVariable}} [AS {{Parameter|type}}] {{Parameters}} * {{Parameter|memoryBlock}} is a _MEM variable type memory block name created by _MEMNEW or the _MEM function. * {{Parameter|bytePosition}} is the {{Parameter|..."
- 12:0712:07, 19 April 2022 diff hist +2,016 N MEMNEW Created page with "{{DISPLAYTITLE:_MEMNEW}} The _MEMNEW function allocates new memory and returns a _MEM memory block referring to it. {{PageSyntax}} : {{Parameter|memoryBlock}} = _MEMNEW({{Parameter|byteSize}}) {{Parameters}} * The {{Parameter|byteSize}} parameter is the desired byte size of the memory block based on the variable type it will hold. {{PageDescription}} * The {{Parameter|memoryBlock}} value created holds the elements .OFFSET, .SIZE, .TYPE and .ELEMENTS..."
- 12:0612:06, 19 April 2022 diff hist +4,260 N MEMIMAGE Created page with "{{DISPLAYTITLE:_MEMIMAGE}} The _MEMIMAGE function returns a _MEM value referring to an image's memory using a designated image handle. {{PageSyntax}} : {{Parameter|imageBlock}} = _MEMIMAGE[({{Parameter|imageHandle&}})] {{Parameters}} * The {{Parameter|imageBlock}} _MEM type variable holds the read-only elements .OFFSET, .SIZE, .TYPE and .ELEMENTSIZE. * If the optional {{Parameter|imageHandle&}} isn't passed, it is assumed to be the current _DESTin..."
- 12:0612:06, 19 April 2022 diff hist +2,285 N MEMGET (function) Created page with "{{DISPLAYTITLE:_MEMGET (function)}} The _MEMGET function returns a value from a specific memory block name at the specified OFFSET using a certain variable type. {{PageSyntax}} : {{Parameter|returnValue}} = _MEMGET({{Parameter|memoryBlock}}, {{Parameter|bytePosition}}, {{Parameter|variableType}}) {{Parameters}} * Returns a value of the {{Parameter|variableType}} designated. The holding variable must match that TYPE. * {{Parameter|memoryBlock}} is a _MEM..."
- 12:0512:05, 19 April 2022 diff hist +2,126 N MEMGET Created page with "{{DISPLAYTITLE:_MEMGET}} The _MEMGET statement reads a portion of a memory block at an OFFSET position into a variable, array or user defined type. {{PageSyntax}} : _MEMGET {{Parameter|memoryBlock}}, {{Parameter|bytePosition}}, {{Parameter|destinationVariable}} * {{Parameter|memoryBlock}} is a _MEM variable type memory block name created by _MEMNEW or the _MEM function. * {{Parameter|bytePosition}} is the {{Parameter|memoryBlock}}...."
- 12:0512:05, 19 April 2022 diff hist +867 N MEMFREE Created page with "{{DISPLAYTITLE:_MEMFREE}} The _MEMFREE statement frees the designated memory block _MEM value and must be used with all memory functions. {{PageSyntax}} : _MEMFREE {{Parameter|memoryVariable}} {{Parameters}} * ALL designated _MEM type {{Parameter|memoryVariable}} values must be freed to conserve memory when they are no longer used or needed. {{PageDescription}} * Since _MEM type variables cannot use a suffix, use DIM {{Parameter|memoryVaria..."
- 12:0412:04, 19 April 2022 diff hist +1,701 N MEMFILL Created page with "{{DISPLAYTITLE:_MEMFILL}} The _MEMFILL statement converts a value to a specified type, then fills memory with that type including any non-whole remainder. {{PageSyntax}} : _MEMFILL {{Parameter|memoryBlock}}, {{Parameter|memoryBlock.OFFSET}}, {{Parameter|fillBytes}}, {{Parameter|value}} [AS {{Parameter|variableType}}] {{Parameters}} * The {{Parameter|memoryBlock}} _MEM memory block is the block referenced to be filled. * {{Parameter|memoryBlock.OFFSET}} is..."
- 12:0412:04, 19 April 2022 diff hist +857 N MEMEXISTS Created page with "{{DISPLAYTITLE:_MEMEXISTS}} The _MEMEXISTS function returns true (-1) if the memory block variable name specified exists in memory and false (0) if it does not. {{PageSyntax}} : {{Parameter|result}} = _MEMEXISTS({{Parameter|memBlock}}) {{PageDescription}} * The {{Parameter|memBlock}} variable name must have been created using DIM memBlock AS _MEM type (DIM. * The function verifies that the memory variable exists in memory before using a passed..."
- 12:0412:04, 19 April 2022 diff hist +4,231 N MEMELEMENT Created page with "{{DISPLAYTITLE:_MEMELEMENT}} The _MEMELEMENT function returns a _MEM block referring to a variable's memory, but not past it. {{PageSyntax}} : {{Parameter|memoryBlock}} = _MEMELEMENT({{Parameter|referenceVariable}}) * The {{Parameter|referenceVariable}} parameter designates the existing variable name using the memory block. * _MEMELEMENT is the same as _MEM but in an array it returns the specifications of an element, not the entire array. * All values..."
- 12:0312:03, 19 April 2022 diff hist +2,870 N MEMCOPY Created page with "{{DISPLAYTITLE:_MEMCOPY}} The _MEMCOPY statement copies a block of bytes from one memory offset to another offset in memory. {{PageSyntax}} : _MEMCOPY {{Parameter|sourceBlock}}, {{Parameter|sourceBlock.OFFSET}}, {{Parameter|sourceBlock.SIZE}} TO {{Parameter|destBlock}}, {{Parameter|destBlock.OFFSET}} {{Parameters}} * {{Parameter|sourceBlock}} is the source memory block name created AS _MEM. * {{Parameter|sourceBlock.OFFSET}} is the dot _OFFSET wi..."
- 12:0312:03, 19 April 2022 diff hist +6,885 N MEM Created page with "{{DISPLAYTITLE:_MEM}} The _MEM variable type can be used when working with memory blocks. It has no variable type suffix. {{PageSyntax}} : DIM m AS _MEM {{PageDescription}} ''Variable TYPE:'' * Memory DOT values are actually part of the built in memory variable type in QB64. The following TYPE is built in: {{WhiteStart}}TYPE memory_type OFFSET AS _OFFSET 'start location of block(changes with byte position) SIZE AS _OFFSET..."
- 12:0212:02, 19 April 2022 diff hist +2,173 N MEM (function) Created page with "{{DISPLAYTITLE:_MEM (function)}} The _MEM function returns a _MEM block referring to the largest possible continuous memory region beginning at a variable's offset. {{PageSyntax}} : {{Parameter|memoryBlock}} = _MEM({{Parameter|referenceVariable}}) ===Unsecure syntax=== : {{Parameter|memoryBlock}} = _MEM({{Parameter|offset}}, {{Parameter|byteSize}}) {{Parameters}} * The {{Parameter|memoryBlock}} created will hold the {{Parameter|referenceVariable}} or a..."
- 12:0212:02, 19 April 2022 diff hist +1,365 N MAPUNICODE (function) Created page with "{{DISPLAYTITLE:_MAPUNICODE (function)}} The _MAPUNICODE function returns the Unicode (UTF-32) code point value of a mapped ASCII character code. {{PageSyntax}} : {{Parameter|utfValue&}} = _MAPUNICODE({{Parameter|asciiCode%}}) {{PageDescription}} * UTF-32 values have 4-byte encoding so the return variable should be LONG. * The {{Parameter|asciiCode%}} can be any INTEGER value from 0 to 255. * Returns can be used to verify or catalog the present..."
- 12:0112:01, 19 April 2022 diff hist +2,758 N MAPUNICODE Created page with "{{DISPLAYTITLE:_MAPUNICODE}} The _MAPUNICODE statement maps a Unicode value to an ASCII character code value. {{PageSyntax}} : _MAPUNICODE {{Parameter|unicode&}} '''TO''' {{Parameter|asciiCode%}} * The LONG {{Parameter|unicode&}} value is a hexadecimal or decimal code value from a Unicode Code Page. * The {{Parameter|asciiCode%}} INTEGER parameter is any ASCII or Extended code value from 0 to 255. * Use the Un..."