User contributions for BigRon55
Jump to navigation
Jump to search
19 April 2022
- 15:5115:51, 19 April 2022 diff hist +7,583 N TYPE Created page with "'''TYPE''' definitions are used to create variables that can hold more than one variable type of a fixed byte length. {{PageSyntax}} ::'''TYPE''' typename ::. ::. variable(s) AS type ::. ::'''END TYPE''' * Typename is an undefined type name holder as it can hold any variable types. * TYPE definitions should be placed in the main module before the start of the program code execution. * TYPE definitions CAN be placed in SUB or FUNCTION procedures using QB64..."
- 15:3815:38, 19 April 2022 diff hist +3,608 N PUT Created page with "The '''PUT #''' file or port statement writes data to a specific byte or record location. {{PageSyntax}} :: '''PUT #''filenumber&'',''' [''position''][, {''holdingvariable''|''holdingarray()''}] * File/port number is the number used in the OPEN statement. * The INTEGER or LONG file byte ''position'' in a BINARY file or the record ''position'' in a RANDOM file '''must be greater than zero'''. * The file byte or record ''position'' can be omitte..."
- 15:3715:37, 19 April 2022 diff hist +4,431 N GET Created page with "The GET # statement reads data from a file or port device by bytes or record positions. {{PageSyntax}} : GET #{{Parameter|fileNumber&}}, [{{Parameter|position}}][, {{{Parameter|targetVariable}}|{{Parameter|targetArray()}}}] {{PageDescription}} * {{Parameter|fileNumber&}} is the file or port number used in the OPEN AS BINARY or RANDOM statement. * The INTEGER or LONG byte {{Parameter|position}} in a BINARY file or the record {{Paramete..."
- 15:3615:36, 19 April 2022 diff hist +9,782 N OPEN Created page with "The OPEN statement is used to open a file or COM serial communications port for program input or output. {{PageSyntax}} : OPEN {{Parameter|fileName$}} ['''FOR''' {{Parameter|mode}}] [{{{KW|ACCESS}}|{{{KW|LOCK}}|SHARED}} [{READ|WRITE}] AS [#]{{Parameter|fileNumber&}} [LEN = {{Parameter|recordLength}}] ===Legacy ''GW-BASIC'' syntax=== : OPEN {{Parameter|modeLetter$}}, [#]{{Parameter|fileNumber&}}, {{Parameter|fileName$}}[, {{Parameter|recor..."
- 15:3215:32, 19 April 2022 diff hist +2,923 N RUN Created page with "'''RUN''' is a control flow statement that clears and restarts the program currently in memory or executes another specified program. The multi-modular technique goes back to when QBasic and QuickBASIC had module size constraints. In QB64 it 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 con..."
- 15:3115:31, 19 April 2022 diff hist +1,009 N RTRIM$ Created page with "The {{KW|RTRIM$}} function removes trailing space characters from a {{KW|STRING}} value. {{PageSyntax}} :{{parameter|return$}} = {{KW|RTRIM$}}({{Parameter|value$}}) {{PageDescription}} * {{Parameter|value$}} is the {{KW|STRING}} value to trim. * If {{Parameter|value$}} contains no trailing space characters, {{Parameter|value$}} is returned unchanged. * Convert fixed length {{KW|STRING}} values by using a different {{parameter|return$}} variable. {{PageExamples}} T..."
- 15:3015:30, 19 April 2022 diff hist +1,456 N RSET Created page with "The '''RSET''' statement right-justifies a string according to length of the string expression. {{PageSyntax}} :: RSET string_variable = string_expression * If the ''string_expression'' is longer than a fixed length string variable the value is truncated from the right side in LSET or RSET. * If the ''string_expression'' is smaller than the fixed length, spaces will occupy the extra positions in the string. * RSET can be used with a FIELD or TYPE strin..."
- 15:2915:29, 19 April 2022 diff hist +4,367 N RND Created page with "The '''RND''' function returns a random number with a value between 0 (inclusive) and 1 (exclusive). {{PageSyntax}} :: result! = RND [(''n'')] {{Parameters}} * ''n'' is a SINGLE numeric value that defines the behavior of the RND function but is '''NOT normally required''': ::n parameter omitted: Returns next random number in the sequence. ::n = 0: Return the last value returned. ::n < 0: Always returns the same value for any given n ::n > 0: the sequence of..."
- 15:2615:26, 19 April 2022 diff hist +1,828 N RMDIR Created page with "The {{KW|RMDIR}} statement deletes an empty directory using a designated path relative to the present path location. {{PageSyntax}} :{{KW|RMDIR}} {{Parameter|directory$}} {{PageDescription}} * {{Parameter|directory$}} is a relative path to the directory to delete. * Directory path must be a literal or variable STRING value designating the folder to be deleted. * If the directory contains files or folders, a file/path access error will occur. * If..."
- 15:2515:25, 19 April 2022 diff hist +2,273 N RIGHT$ Created page with "The '''RIGHT$''' function returns a set number of characters in a STRING variable starting from the end and counting backwards. {{PageSyntax}} :: '''RIGHT$('''''stringvalue$, numberofcharacters%''''')''' {{Parameters}} * The ''stringvalue$'' can be any string of ASCII characters as a STRING variable. * The ''numberofcharacters'' INTEGER value determines the number of characters to return from the right end of the string. {{PageDescription}} * If th..."
- 15:2515:25, 19 April 2022 diff hist +1,747 N RETURN Created page with "'''RETURN''' is used in GOSUB procedures to return to the original call code line or a specified line label. {{PageSyntax}} :: '''RETURN''' [{''linelabel''|''linenumber''}] {{Parameters}} * RETURN without parameters returns to the code immediately following the original GOSUB call. * ''line number'' or ''linelabel'' after the RETURN statement returns code execution to that label. ''Usage:'' * Normally required at the end of a GOSUB procedure unless the..."
- 15:2415:24, 19 April 2022 diff hist +766 N RESUME Created page with "The '''RESUME''' statement is used with '''NEXT''' or a line number or label in an error handling routine. {{PageSyntax}} : RESUME {'''NEXT'''|{{Parameter|lineLabel}}|{{Parameter|lineNumber}}} {{PageDescription}} * '''NEXT''' returns execution to the code immediately following the error. * A {{Parameter|lineLabel}} or {{Parameter|lineNumber}} is the code line to return to after an error. * If the line label or number is omitted or the line number = 0, the code ex..."
- 15:2315:23, 19 April 2022 diff hist +3,110 N RESTORE Created page with "The '''RESTORE''' statement is used to reset the DATA pointer to the beginning of the data. {{PageSyntax}} :: RESTORE [datafield] * The datafield line label or number enables a labeled data field to be READ more than once as required. * Datafield label names are not required when working with ONE or a progression of data fields in the main body of code. * Label multiple data fields to restore them to use them again when necessary. * If RESTORE is used with unlab..."
- 15:2315:23, 19 April 2022 diff hist +539 N RESET Created page with "The '''RESET''' statement closes all files and writes the directory information to a diskette before it is removed from a disk drive. {{PageSyntax}} :: RESET * Always execute a RESET command before removing a diskette from a disk drive. Otherwise, when the diskette is used again, it will not have the current directory information written on the directory track. * RESET closes all open files on all drives and writes the directory track to every diskette with open fil..."
- 15:2215:22, 19 April 2022 diff hist +987 REM No edit summary Tags: Manual revert visualeditor-switched
- 15:2015:20, 19 April 2022 diff hist −987 REM Blanked the page Tag: Blanking
- 15:1915:19, 19 April 2022 diff hist +987 N REM Created page with "'''REM''' or an apostrophe is used for programmer remarks, comments or to stop the execution of program code. {{PageSyntax}} :: REM program comment or ignore code {{PageDescription}} * Comments cannot be read by Qbasic correctly and may cause syntax and other errors without REM! * Instead of REM you can use the {{KW|REM|'}} symbol which can be put anywhere. * Code can also be commented out for program testing purposes. * Qbasic Metacommands such as {{KW|$DYNAMIC}} an..."
- 14:5614:56, 19 April 2022 diff hist +2,988 N REDIM Created page with "A {{KW|REDIM}} statement can re-dimension one dynamic(flexible) array or a comma separated list of arrays. {{PageSyntax}} :REDIM [{{KW|_PRESERVE}}] [{{KW|SHARED}}] ArrayName[''typesuffix''] ({''max_element''|low_element[{{KW|TO}} ''upper_element'', ...]}) [{{KW|AS}} {{KW|TYPE|Type}}] {{PageDescription}} * Can change the number of elements in an array (the present array data is lost unless _PRESERVE is used). * Dynamic array element..."
- 14:5514:55, 19 April 2022 diff hist +3,080 N READ Created page with "The '''READ''' statement reads values from a DATA field and assigns them to one or a comma separated list of variables. {{PageSyntax}} ::: READ value1$[, value2!, value3%, ...] * READ statements assign variables to DATA statement values on a one-to-one basis sequentially. * A single READ statement may access one or more DATA values. They are accessed in the order set. * Several READ statements may access the same DATA statement block at the foll..."
- 14:5414:54, 19 April 2022 diff hist +3,756 N RANDOMIZE Created page with "'''RANDOMIZE''' is used with a seed value to generate different random number sequences using the RND function. {{PageSyntax}} :: '''RANDOMIZE''' [USING] '''{''seednumber''|TIMER}''' * The ''seed number'' can be ANY positive or negative numerical type value. The TIMER value is often used to change RND output each run. * If the ''seed number'' is omitted, the program will display: '''Random-number seed (-32768 to 32767)?''' request on screen. * '''USING'''..."
- 14:5314:53, 19 April 2022 diff hist +4,316 N RANDOM Created page with "'''RANDOM''' is used in an OPEN statement to read(GET) from or write(PUT) to a file. {{PageSyntax}} :: OPEN Filename$ FOR RANDOM AS #1 [LEN = ''recordlength%''] * RANDOM is the Default mode if no mode is given in the OPEN statement. * It creates the file if the legal file name given does NOT exist. * As a RANDOM file, it can read or write any record using GET and/or PUT statements. * ''Recordlength%'' is determined by getting the LEN of a [..."
- 14:2514:25, 19 April 2022 diff hist +3,397 N UNSIGNED Created page with "{{DISPLAYTITLE:_UNSIGNED}} _UNSIGNED defines a numerical value as being only positive. {{PageSyntax}} : DIM {{Parameter|variable}} AS [{{KW|_UNSIGNED}}] {{Parameter|datatype}} : _DEFINE {{Parameter|letterRange}} AS [{{KW|_UNSIGNED}}] {{Parameter|datatype}} {{PageDescription}} * Datatype can be any of the following: INTEGER, LONG, _BIT, _BYTE, _INTEGER64, _OFFSET *'''SINGLE, DOUBLE and _FLOAT variable types can..."
- 14:2414:24, 19 April 2022 diff hist +2,663 N INTEGER Created page with "INTEGER is a 2-byte number type definition that can hold whole numerical values. {{PageSyntax}} : DIM ''variable'' AS INTEGER * Integers do not use decimal point values but will round those off to the nearest even whole number. * QBasic integer values can range from -32768 to 32767 without an "overflow" error. * For larger integer values use the LONG integer type. * '''QB64''' INTEGER values greater than 32767 become negative signed values instead..."
- 14:2214:22, 19 April 2022 diff hist +2,283 N PALETTECOLOR (function) Created page with "{{DISPLAYTITLE:_PALETTECOLOR (function)}} The _PALETTECOLOR function is used to return the 32 bit attribute color setting of an image or screen page handle's palette. {{PageSyntax}} : {{Parameter|color32Value&}} = _PALETTECOLOR({{Parameter|attributeNumber%}}, {{Parameter|imgHandle&}}) {{PageDescription}} * {{Parameter|attributeNumber%}} is the color attribute value from 0 to 255 for 1, 4 or 8 bit images. * {{P..."
- 14:2114:21, 19 April 2022 diff hist +7,366 N POINT Created page with "The '''POINT''' function returns the pixel COLOR attribute at a specified graphics coordinate or the current graphic cursor position. ''Color'' {{PageSyntax}} ::::color_attribute% = '''POINT ('''''column%, row%''''')''' ''Graphic cursor position'' {{PageSyntax}} ::::pointer_coordinate% = '''POINT('''{0|1|2|3}''')''' {{Parameters}} Graphic Color syntax: * The INTEGER ''column'' and ''row'' coordinates designate the pixel position color on the screen to re..."
- 14:2014:20, 19 April 2022 diff hist +1,216 N LONG Created page with "LONG defines a variable as a 4 byte number type definition for larger INTEGER values. {{PageSyntax}} : DIM {{Parameter|variable}} AS LONG * LONG integer values range from -2147483648 to 2147483647. * '''QB64''''s _UNSIGNED LONG integer values range from 0 to 4294967295. * '''QB64''' _UNSIGNED _INTEGER64 values range from 0 to 18446744073709551615. * Decimal point values assigned to a LONG variable will be rounded to the nearest..."
- 14:1114:11, 19 April 2022 diff hist +932 N ROUND Created page with "{{DISPLAYTITLE:_ROUND}} The _ROUND function rounds to the closest even INTEGER, LONG or _INTEGER64 numerical value. {{PageSyntax}} : {{Parameter|value}} = _ROUND({{Parameter|number}}) {{PageDescription}} * Can round SINGLE, DOUBLE or _FLOAT floating decimal point parameter values. * Can be used when numerical values exceed the limits of CINT or CLNG. * Rounding is done to the closest even integer value. The same as..."
- 14:1014:10, 19 April 2022 diff hist +2,694 N RGBA32 Created page with "{{DISPLAYTITLE:_RGBA32}} The _RGBA32 function returns the 32-bit ''RGBA'' color value with the specified red, green, blue and alpha component intensities. {{PageSyntax}} : {{Parameter|color32value~&}} = _RGBA32({{Parameter|red&}}, {{Parameter|green&}}, {{Parameter|blue&}}, {{Parameter|alpha&}}) {{PageDescription}} * The value returned is a 32-bit _UNSIGNED LONG color value. * '''Return variable types must be _UNSIGNED LONG or resulting color..."
- 14:1014:10, 19 April 2022 diff hist +2,715 N RGBA Created page with "{{DISPLAYTITLE:_RGBA}} The _RGBA function returns the closest palette index (legacy SCREEN modes) OR the 32-bit LONG color value (32-bit screens). {{PageSyntax}} : {{Parameter|colorIndex~&}} = _RGBA({{Parameter|red&}}, {{Parameter|green&}}, {{Parameter|blue&}}, {{Parameter|alpha&}}[, {{Parameter|imageHandle&}}]''')''' * The value returned is either the closest color attribute number or a 32-bit _UNSIGNED LONG color value. * '''Return variable typ..."
- 14:0914:09, 19 April 2022 diff hist +6,027 N RGB32 Created page with "{{DISPLAYTITLE:_RGB32}} The _RGB32 function returns the 32-bit ''RGBA'' color value with specified red, green and blue component intensities and optional alpha. {{PageSyntax}} ''Original syntax'': :{{Parameter|color32value~&}} = _RGB32({{Parameter|red&}}, {{Parameter|green&}}, {{Parameter|blue&}}) ''Alternative Syntax 2'': :{{Parameter|color32value~&}} = _RGB32({{Parameter|red&}}, {{Parameter|green&}}, {{Parameter|blue&}}, {{Parameter|alpha&}}) ''Alternat..."
- 14:0814:08, 19 April 2022 diff hist +3,565 N RGB Created page with "{{DISPLAYTITLE:_RGB}} The _RGB function returns the closest palette attribute index (legacy SCREEN modes) OR the LONG 32-bit color value (32-bit screens). {{PageSyntax}} : {{Parameter|colorIndex~&}} = _RGB({{Parameter|red&}}, {{Parameter|green&}}, {{Parameter|blue&}}[, {{Parameter|imageHandle&}}]) {{PageDescription}} * The value returned is either the closest color attribute number or a 32-bit _UNSIGNED LONG color value. * '''Return variable typ..."
- 14:0714:07, 19 April 2022 diff hist +1,374 N RESIZEWIDTH Created page with "{{DISPLAYTITLE:_RESIZEWIDTH}} The _RESIZEWIDTH function returns the user resized screen pixel width if $RESIZE:ON allows it and _RESIZE returns -1 {{PageSyntax}} : {{Parameter|newWidth&}} = _RESIZEWIDTH {{PageDescription}} * _RESIZE function must return true (-1) before the requested screen dimensions can be returned by the function. * The program should decide if the request is allowable for proper program i..."
- 14:0614:06, 19 April 2022 diff hist +1,381 N RESIZEHEIGHT Created page with "{{DISPLAYTITLE:_RESIZEHEIGHT}} The _RESIZEHEIGHT function returns the user resized screen pixel height if $RESIZE:ON allows it and _RESIZE returns -1 {{PageSyntax}} : {{Parameter|newHeight&}} = _RESIZEHEIGHT {{Parameter|Details:}} * _RESIZE function must return true (-1) before the requested screen dimensions can be returned by the function. * The program should decide if the request is allowable for proper p..."
- 14:0514:05, 19 April 2022 diff hist +1,545 N RESIZE (function) Created page with "{{DISPLAYTITLE:_RESIZE (function)}} The _RESIZE function returns true (-1) when a user has attempted to resize the program window and $RESIZE:ON has allowed it. {{PageSyntax}} : IF '''_RESIZE''' THEN rx& = _RESIZEWIDTH: ry& = _RESIZEHEIGHT {{PageDescription}} * The function returns -1 if a program screen resize was attempted by the user. * After the function returns -1, _RESIZEWIDTH and _RESIZEHEIGHT can return the new requested dimensions in..."
- 14:0414:04, 19 April 2022 diff hist +606 N RESIZE Created page with "{{DISPLAYTITLE:_RESIZE}} The _RESIZE statement sets resizing of the window ON or OFF and sets the method as _STRETCH or _SMOOTH. {{PageSyntax}} : _RESIZE [{ON|OFF}][, {_STRETCH|_SMOOTH}] {{Parameters}} * When resizing is turned OFF no method is listed. * When resizing is turned ON or left empty, a ''_STRETCH'' or ''_SMOOTH'' method can be used. {{PageDescription}} * Before this statement can be used, you must add the $RESIZE''':ON''' metacommand to y..."
- 14:0214:02, 19 April 2022 diff hist +4,464 N $RESIZE Created page with "The $RESIZE metacommand determines if a program window can be resized by the user. {{PageSyntax}} : $RESIZE:{ON|OFF|STRETCH|SMOOTH} {{PageDescription}} * $RESIZE:ON is used to allow the program window to be resized by a program user. Otherwise it cannot be changed. * $RESIZE:OFF ('''default''') is used when the program's window size cannot be changed by the user. * $RESIZE:STRETCH the screen will be stretched to fit the new window size with a..."
- 14:0114:01, 19 April 2022 diff hist +1,319 N RESETBIT Created page with "{{DISPLAYTITLE:_RESETBIT}} The _RESETBIT function is used to set a specified bit of a numerical value to 0 (OFF state). {{PageSyntax}} :{{Parameter|result}} = _RESETBIT({{Parameter|numericalVariable}}, {{Parameter|numericalValue}}) {{Parameters}} * {{Parameter|numericalVariable}} is the variable to set the bit of and can be of the following types: _BYTE, INTEGER, LONG, or _INTEGER64. * Integer values can be signed or _UNSIGNED. * {{Paramet..."
- 14:0014:00, 19 April 2022 diff hist +1,755 N READBIT Created page with "{{DISPLAYTITLE:_READBIT}} The _READBIT function is used to check the state of a specified bit of a integer value. {{PageSyntax}} :{{Parameter|result}} = _READBIT({{Parameter|numericalVariable}}, {{Parameter|numericalValue}}) {{Parameters}} * {{Parameter|numericalVariable}} is the variable to read the state of a bit of and can be of the following types: _BYTE, INTEGER, LONG, or _INTEGER64. * Integer values can be signed or _UNSIGNED. * {{Pa..."
- 13:5913:59, 19 April 2022 diff hist +740 N RED32 Created page with "{{DISPLAYTITLE:_RED32}} The _RED32 function returns the red component intensity of a 32-bit image or surface color. {{PageSyntax}} : {{Parameter|red32color&}} = _RED32({{Parameter|rgbaColor&}}) {{PageDescription}} * {{Parameter|rgbaColor&}} is the 32-bit ''RGBA'' color value to retrieve the red component intensity value from. * ''RGBA'' color values are returned by the _PALETTECOLOR, POINT, _RGB, _RGB32, _RGBA or [..."
- 13:5713:57, 19 April 2022 diff hist 0 RED No edit summary current
- 13:5613:56, 19 April 2022 diff hist +1,428 N RED Created page with "{{DISPLAYTITLE:_RED}} The _RED function returns the palette index or the red component intensity of a 32-bit image color. {{PageSyntax}} : {{Parameter|redIntensity&}} = _RED({{Parameter|rgbaColorIndex&}}[, {{Parameter|imageHandle&}}]) {{PageDescription}} * {{Parameter|rgbaColorIndex&}} is the ''RGBA'' color value or palette index of the color to retrieve the red component intensity from. * The LONG intensity value returned ranges from 0 (no intensity, not..."
- 13:3113:31, 19 April 2022 diff hist +4 N Template:OutputEnd Created page with "</p>"
- 13:3113:31, 19 April 2022 diff hist +177 N Template:OutputStart Created page with "<p style="padding: 1em; line-height:100%; margin-left:5px; white-space: pre; font-family: Courier, monospace; background-color: black; color: lightgrey; word-wrap: break-word;">"
- 00:0900:09, 19 April 2022 diff hist +603 N G2R Created page with "{{DISPLAYTITLE:_G2R}} The _G2R function converts a '''gradient''' value into a '''radian''' value. {{PageSyntax}} : {{Parameter|result}} = _G2R({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Gradient into Radians. {{CodeStart}} INPUT "Give me an angle in Gradient ", D R = _G2R(D) PRINT "That angle in Radians is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Gradient 60 That angle in Radians i..."
- 00:0900:09, 19 April 2022 diff hist +592 N G2D Created page with "{{DISPLAYTITLE:_G2D}} The _G2D function converts a '''gradient''' value into a '''degree''' value. {{PageSyntax}} : {{Parameter|result}} = _G2D({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Gradients into Degree. {{CodeStart}} INPUT "Give me an angle in Gradients ", D R = _G2D(D) PRINT "That angle in Degrees is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Gradients 60 That angle in Degrees..."
- 00:0800:08, 19 April 2022 diff hist +596 N R2G Created page with "{{DISPLAYTITLE:_R2G}} The _R2G function converts a '''radian''' value into a '''gradient''' value. {{PageSyntax}} : {{Parameter|result!}} = _R2G({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Radian into Gradient. {{CodeStart}} INPUT "Give me an angle in Radians ", D R = _R2G(D) PRINT "That angle in Gradient is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Radians 0.5 That angle in Gradient..."
- 00:0800:08, 19 April 2022 diff hist +598 N D2R Created page with "{{DISPLAYTITLE:_D2R}} The _D2R function converts a '''degree''' value into a '''radian''' value. {{PageSyntax}} :: {{Parameter|result}} = _D2R({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Degrees into Radians. {{CodeStart}} INPUT "Give me an angle in Degrees ", D R = _D2R(D) PRINT "That angle in Radians is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Degrees 60 That angle in Radians is 1...."
- 00:0700:07, 19 April 2022 diff hist +593 N D2G Created page with "{{DISPLAYTITLE:_D2G}} The _D2G function converts a '''degree''' value into a '''gradient''' value. {{PageSyntax}} : {{Parameter|result}} = _D2G({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Degrees into Gradient. {{CodeStart}} INPUT "Give me an angle in Degrees ", D R = _D2G(D) PRINT "That angle in Gradient is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Degrees 60 That angle in Gradient i..."
- 00:0100:01, 19 April 2022 diff hist +6,595 N PRINT Created page with "The {{KW|PRINT}} statement prints numeric or string expressions to the program screen. Typing shortcut '''?''' will convert to PRINT. {{PageSyntax}} ::: '''PRINT''' [{{Parameter|expression}}] [{;|,] [''expression''...] {{Parameters}} * {{Parameter|expression}} is a numeric or string expression or list of expressions to be written to the screen. End quotes will not be displayed in strings. * The print statement can be followed by a semicolon to stop the print cur..."
18 April 2022
- 23:5823:58, 18 April 2022 diff hist +590 N R2D Created page with "{{DISPLAYTITLE:_R2D}} The _R2D function converts a '''radian''' value into a '''degree''' value. {{PageSyntax}} : {{Parameter|result!}} = _R2D({{Parameter|num}}) ==Availability== * '''Version 1.000 and up.''' {{PageExamples}} ''Example:'' Coverting Radian into Degree. {{CodeStart}} INPUT "Give me an angle in Radians ", D R = _R2D(D) PRINT "That angle in Degrees is "; R {{CodeEnd}} {{OutputStart}} Give me an angle in Radians 0.5 That angle in Degrees is..."