User contributions for SMcNeill
Jump to navigation
Jump to search
18 April 2022
- 22:0122:01, 18 April 2022 diff hist +1,108 N BACKGROUNDCOLOR Created page with "{{DISPLAYTITLE:_BACKGROUNDCOLOR}} The _BACKGROUNDCOLOR function returns the current background color. {{PageSyntax}} :{{Parameter|BGcolor&}} = _BACKGROUNDCOLOR {{PageDescription}} * Use it to get the current background color to restore later in a program. * Returns the closest attribute value of the background color. {{PageExamples}} ''Example 1:'' Storing a background color for later use. {{CodeStart}} '' '' {{Cl|SCREEN}} 0 {{Cl|COLOR}} 1, 3 {{Cl|CLS}} BG..."
- 21:5921:59, 18 April 2022 diff hist +2,084 N AXIS Created page with "{{DISPLAYTITLE:_AXIS}} The _AXIS function returns the relative position of a specified axis number on a controller device. {{PageSyntax}} : {{Parameter|move!}} = _AXIS({{Parameter|axis_number%}}) * SINGLE values returned range between -1 and 1 as maximums and 0 indicating minimum or axis center. * When the mouse is moved on the program screen, moves left or above center are negative while below or right are positive. * The ''axis_number'' must be a number..."
- 21:4321:43, 18 April 2022 diff hist +838 N AUTODISPLAY (function) Created page with "{{DISPLAYTITLE:_AUTODISPLAY (function)}} The _AUTODISPLAY function returns the current display mode as true (-1) if automatic or false (0) if disabled using _DISPLAY. {{PageSyntax}} : {{Parameter|displayStatus%%}} = _AUTODISPLAY {{PageDescription}} * The function returns true (-1) if _AUTODISPLAY is enabled. This is the default state and indicates that every screen change (text or graphics) is displayed..."
- 21:4221:42, 18 April 2022 diff hist +822 N AUTODISPLAY Created page with "{{DISPLAYTITLE:_AUTODISPLAY}} The _AUTODISPLAY statement enables the automatic display of the screen image changes previously disabled by _DISPLAY. {{PageSyntax}} :_AUTODISPLAY {{PageDescription}} * _AUTODISPLAY is on by default and displays the screen at around 30 frames per second (normal vertical retrace speed). * _DISPLAY disables automatic graphic displays, but it also eliminates having to use PCOPY or page flipping when used correctly. Placi..."
- 21:4221:42, 18 April 2022 diff hist +959 N 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:4121:41, 18 April 2022 diff hist +1,479 N 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:3921:39, 18 April 2022 diff hist +1,066 N $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:3921:39, 18 April 2022 diff hist +1,388 N 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:1121:11, 18 April 2022 diff hist +944 N 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:1021:10, 18 April 2022 diff hist +2,572 N 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:0921:09, 18 April 2022 diff hist +2,033 N 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:0921:09, 18 April 2022 diff hist +2,745 N 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:5120:51, 18 April 2022 diff hist 0 N File:IDE macos.png No edit summary
- 20:4820:48, 18 April 2022 diff hist −19 Main Page No edit summary
- 20:4620:46, 18 April 2022 diff hist +2,762 N 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:4620:46, 18 April 2022 diff hist +970 N 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:4520:45, 18 April 2022 diff hist +3,553 ACOS No edit summary
- 20:4320:43, 18 April 2022 diff hist +84 N ACOS Created page with "https://qb64phoenix.com/wiki/www.qb64.org/wiki/index1115.html?title=ACOS&action=edit"
- 20:4320:43, 18 April 2022 diff hist +2,123 N 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:4120:41, 18 April 2022 diff hist +22,957 N 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:4120:41, 18 April 2022 diff hist +4,735 N 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:4020:40, 18 April 2022 diff hist +8,639 N 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:3920:39, 18 April 2022 diff hist +2,290 N 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...."
- 20:3420:34, 18 April 2022 diff hist +1,740 Boolean No edit summary
- 20:3320:33, 18 April 2022 diff hist +86 Boolean No edit summary
- 18:5718:57, 18 April 2022 diff hist +21 Boolean No edit summary
- 18:5518:55, 18 April 2022 diff hist +144 Boolean No edit summary
- 18:5418:54, 18 April 2022 diff hist +605 Boolean No edit summary
- 18:5218:52, 18 April 2022 diff hist +337 Boolean No edit summary
- 18:5118:51, 18 April 2022 diff hist +713 Boolean No edit summary
- 18:4918:49, 18 April 2022 diff hist +460 Boolean No edit summary
- 18:4818:48, 18 April 2022 diff hist +3 N Boolean Created page with "foo"
- 18:4318:43, 18 April 2022 diff hist +5,442 N 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:4118:41, 18 April 2022 diff hist +24,953 N 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:4118:41, 18 April 2022 diff hist +17,245 N 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:4018:40, 18 April 2022 diff hist +2,293 N 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..."
- 14:3114:31, 18 April 2022 diff hist −19 Template:Parameter No edit summary
- 13:4213:42, 18 April 2022 diff hist +50 N Template:Parameter Created page with "{{#if {{{Parameter}}} | {{{result&}}} | result& }}"
- 13:0313:03, 18 April 2022 diff hist +14,693 N 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:1212:12, 18 April 2022 diff hist +84,493 N 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:0612:06, 18 April 2022 diff hist −894 Main Page No edit summary
- 12:0412:04, 18 April 2022 diff hist +87,713 Keyword Reference - Alphabetical No edit summary
- 12:0312:03, 18 April 2022 diff hist +1,198 N 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|..."
- 05:5105:51, 18 April 2022 diff hist +2,385 Main Page No edit summary