User contributions for RhoSigma

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

19 April 2022

18 April 2022

  • 23:5023:50, 18 April 2022 diff hist +19 N Template:ClCreated page with "[[{{{1}}}|{{{2}}}]]"
  • 23:4523:45, 18 April 2022 diff hist +4 N Template:CodeEndCreated page with "</p>"
  • 23:4323:43, 18 April 2022 diff hist +6 Template:CodeStartNo edit summary
  • 23:4223:42, 18 April 2022 diff hist +180 N Template:CodeStartCreated page with "<p style="padding: 1em; line-height:100%; margin-left:5px; white-space: pre; font-family: Courier, monospace; background-color: darkblue; color: lightgrey; word-wrap: break-word;">"
  • 23:3323:33, 18 April 2022 diff hist −1 Template:PageNavigationNo edit summary
  • 23:3023:30, 18 April 2022 diff hist +7 N Template:TextCreated page with "{{{1}}}"
  • 23:2623:26, 18 April 2022 diff hist +9 Template:PageNavigationNo edit summary
  • 23:2323:23, 18 April 2022 diff hist +24 Template:PageNavigationNo edit summary
  • 23:2023:20, 18 April 2022 diff hist +219 N Template:PageNavigationCreated page with "<center> == == ''Navigation:'' Go to Keyword Reference - Alphabetical Go to Keyword Reference - By usage Go to Main WIKI Page </center>"
  • 23:0623:06, 18 April 2022 diff hist +14 N Template:PageSeeAlsoCreated page with "== See also =="
  • 23:0423:04, 18 April 2022 diff hist +14 N Template:PageExamplesCreated page with "== Examples =="
  • 22:5822:58, 18 April 2022 diff hist +17 N Template:PageDescriptionCreated page with "== Description =="
  • 22:5722:57, 18 April 2022 diff hist +12 N Template:PageSyntaxCreated page with "== Syntax =="
  • 22:4422:44, 18 April 2022 diff hist −20 Template:ParameterNo edit summary
  • 17:0117:01, 18 April 2022 diff hist +6,081 N CLIPBOARD$Created page with "{{DISPLAYTITLE:_CLIPBOARD$}} The _CLIPBOARD$ function returns the current Operating System's clipboard contents as a STRING. {{PageSyntax}} :{{Parameter|result$}} = _CLIPBOARD$ {{PageDescription}} * Text returned can contain the entire contents of a copied file or web page or text from a previous _CLIPBOARD$ statement. * The string returned can also contain formatting like CRLF (CHR$(13) + CHR$(10)) end of line characte..."
  • 17:0017:00, 18 April 2022 diff hist +3,235 N Converting Bytes to BitsCreated page with "Although QB64 has _BYTE and _BIT variable types, there may be times that you just want to know which bits are on of off in the byte value or convert the value to a Binary number. Bits are numbered from 0 to 7 and normally are read from the most significant bit(MSB = 7) to the least significant bit(LSB = 0). : The following example shows how to convert an _UNSIGNED _BYTE or INTEGER value(0 to 255) to a Binary STRING number in Qbasic. {{..."
  • 16:5816:58, 18 April 2022 diff hist +9,380 N Controller DevicesCreated page with "QB64 supports all kinds of keyboard, mouse, joystick, gamepad, steering wheel and other multi-stick controller input devices. * '''In order to read the device controls, the number of input devices MUST first be found using _DEVICES.''' * After the device count is determined we can find out the type of device, the device name and the type of controls available using the _DEVICE$(device_number) function. The function returns a STRING containing information a..."
  • 16:5716:57, 18 April 2022 diff hist +9,015 N Downloading FilesCreated page with ":'''HTTP/1.1''' protocol downloads can be done using a '''GET''' request using the following format without HTTP:// in the url: {{TextStart}}CRLF$ = CHR$(13) + CHR$(10) Request$ = "GET " + File_Path + " HTTP/1.1" + CRLF$ + "Host:" + Web_Address + CRLF$ + CRLF$ {{TextEnd}} : Two carriage returns end the request to the client URL. The header that is returned from the site also ends with two carriage returns when there are no errors. The header will also inc..."
  • 16:5516:55, 18 April 2022 diff hist +3,700 N Hardware imagesCreated page with "<center>'''Hardware Images (QB64 version 1.000 and up)'''</center> * QB64 can create hardware images using _LOADIMAGE files or _COPYIMAGE with mode 33 as the second parameter. * Hardware images can be displayed using _PUTIMAGE or _MAPTRIANGLE with special texture properties. * _COPYIMAGE mode 33 can convert images created by _NEWIMAGE, _LOADIMAGE or _SCREENIMAGE to hardware images. <center>'''Demonstration of the Advantages of Using..."
  • 16:5416:54, 18 April 2022 diff hist +6,862 N ImagesCreated page with "Images are areas of graphics stored in memory, the most common image is the program screen itself, where graphics are displayed. This image is designated as image handle 0 or _DEST 0. QB64 refers to the image memory by using negative LONG handle values. Those values can then be referred to using other functions such as _WIDTH and _HEIGHT to find the image properties. Statements like SCREEN or _PUTIMAGE can use the image handle to display the image..."
  • 16:5416:54, 18 April 2022 diff hist +21,981 N Keyboard scancodesCreated page with "* '''Keyboards with Alt Gr key:''' _KEYHIT may return both Alt(100307) and Ctrl(100306) codes when that key is pressed or released. * '''Linux with foreign keyboards:''' SHELL _HIDE "setxkbmap us" will setup a keyboard to read US Scancodes. ==INKEY$ Codes== * INKEY$ returns a STRING ASCII character or a function key two byte string. ASC converts to code. Use: '''{{text|key$ <nowiki>=</nowiki> INKEY$|green}}''' * Key presses are read cons..."
  • 16:5316:53, 18 April 2022 diff hist +1,699 N DLL LibrariesCreated page with "QB64 supports some DLL Library statements and functions. Currently the specified DLL file MUST either be in the '''Windows System folder''' (System32) or in the '''QB64 folder!''' NOTE: '''Use them at your own risk! QB64 CANNOT provide specific DLL Library information or support!''' When using unsupported DLL files use DECLARE DYNAMIC LIBRARY and the name of an '''inactive''' library '''without''' the .DLL extension. The following statement and functi..."
  • 16:5316:53, 18 April 2022 diff hist +140,539 N Windows LibrariesCreated page with "QB64 can support the '''specific Windows Operating System Libraries''' on your PC. They should be located in the '''System32''' folder. Use DECLARE LIBRARY with the appropriate ALIAS. Loaded DLL files are NOT required to be named in the Declaration! <center> '''Note: C++ Header files should be placed in the QB64 folder and are not required after a program is compiled.'''</center> <center>'''Note: QB64 requires all DLL files to either be with the program or in t..."
  • 16:5216:52, 18 April 2022 diff hist +27,756 N C LibrariesCreated page with "'''QB64''' uses C++ to compile a BAS program into an executable program. The following is a list of the '''C FUNCTIONs''' that can be used. '''Note: C++ Header files should be placed in the QB64 folder and are not required after a program is compiled.''' {| align="Right" | __TOC__ |} {{WhiteStart}} '''C++ Variable Types''' '''C Name Description Size QB64 Type''' char Character o..."
  • 16:4616:46, 18 April 2022 diff hist +22,545 N Mathematical OperationsCreated page with "{| align="center" | __TOC__ |} ==Basic and QB64 Numerical Types== <center>'''Qbasic Number Types'''</center> * INTEGER ['''%''']: 2 Byte signed whole number values from -32768 to 32767. 0 to 65535 unsigned. (not checked in QB64) * LONG ['''&''']: 4 byte signed whole number values from -2147483648 to 2147483647. 0 to 4294967295 unsigned. * SINGLE ['''!''']: 4 byte signed floating decimal point values of up to 7 decimal place accuracy. '''Cannot be unsig..."
  • 16:4516:45, 18 April 2022 diff hist +26,296 N Port Access LibrariesCreated page with "INP and OUT are often used to access port registers, but in QB64 this capability is limited so here are some DLL Libraries: <center>'''INPOUT32.DLL'''</center> :The following download links have the DLL and sample BAS file to show how it works with an LPT (parallel) port at &H378(888): <center>'''[http://dl.dropbox.com/u/8440706/inpout32.zip Download InpOut32.DLL and example program]'''</center> <center>'''[http://www.highrez.co.uk/scripts/download.asp?package..."
  • 16:2916:29, 18 April 2022 diff hist +3,874 N Relational OperationsCreated page with "__NOTOC__ QB64 supports several relational operations, which are binary operations that test numeric or string values and return an INTEGER value representing a boolean ''true'' (<tt>-1</tt>) or ''false'' (<tt>0</tt>) result. These operations are primarily used in expressions where a condition is required, such as the IF...THEN statement. ==List of relational operations== The following table describes the relational operations, where <tt>A</tt> is the left-hand..."
  • 16:1916:19, 18 April 2022 diff hist +6,067 N Line numberCreated page with "'''Line numbers''' or line labels are used in Qbasic as references to code lines. Numbers are required with GOTO and numbers or label names are required with GOSUB. Although not required in Qbasic, other older programming languages such as GW Basic often required them. Line labels require a colon after them to differentiate them from keywords and variable names. <center>'''[ftp://ftp.microsoft.com/services/technet/windows/msdos/RESKIT/SUPPDISK/REMLINE.BAS Micro..."
  • 16:1616:16, 18 April 2022 diff hist +1,338 N Line numbersCreated page with "'''Line numbers''' or '''line labels''' are used to denote GOTO, RUN or GOSUB procedure lines or all code lines as in GW Basic. == Number Syntax == :: '''10''' GOTO {line number| line label} == Label Syntax == ::'''PictureData:''' :: DATA 0, 0, 12, 12, 14, 12, 12, 0, 0 * Line numbers are used to denote a specific line of code. No colon required. * Line labels are used to denote a specific line of code with a colon when separating it from a co..."
  • 16:1316:13, 18 April 2022 diff hist +86,373 N Resource Table extractionCreated page with "The following information was supplied by Michael Calkins in a member's request to find a way to extract icons from EXE files. There is no warranty implied and users should use the information and code at their own risk! We are not responsible for any damages! ==COFF Specifications== There are 3 layers to the resource tables, Type, Name, and Language, The Microsoft PE and COFF specifications can be found here: <center>http://msdn.microsoft.com/en-us/windows/hardware/g..."
  • 16:0916:09, 18 April 2022 diff hist +4,449 N Screen MemoryCreated page with "<center>'''SCREEN Memory Segments'''</center> <center>'''Screen 0 Text Segment &HB800'''</center> * The text video memory segment is located at hexadecimal memory address B800 or 47104 decimal. * The normal SCREEN 0 WIDTH is 25 rows by 80 columns wide capable of up to 2000 text characters. * Each text block memory offset consists of a text character byte followed by a color byte. * Each unsigned byte can hold values from 0 to 255 only...."
  • 15:3715:37, 18 April 2022 diff hist +1,632 N Variable TypesCreated page with "'''QB64 uses more variable types than Qbasic ever did. The variable type determines the size of values that numerical variables can hold.''' {{DataTypeTable}} If no suffix is used and no DEFxxx or _DEFINE command has been used and the variable hasn't been DIMmed the '''default variable type is SINGLE'''. '''_MEM and _OFFSET variable types cannot be cast to other variable types!''' All types dealing with number values are signed as a default. The sym..."
(newest | oldest) View ( | older 50) (20 | 50 | 100 | 250 | 500)