Copertina Corso Basic, lista comandi elenco compendio comandi istruzioni funzioni Basic V2 Commodore 64

Elenco comandi Basic V2 del Commodore 64

Ecco la lista dei comandi del Basic V2 del Commodore 64, con una semplice spiegazione. Questo è un semplice compendio per ricordare tutti i comandi, le istruzioni e le funzioni, quando già si sa come utilizzarli!

Iscriviti al canale YouTube: Valoroso-IT. Retro tecnologia, Commodore, impianti stereo vintage, retro computer, esperimenti e prove.
InstructionDescriptionType
ABSReturns the absolute value of a numberFunction, numerical
ANDReturns true if both conditions are trueOperator, logical
ASCReturns the numerical value of a charFunction, numerical
ATNReturns the arctangent of a numberFunction, numerical
CHR$Returns the character corresponding to the numberFunction, string
CLOSECloses a fileInstruction/command
CLRDelete variables arrays, data, …Instruction/command
CMDChanges the data output to other peripheralInstruction/command
CONTResumes execution of a BASIC programCommand
COSReturns the cosine of an angle (rad)Function, numerical
DATAStores constant information in the program codeInstruction/command
DEFDefines a functionInstruction
DIMAllocates space in array memory for a new arrayInstruction/command
ENDEnds the processing of the current programInstruction/command
EXP“e” with the power given by the argumentFunction, numerical
FNExecutes a functionFunction, numerical, special
FORFOR … TO … STEP … NEXT loopInstruction/command
FREReturns the number of unused bytes of BASIC RAMFunction, numerical, special
GETReads one or more chars from the keyboardInstruction
GET#Reads single characters from the specified deviceInstruction/command, special
GOSUBJumps to a subroutine … RETURNInstruction/command
GOTOJumps to a line numberInstruction/command
IFTests a condition IF … THENInstruction/command
INPUTReads data from the keyboardInstruction
INPUT#Reads data from a file stored on peripheral deviceInstruction
INTRounds a numberFunction, numerical
LEFT$Left chars of a stringFunction, string
LENReturns the number of characters in a stringFunction, numerical
LETAssign values in a variableInstruction/command
LISTDisplays the BASIC program in memoryInstruction/command
LOADLoads a programInstruction/command
LOGNatural logarithm with the basis eFunction, numerical
MID$Inner chars of a stringFunction, string
NEWClears RAM and programInstruction/command
NEXTFOR … TO … STEP … NEXT loopInstruction/command
NOTReverses true to falseOperator, logical
ONContruct ON … GOTO, ON … GOSUBInstruction/command
OPENOpens a file or a channelInstruction/command
ORReturns true if one or both conditions are trueOperator, logical
PEEKReturns the memory contentFunction, numerical
POKEChanges the content of any memory addressInstruction/command
POSDetermines the actual position of the cursorFunction, numerical, special
PRINTPrints data to the current output deviceInstruction/command
PRINT#Stores data in a fileInstruction/command
READReads constant values from DATAInstruction
REMCommentsInstruction/command
RESTOREClears the pointer of the next data valueInstruction/command
RETURNFinishes a subroutine: GOSUB …  RETURNInstruction/command
RIGHT$Right chars of a stringFunction, string
RNDGenerates a random floating point numberFunction, numerical
RUNStarts a programInstruction/command
SAVESaves a programInstruction/command
SGNReturns the sign of a number (-1, 0, 1)Function, numerical
SINReturns the sine of an angle (rad)Function, numerical
SPCSets a number of spacesFunction, PRINT
SQRCalculates square root of a numberFunction, numerical
STEPFOR … TO … STEP … NEXT loopInstruction/command, special
STOPBreaks a programInstruction/command
STR$Converts numerical values or variables into a stringFunction, string
SYSSystem stateInstruction/command
TABSets the cursor columnFunction, PRINT
TANReturns the tangent for a given angle (rad)Function, numerical
THENTests a condition IF … THENInstruction/command, special
TOFOR … TO … STEP … NEXT loopInstruction/command, special
USRUser-defined function in the built-in BASICFunction, numerical/string
VALReturns the numerical value of a stringFunction, numerical
VERIFYVerify a saved programInstruction/command
WAITWaits for a memory location to assume specific valuesInstruction/command
+SumOperator, numerical/string
SubtractionOperator, numerical
*MultiplicationOperator, numerical
/DivisionOperator, numerical
^ExponentOperator, numerical
>GreaterOperator, logical
=EqualOperator, logical
<LessOperator, logical
π (pi)3.1415926…Function, numerical, special

Sul sito www.valoroso.it e sul canale YouTube ValorosoIT, sto pubblicando diverse puntate per imparare a programmare in Basic, con il Comodore 64, GwBasic, QuickBasic, QB64, Atari, ecc…

Iscriviti al canale YouTube: Valoroso-IT. Retro tecnologia, Commodore, impianti stereo vintage, retro computer, esperimenti e prove.
Iscriviti al gruppo Facebook. Retro tecnologia, Commodore, impianti stereo vintage, retro computer, esperimenti e prove.

Ti piace questa pagina? Condividila:

Pubblicato in RetroComputer, RetroTecnologia ed Elettronica Vintage, Tutti gli articoli.

Lascia un commento

Il tuo indirizzo email non sarà pubblicato.

Immagine CAPTCHA

*