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).
- 21:42, 18 April 2022 SMcNeill talk contribs created page ATANH (Created page with "{{DISPLAYTITLE:_ATANH}} The _ATANH returns the arc hyperbolic tangent of {{Parameter|x!}}, expressed in radians. {{PageSyntax}} : {{Parameter|return_value!}} = _ATANH({{Parameter|x!}}) {{PageSeeAlso}} * _D2G {{text|(degree to gradient}}, _D2R {{text|(degree to radian)}} * _G2D {{text|(gradient to degree)}}, _G2R {{text|(gradient to degree)}} * _R2D {{text|(radian to degree)}}, _R2G {{text|(radian to gradient)}} * COS {{text|(cosine...")
- 21:41, 18 April 2022 SMcNeill talk contribs created page ATAN2 (Created page with "{{DISPLAYTITLE:_ATAN2}} The _ATAN2 function returns the radian angle between the positive x-axis of a plane and the point given by the coordinates (x, y). {{PageSyntax}} : {{Parameter|angle!}} = _ATAN2({{Parameter|y}}, {{Parameter|x}}) {{Parameters}} * {{Parameter|y}} is the vertical axis position (row) as a positive, zero or negative floating point value. * {{Parameter|x}} is the horizontal axis position (column) as a positive, zero or negative floating poin...")
- 21:39, 18 April 2022 SMcNeill talk contribs created page $ASSERTS (Created page with "The $ASSERTS metacommand enables debug tests with the _ASSERT macro. {{PageSyntax}} :$ASSERTS :$ASSERTS:CONSOLE {{PageDescription}} * If an error message is passed to the _ASSERT statement, it is displayed in the console window if $ASSERTS:CONSOLE is used. ==Availability== * '''Version 1.4 and up'''. {{PageExamples}} ''Example:'' Adding test checks for parameter inputs in a function. {{CodeStart}} {{Cl|$ASSERTS}}:CONSOLE {{Cl|D...")
- 21:39, 18 April 2022 SMcNeill talk contribs created page ASSERT (Created page with "{{DISPLAYTITLE:_ASSERT}} The _ASSERT statement can be used to perform tests in code that's in development, for debugging purposes. {{PageSyntax}} :_ASSERT {{Parameter|condition}}[, {{Parameter|errorMessage$}}] {{PageDescription}} * {{Parameter|condition}} is the condition that must be met in order to consider the _ASSERT valid. * Optional {{Parameter|errorMessage$}} is the message to be displayed in the console window if $ASSERTS:CONSOLE is use...")
- 21:11, 18 April 2022 SMcNeill talk contribs created page ASINH (Created page with "{{DISPLAYTITLE:_ASINH}} The _ASINH returns the arc hyperbolic sine of x, expressed in radians. {{PageSyntax}} : {{Parameter|return_value!}} = _ASINH({{Parameter|x!}}) {{PageSeeAlso}} * _D2G {{text|(degree to gradient}}, _D2R {{text|(degree to radian)}} * _G2D {{text|(gradient to degree)}}, _G2R {{text|(gradient to degree)}} * _R2D {{text|(radian to degree)}}, _R2G {{text|(radian to gradient)}} * COS {{text|(cosine)}}, SIN {{tex...")
- 21:10, 18 April 2022 SMcNeill talk contribs created page ASIN (Created page with "{{DISPLAYTITLE:_ASIN}} The _ASIN function returns the angle measured in radians based on an input SINe value ranging from -1 to 1. {{PageSyntax}} : {{Parameter|radian_angle!}} = _ASIN({{Parameter|sine_value!}}) {{PageDescription}} * The {{Parameter|sine_value!}} must be measured >= -1 and <= 1, or else it will generate a return value of '''-1.#IND''', which is basically QB64's way of telling us that the number doesn't exist. * ARCSINE is the inverse func...")
- 21:09, 18 April 2022 SMcNeill talk contribs created page ALPHA32 (Created page with "{{DISPLAYTITLE:_ALPHA32}} The _ALPHA32 function returns the alpha transparency level of a 32 bit color value. {{PageSyntax}} :{{Parameter|alpha&}} = _ALPHA32({{Parameter|color32~&}})''' {{Parameters}} * {{Parameter|color32&}} is the _UNSIGNED LONG 32 bit color value used to retrieve the alpha level. ** Color values that are set as a _CLEARCOLOR always have an alpha level of 0 (transparent). ** _SETALPHA can set any alpha level from 0 (or fully...")
- 21:09, 18 April 2022 SMcNeill talk contribs created page ALPHA (Created page with "{{DISPLAYTITLE:_ALPHA}} The _ALPHA function returns the alpha channel transparency level of a color value used on a screen page or image. {{PageSyntax}} :{{Parameter|result&}} = _ALPHA({{Parameter|color~&}} [, {{Parameter|imageHandle&}}]) {{PageDescription}} * If {{Parameter|imageHandle&}} is omitted, it is assumed to be the current write page. Invalid handles will create Illegal function call errors. * _NEWIMAGE 32 bit SCREEN modes wi...")
- 20:51, 18 April 2022 SMcNeill talk contribs created page File:IDE macos.png
- 20:51, 18 April 2022 SMcNeill talk contribs uploaded File:IDE macos.png
- 20:46, 18 April 2022 SMcNeill talk contribs created page ALLOWFULLSCREEN (Created page with "{{DISPLAYTITLE:_ALLOWFULLSCREEN}} The _ALLOWFULLSCREEN statement allows setting the behavior of the ALT+ENTER combo. {{PageSyntax}} : _ALLOWFULLSCREEN [{_STRETCH|_SQUAREPIXELS|OFF|_ALL}][, {_SMOOTH|OFF|_ALL}] {{PageDescription}} * Calling the statement with no parameters enables all four possible full screen modes (and is the default state when a program is started): both _STRETCH (_SMOOTH and _OFF) and _SQUAREPIXELS (_SMOOTH and _OFF)...")
- 20:46, 18 April 2022 SMcNeill talk contribs created page ACOSH (Created page with "{{DISPLAYTITLE:_ACOSH}} The _ACOSH returns the nonnegative arc hyperbolic cosine of {{Parameter|x!}}, expressed in radians. {{PageSyntax}} : {{Parameter|return_value!}} = _ACOSH({{Parameter|x!}}) {{PageSeeAlso}} * _D2G {{text|(degree to gradient}}, _D2R {{text|(degree to radian)}} * _G2D {{text|(gradient to degree)}}, _G2R {{text|(gradient to degree)}} * _R2D {{text|(radian to degree)}}, _R2G {{text|(radian to gradient)}} * COS {{te...")
- 20:43, 18 April 2022 SMcNeill talk contribs created page ACOS (Created page with "https://qb64phoenix.com/wiki/www.qb64.org/wiki/index1115.html?title=ACOS&action=edit")
- 20:43, 18 April 2022 SMcNeill talk contribs created page ACCEPTFILEDROP (Created page with "{{DISPLAYTITLE:_ACCEPTFILEDROP}} The _ACCEPTFILEDROP statement prepares a program window to receive files dropped from Windows Explorer in a drag/drop operation. {{PageSyntax}} : _ACCEPTFILEDROP [{ON|OFF}] {{PageDescription}} * Calling the statement with no parameters turns drag/dropping ON. * To know when files have been dropped into your program's window, check that _TOTALDROPPEDFILES is greater than 0. * Use _DROPPEDFILE to read the list, either se...")
- 20:41, 18 April 2022 SMcNeill talk contribs created page Text Using Graphics (Created page with "While QB64 offers _FONT and Unicode text options, Qbasic was limited in what it could offer. This shortfall could be overcome in various ways including using sprite pictures. Thanks to QB64, we can have the best in both worlds without creating them yourself! :::::::::1) The characters can be loaded in a file for Qbasic. :::::::::2) Text fonts can be sized without re-loading them. :::::::::3) Data files are smaller than BSAVE image files. :::::::::4} Proper c...")
- 20:41, 18 April 2022 SMcNeill talk contribs created page Libraries (Created page with "<center>'''DLL, C++ and the Windows API Libraries'''</center> * Working with QB64 Declarations: C Libraries, DLL Libraries, Windows Libraries * QB64 Library Keywords: DECLARE LIBRARY, DECLARE DYNAMIC LIBRARY, ALIAS, BYVAL * PEEK and POKE Library: PEEK and POKE Library * COM and LPT ''Inpout32.dll'' OUT: Port Access Libraries * Setting Windows environment values and changing them in the Registry: Windows Environment * SF...")
- 20:40, 18 April 2022 SMcNeill talk contribs created page Windows Environment (Created page with "You can try to set environmental values for a program. The program doesn't affect anything other than itself and its child processes. {{CodeStart}} '' '' {{Cl|DECLARE DYNAMIC LIBRARY}} "kernel32" {{Cl|FUNCTION}} SetEnvironmentVariableA& ({{Cl|BYVAL}} lpName {{Cl|AS}} {{Cl|_OFFSET}}, {{Cl|BYVAL}} lpValue {{Cl|AS}} {{Cl|_OFFSET}}) {{Cl|FUNCTION}} GetLastError~& () {{Cl|DECLARE LIBRARY|END DECLARE}} {{Cl|DIM}} Nam {{Cl|AS}} {{Cl|STRING}} {{Cl|DIM}} Value {{Cl|AS}} {{Cl|...")
- 20:39, 18 April 2022 SMcNeill talk contribs created page Console Window (Created page with "QB64 has console window support using the following QB64 Metacommand or keyword: {{PageSyntax}} ::: $CONSOLE ::: _CONSOLE [{ON|OFF}] * _CONSOLE OFF turns the console window off once a console has been established using the $CONSOLE Metacommand. * _CONSOLE ON should only be used AFTER the console window has been turned OFF previously. * _DEST CONSOLE can be used to send screen output to the console window using QB64 commands such as PRINT....")
- 18:48, 18 April 2022 SMcNeill talk contribs created page Boolean (Created page with "foo")
- 18:43, 18 April 2022 SMcNeill talk contribs created page Binary (Created page with "'''Binary''' is the base 2 numbering system. It is used by computers because the computer consists of switches that are either on or off. The primary purpose of reading bit values is to translate what was sent by a port or register read. * Base 2 has numerical values of 0 for off or 1 for on. There is no Qbasic function to return the binary values. * A computer register has 8 bit switches for one byte of data. Each register can return values from 0 to 255 just like ...")
- 18:41, 18 April 2022 SMcNeill talk contribs created page ASCII (Created page with "==ASCII and Extended Codes== {| align="right" | __TOC__ |} <center>[http://en.wikipedia.org/wiki/Code_page_437 MS-DOS code page 437]:</center> :{| border="1" cellpadding="2" ! colspan="8"|[http://ascii.cl/control-characters.htm ASCII Control 0 to 31] | ASCII Keyboard Character Codes 32 to 127 |- ! Code ||Character <tt>[key]</tt> || Code || Character || Code || Character || Code || Character |- | 0 || (N...")
- 18:41, 18 April 2022 SMcNeill talk contribs created page Arrays (Created page with "{| align="center" | __TOC__ |} ===What are Arrays?=== Arrays are simply variables with a number of elements that can each hold data in memory. To designate a certain element, integers denote the value's position in memory. Don't let talk about memory scare you! Basic does all of the work for you just by using the simple commands in this tutorial. Besides that, you have already been using memory since you created your first variable! Arrays can store element bytes...")
- 18:40, 18 April 2022 SMcNeill talk contribs created page Keywords currently not supported by QB64 (Created page with "The keywords listed here are not supported in QB64. QB64 is meant to be compatible with '''QB 4.5 or lower''' versions. '''PDS (7.1) is not supported'''. Older code that uses these keywords won't generate errors, as these are ignored by the compiler. {| align="right" | __TOC__ |} * ALIAS (supported in DECLARE LIBRARY only) * ANY * BYVAL (supported in DECLARE LIBRARY only) * CALLS * CDECL * DATE$ (statement) (reading the current DATE$ is sup...")
- 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
- 13:42, 18 April 2022 SMcNeill talk contribs created page Template:Parameter (Created page with "{{#if {{{Parameter}}} | {{{result&}}} | result& }}")
- 13:04, 18 April 2022 SMcNeill talk contribs created page Syntax Reference - QB64 (Created page with "In alphabetical order. GET/PUT refer to TCP/IP. Keyword that syntax refers to is linked. A brief explanation in grey next to the syntax. Best viewed with maximized browser window. __NOTOC__ <div id="toc"><p style="text-align: center"> _A _B _C _D _E _F _G _H _I _J _K _L _M _N _O _P _Q _R _S _T _U _V _W...")
- 13:03, 18 April 2022 SMcNeill talk contribs created page QB64 FAQ (Created page with "{| align="center" |__TOC__ |} As with everything else, this list will be updated to correspond to new progress of QB64 so make sure that you are using the latest version of '''QB64'''. Please note that it may take a short time to update this list. <center>'''{{text|It's recommended to exclude (whitelist) "qb64.exe" (also the ''internal'' folder) from any real-time anti-virus scanning to prevent IDE Module Errors.|red}}'''</center> ==Q: What is QB64?== A: '''QB...")
- 12:12, 18 April 2022 SMcNeill talk contribs created page Keyword Reference - By usage (Created page with "{| align="Right" | __TOC__ |} Go to Frequently Asked Questions about QB64 Go to Alphabetical keywords Keywords currently not supported by QB64 Keywords Not Supported in Linux or MAC versions == Arrays and Data Storage == <center>'''Arrays'''</center> * _DEFINE (statement) {{text|defines a range of unt...")
- 12:03, 18 April 2022 SMcNeill talk contribs created page Keyword Reference - Alphabetical (Created page with "<div id="toc"><p style="text-align: center"><br> '''Alphabetical QB64 Keyword Listings''' <br><br> '''QB 64:''' _A _B _C _D _E _F _G _H _I _K _L _M _N _O _P _R _S _T _U _V _W <br><br>'''QBasic:''' A B C D #E|...")
- 00:02, 18 April 2022 MediaWiki default talk contribs created page Main Page