Vous êtes sur la page 1sur 2

ABS: AND:

ABS(<number>) (<number>)AND(<number>) IF AND ASC: ASC(<string>) acter in string ATN: ATN(<number>) CHR$: CHR$(<number>) CLOSE: CLOSE <file number CLR: CLR om memory, does te program in memory CMD: CMD <file number> [,<string> ] itor to file d, such as a disk,tape,printer, etc e CLOSEing CONT: CONT mmand COS: COS(<number>) DATA: DATA <list of constants> READ DEF FN: DEF FN <name>(<variable>)=<expression used later DIM: DIM <variable>(<subscripts>) ariables [,<variable>(<subscripts>)] nts 2nd 4 END: END y prompt EXP: EXP(<number>) FN: FN <name>(<variables>) ut FOR: FOR(<variable>)=<number> TO <number> NT X: NEXT STEP <number> NEXT PRINT X: NEXT X FRE: FRE(<any number>) 65536 if negative GET: GET<variable>[,<variable>] wait for return GET#: GET# <file number> <variable list> or file specified GOSUB: GOSUB <line number> RETURN to go back GOTO: GOTO <line number> or GO TO IF: IF<expression>THEN<statement> IF<expression>THEN<line number> IF<expression>GOTO<line number> INPUT: INPUT[<prompt>] <variable list> to variable INPUT#: INPUT# <file number>, <variable list> INT: INT(<number>) sion LEFT$: LEFT$(<string>,<integer>) racters of string LEN: LEN(<string>) LET: LET <variable> = <expression> ptional in assignment

absolute value bitwise and && output ascii value of first char arctangent of input value ascii code to character close file or device channel clears variables, arrays, etc fr not dele switches primary output from mon specifie *send blank line via print befor restarts execution of STOPped co cosine of input value store information to be used by sets user defined function to be 10 DEF FN A (X) = X + 7 20 PRINT FN A(10) defines an array or matrix of v *DIM A%(2,3) two dimensional 1st 3 eleme END exits out of program to read e^x executes function with given inp for loop ex: FOR X=2 TO 20: PRI ex: 20 FOR X=0 TO 10 STEP 0.5: return free space in memory, add reads input from keyboard, doesn't reads in characters from device jumps to location specified, use jumps to location specified if true the executes statement if true jumps to line specified if true jumps to line specified prompts user for input then assignes it retrieves data from file converts integer value of expres returns string of leftmost x cha returns length of string assings to variable expresion, o

LIST: LIST [[<first-line>] - [<last-line>]] to screen LIST [<line-number>] LOAD: LOAD [<file-name>][,<device>] [,<address>] sk is 8 LOG: LOG(<number>) ment base e MID$ MID$ (<string>,<number1>[,<numeber>]) mber1 of length number2 NEW: NEW variables NEXT: NEXT[<counter>][,<counter>] last statement in loop NOT: NOT <expression> lue of each bit ON: ON <variable> GOTO /GOSUB <line-number> ased on number of variable OPEN: OPEN<file-num>,[<device>][,<address>] peripheral device [,<file-name>[,<type>][,<mode>] OR: <expression> OR <expression> erator PEEk: PEEK(<memory-address>) ic address POKE: POKE(<memory-address>) POS: POS(<dummy>) for two lines PRINT: PRINT [<variable>] Print#: PRINT# <file-number>,<variable> [,(<

prints lines within given range prints only line number given loads file specified into memory *device number defaults to 1, di return natural logarithm of argu returns substring from letter nu clears program in memory and all used to increment the FOR loop, logical operator, complements va used to send to multiple lines b open channel for input/output to boolean opperator and bitwise op return memory contents of specif sets memory of specific address returns the cursor position 0-79 prints output to the screen

Vous aimerez peut-être aussi