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).
- 13:20, 20 April 2022 RhoSigma talk contribs created page CONST (Created page with "The CONST statement globally defines one or more named numeric or string values which will not change while the program is running. {{PageSyntax}} : CONST {{Parameter|constantName}} = {{Parameter|value}}[, ...] {{Parameters}} * {{Parameter|constantName}} is the constant name or list of names assigned by the programmer. * {{Parameter|value}} is the value to initialize the global constant which cannot change once defined. ** If {{Parameter|constantName}} specif...")
- 13:20, 20 April 2022 RhoSigma talk contribs created page COMMON (Created page with "COMMON shares common variable values with other linked or CHAINed modules. ==Legacy support== * The multi-modular technique goes back to when QBasic and QuickBASIC had module size constraints. In QB64 COMMON 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 exi...")
- 13:19, 20 April 2022 RhoSigma talk contribs created page COMMAND$ (Created page with "The '''COMMAND$''' function returns the command line argument(s) passed when a program is run. {{PageSyntax}} : {{Parameter|commandLine$}} = COMMAND$[(count%)] {{PageDescription}} * The STRING return value is anything typed after a program's executable file name in command line (or using the RUN statement). * Unlike QuickBASIC, '''QB64''' does not return all uppercase values so keep that in mind when checking parameters. * In '''QB64''', COMMA...")
- 13:14, 20 April 2022 RhoSigma talk contribs created page COLOR (Created page with "The COLOR statement is used to change the foreground and background colors for printing text. {{PageSyntax}} : COLOR [{{Parameter|foreground&}}][, {{Parameter|background&}}] {{PageDescription}} * {{Parameter|background&}} colors are available in all QB64 color SCREEN modes. * SCREEN mode 10 has only 3 white foreground attributes including flashing. * To change the {{Parameter|background&}} color only, use a comma and the desired color. Ex: COLOR , {{...")
- 13:13, 20 April 2022 RhoSigma talk contribs created page CLS (Created page with "The CLS statement clears the current write page. {{PageSyntax}} : CLS [{{Parameter|method%}}] [, {{Parameter|bgColor&}}] {{Parameters}} * {{Parameter|method%}} specifies which parts of the page to clear, and can have one of the following values: ** CLS - clears the active graphics or text viewport or the entire text screen and refreshes bottom function KEY ON line. ** CLS 0 - Clears the entire page of text and graphics. Print cursor...")
- 13:05, 20 April 2022 RhoSigma talk contribs created page Template:RelationalOperationsTable (Created page with "<center> <dl><dd><table border="1" cellpadding="2"> <tr> <th colspan="2">Relational Operations </th></tr> <tr> <th>Operation</th> <th>Description </th></tr> <tr> <td align="center">a = b</td> <td>Tests if a is equal to b. </td></tr> <tr> <td align="center">a <> b</td> <td>Tests if a is not equal to b; equivalent to (NOT (a = b)). </td></tr> <tr> <td align="center">a < b</td> <td>Tests if a is less than b. <...")
- 11:46, 20 April 2022 RhoSigma talk contribs created page Template:DataTypeTable (Created page with "<table border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td> <table border="1" cellpadding="2" width="100%"> <tbody><tr> <th colspan="5">Numerical types </th></tr> <tr> <th> Type Name</th> <th>Type suffix symbol</th> <th>Minimum value</th> <th>Maximum value</th> <th>Size in Bytes </th></tr> <tr> <td align="center"><a href="BIT.html" title="BIT">_BIT</a></td> <td align="center">`</td> <td align="right">-1</td> <td align="right">0</td> <td align="center">1/8...")
- 08:07, 20 April 2022 RhoSigma talk contribs created page Template:RelationalTable (Created page with "<center><b>Relational Operators:</b></center> <table align="center" border="1"> <tbody><tr> <th>Symbol </th> <th>Condition </th> <th>Example Usage </th></tr> <tr> <td align="center"><</td> <td> Less than</td> <td> IF a < b THEN </td></tr> <tr> <td align="center">></td> <td> Greater than</td> <td> IF a > b THEN </td></tr> <tr> <td align="center">=</td> <td> Equal</td> <td> IF a = b THEN </td></tr> <tr> <td align="center"><=</td...")
- 23:31, 19 April 2022 RhoSigma talk contribs created page Template:LogicalTruthTable (Created page with "<center>The results of the bitwise logical operations, where <i>A</i> and <i>B</i> are operands, and <i>T</i> and <i>F</i> indicate that a bit is set or not set:</center> <dl><dd><table border="1" cellpadding="2" align="center"> <tr> <th colspan="2">Operands</th> <th colspan="6">Operations </th></tr> <tr> <td align="center">A</td> <td align="center">B</td> <td align="center"><tt>NOT B</tt></td> <td align="center"><tt>A AND B</tt></td> <td align="center"><tt>A ...")
- 23:19, 19 April 2022 RhoSigma talk contribs created page Template:PageErrors (Created page with "=== Errors ===")
- 22:55, 19 April 2022 RhoSigma talk contribs created page Template:PrintUsing (Created page with "<center><b>Template is a literal or variable <a href="STRING.html" title="STRING">string</a> using the following formatting characters:</b> <p><br /> </p> <table border="1]]"> <tbody><tr> <td> <b>&</b></td> <td>Prints an entire string value. <a href="STRING.html" title="STRING">STRING</a> length should be limited as template width will vary. </td></tr> <tr> <td> <b>\ \</b></td> <td>Denotes the start and end point of a fixed string...")
- 22:37, 19 April 2022 RhoSigma talk contribs created page Template:Discrete (Created page with "<div style="float: right;"><span style="font-family: Courier New, Courier, monospace;color:#B0B0B0;font-size: 0.80em;line-height: 120%;">{{{1}}}</span></div>")
- 22:28, 19 April 2022 RhoSigma talk contribs created page Template:InlineCodeEnd (Created page with "</span>")
- 22:28, 19 April 2022 RhoSigma talk contribs created page Template:InlineCode (Created page with "<span style="font-family: Courier New, monospace, Courier; background: #dddddd">")
- 22:15, 19 April 2022 RhoSigma talk contribs created page Template:Cb (Created page with "<span style="color:blue">[[{{{1}}}|{{{2|{{{1}}}}}}]]</span>")
- 15:15, 19 April 2022 RhoSigma talk contribs created page Template:KW (Created page with "<span style="font-family: Courier New, Courier, monospace; font-size: 1.1em;">[[{{{1}}}]]</span>")
- 13:10, 19 April 2022 RhoSigma talk contribs created page Template:TextEnd (Created page with "</p>")
- 13:10, 19 April 2022 RhoSigma talk contribs created page Template:TextStart (Created page with "<p style="padding: 1em; line-height:100%; margin-left:5px; white-space: pre; font-family: courier; background-color: lightgrey; color: black;">")
- 13:04, 19 April 2022 RhoSigma talk contribs created page Template:Small (Created page with "<center><span style="font-family: Courier New, Courier, monospace; font-size: 0.80em; line-height: 50%;">Menu Created by Cyperium</span></center>")
- 00:46, 19 April 2022 RhoSigma talk contribs created page Template:Parameters (Created page with "== Parameters ==")
- 23:50, 18 April 2022 RhoSigma talk contribs created page Template:Cl (Created page with "[[{{{1}}}|{{{2}}}]]")
- 23:45, 18 April 2022 RhoSigma talk contribs created page Template:CodeEnd (Created page with "</p>")
- 23:42, 18 April 2022 RhoSigma talk contribs created page Template:CodeStart (Created 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:30, 18 April 2022 RhoSigma talk contribs created page Template:Text (Created page with "{{{1}}}")
- 23:20, 18 April 2022 RhoSigma talk contribs created page Template:PageNavigation (Created page with "<center> == == ''Navigation:'' Go to Keyword Reference - Alphabetical Go to Keyword Reference - By usage Go to Main WIKI Page </center>")
- 23:06, 18 April 2022 RhoSigma talk contribs created page Template:PageSeeAlso (Created page with "== See also ==")
- 23:04, 18 April 2022 RhoSigma talk contribs created page Template:PageExamples (Created page with "== Examples ==")
- 22:58, 18 April 2022 RhoSigma talk contribs created page Template:PageDescription (Created page with "== Description ==")
- 22:57, 18 April 2022 RhoSigma talk contribs created page Template:PageSyntax (Created page with "== Syntax ==")
- 17:01, 18 April 2022 RhoSigma talk contribs created page 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:00, 18 April 2022 RhoSigma talk contribs created page Converting Bytes to Bits (Created 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:58, 18 April 2022 RhoSigma talk contribs created page Controller Devices (Created 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:57, 18 April 2022 RhoSigma talk contribs created page Downloading Files (Created 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:55, 18 April 2022 RhoSigma talk contribs created page Hardware images (Created 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:54, 18 April 2022 RhoSigma talk contribs created page Images (Created 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:54, 18 April 2022 RhoSigma talk contribs created page Keyboard scancodes (Created 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:53, 18 April 2022 RhoSigma talk contribs created page DLL Libraries (Created 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:53, 18 April 2022 RhoSigma talk contribs created page Windows Libraries (Created 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:52, 18 April 2022 RhoSigma talk contribs created page C Libraries (Created 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:46, 18 April 2022 RhoSigma talk contribs created page Mathematical Operations (Created 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:45, 18 April 2022 RhoSigma talk contribs created page PDS (7.1) Procedures (Created page with "QB64 is created to be compatible with Quick Basic 4.5 only as it was the most popular version. The following sub-procedures have been created to do things that were available in PDS versions of Quick Basic 7.0 and 7.1: ==CURRENCY== ===MKC$=== PDS could use the CURRENCY variable type and had the MKC$ function to convert those values to '''8 byte''' ASCII string values. QB64 can convert _FLOAT currency amounts to strings using _MK$ with _INTEGER64 values...")
- 16:45, 18 April 2022 RhoSigma talk contribs created page Port Access Libraries (Created 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:45, 18 April 2022 RhoSigma talk contribs created page QB 4.5 Library Ports For QB64 (Created page with "The community has made tons of QB 4.5 libraries and we can't cover them all. However, some of the more frequently used libraries can be ported to QB64. This has partly been done with the DirectQB library and I hope that others join in and make QB64 ports of the popular libraries. .bi files should be placed at the beginning of the code (or is already present in QB 4.5 source). .bm files should be placed after all code (or just before the subs/functions of the source)....")
- 16:29, 18 April 2022 RhoSigma talk contribs created page Relational Operations (Created 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:19, 18 April 2022 RhoSigma talk contribs created page Line number (Created 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:16, 18 April 2022 RhoSigma talk contribs created page Line numbers (Created 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:13, 18 April 2022 RhoSigma talk contribs created page Resource Table extraction (Created 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:09, 18 April 2022 RhoSigma talk contribs created page Screen Memory (Created 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:37, 18 April 2022 RhoSigma talk contribs created page Variable Types (Created 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...")
- 14:55, 18 April 2022 User account RhoSigma talk contribs was created