00000000: D2 45 46 20 20 31 31 20 20 20 20 20 20 20 20 20 |.EF 11 |
00000010: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 D4 48 | .H|
00000020: 45 20 C3 C1 CC C3 20 C3 4F 4D 4D 41 4E 44 20 20 |E .... .OMMAND |
00000030: 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 20 | |
00000040: 20 20 20 C3 C1 CC C3 20 20 D0 41 47 45 20 31 0D | .... .AGE 1.|
00000050: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000060: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000070: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000080: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D |----------------|
00000090: 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 2D 0D |---------------.|
000000A0: 0D D4 48 45 20 C3 C1 CC C3 20 28 43 41 4C 43 55 |..HE .... (CALCU|
000000B0: 4C 41 54 45 29 20 46 55 4E 43 54 49 4F 4E 20 49 |LATE) FUNCTION I|
000000C0: 53 20 55 53 45 44 20 54 4F 20 45 56 41 4C 55 41 |S USED TO EVALUA|
000000D0: 54 45 20 41 4E 44 20 4F 52 20 44 49 53 50 4C 41 |TE AND OR DISPLA|
000000E0: 59 20 41 4E 59 20 45 58 50 52 45 53 53 49 4F 4E |Y ANY EXPRESSION|
000000F0: 2E 0D D4 48 45 20 46 55 4C 4C 20 52 41 4E 47 45 |...HE FULL RANGE|
00000100: 20 4F 46 20 C2 C1 D3 C9 C3 20 46 55 4E 43 54 49 | OF ..... FUNCTI|
00000110: 4F 4E 53 20 49 4E 43 4C 55 44 49 4E 47 20 54 52 |ONS INCLUDING TR|
00000120: 49 47 4F 4E 4F 4D 45 54 52 49 43 41 4C 20 4F 50 |IGONOMETRICAL OP|
00000130: 45 52 41 54 49 4F 4E 53 20 43 41 4E 20 42 45 0D |ERATIONS CAN BE.|
00000140: 50 45 52 46 4F 52 4D 45 44 2E 20 D2 45 53 55 4C |PERFORMED. .ESUL|
00000150: 54 53 20 43 41 4E 20 42 45 20 53 54 4F 52 45 44 |TS CAN BE STORED|
00000160: 20 49 4E 20 C2 C1 D3 C9 C3 20 56 41 52 49 41 42 | IN ..... VARIAB|
00000170: 4C 45 53 2C 20 46 49 45 4C 44 53 20 4F 52 20 53 |LES, FIELDS OR S|
00000180: 49 4D 50 4C 59 20 44 49 53 50 4C 41 59 45 44 2E |IMPLY DISPLAYED.|
00000190: 0D 0D C3 4F 4D 4D 41 4E 44 20 D3 59 4E 54 41 58 |...OMMAND .YNTAX|
000001A0: 3A 0D 0D 20 20 20 20 C3 C1 CC C3 20 5B 46 49 45 |:.. .... [FIE|
000001B0: 4C 44 5D 20 3D 20 45 58 50 52 45 53 53 49 4F 4E |LD] = EXPRESSION|
000001C0: 20 3B 20 5B 46 49 45 4C 44 5D 20 3D 20 45 58 50 | ; [FIELD] = EXP|
000001D0: 52 45 53 53 49 4F 4E 0D 20 20 20 20 C3 C1 CC C3 |RESSION. ....|
000001E0: 20 41 20 3D 20 45 58 50 52 45 53 53 49 4F 4E 20 | A = EXPRESSION |
000001F0: 3B 20 42 20 3D 20 45 58 50 52 45 53 53 49 4F 4E |; B = EXPRESSION|
00000200: 0D 20 20 20 20 C3 C1 CC C3 20 45 58 50 52 45 53 |. .... EXPRES|
00000210: 53 49 4F 4E 0D 0D 31 2E 20 CD 55 4C 54 49 50 4C |SION..1. .ULTIPL|
00000220: 45 20 43 41 4C 43 55 4C 41 54 49 4F 4E 53 20 53 |E CALCULATIONS S|
00000230: 48 4F 55 4C 44 20 42 45 20 53 45 50 41 52 41 54 |HOULD BE SEPARAT|
00000240: 45 44 20 42 59 20 53 45 4D 49 2D 43 4F 4C 4F 4E |ED BY SEMI-COLON|
00000250: 53 20 41 53 20 41 42 4F 56 45 2E 0D 20 20 20 C9 |S AS ABOVE.. .|
00000260: 46 20 41 4E 20 45 58 50 52 45 53 53 49 4F 4E 20 |F AN EXPRESSION |
00000270: 49 53 20 46 4F 55 4E 44 20 57 49 54 48 20 4E 4F |IS FOUND WITH NO|
00000280: 20 45 51 55 41 4C 53 20 53 49 47 4E 20 54 48 45 | EQUALS SIGN THE|
00000290: 4E 20 54 48 45 20 52 45 53 55 4C 54 20 57 49 4C |N THE RESULT WIL|
000002A0: 4C 20 42 45 20 50 52 49 4E 54 45 44 0D 20 20 20 |L BE PRINTED. |
000002B0: 4F 52 20 44 49 53 50 4C 41 59 45 44 20 54 4F 47 |OR DISPLAYED TOG|
000002C0: 45 54 48 45 52 20 57 49 54 48 20 41 4E 59 20 46 |ETHER WITH ANY F|
000002D0: 4F 4C 4C 4F 57 49 4E 47 20 49 4E 46 4F 52 4D 41 |OLLOWING INFORMA|
000002E0: 54 49 4F 4E 2C 20 45 56 45 4E 20 49 46 20 4D 4F |TION, EVEN IF MO|
000002F0: 52 45 0D 20 20 20 53 45 4D 49 2D 43 4F 4C 4F 4E |RE. SEMI-COLON|
00000300: 53 20 41 52 45 20 46 4F 55 4E 44 2E 20 C9 4E 46 |S ARE FOUND. .NF|
00000310: 4F 52 4D 41 54 49 4F 4E 20 54 4F 20 42 45 20 50 |ORMATION TO BE P|
00000320: 52 49 4E 54 45 44 20 53 48 4F 55 4C 44 20 54 48 |RINTED SHOULD TH|
00000330: 45 52 45 46 4F 52 45 20 41 50 50 45 41 52 20 4C |EREFORE APPEAR L|
00000340: 41 53 54 0D 20 20 20 49 4E 20 54 48 45 20 C3 C1 |AST. IN THE ..|
00000350: CC C3 20 45 58 50 52 45 53 53 49 4F 4E 2E 0D 0D |.. EXPRESSION...|
00000360: 32 2E 20 C1 20 43 4F 4D 50 4C 45 54 45 20 52 45 |2. . COMPLETE RE|
00000370: 43 4F 52 44 20 43 41 4E 20 42 45 20 45 4E 54 45 |CORD CAN BE ENTE|
00000380: 52 45 44 20 42 59 20 46 49 52 53 54 20 55 53 49 |RED BY FIRST USI|
00000390: 4E 47 20 54 48 45 20 C3 CC C5 C1 D2 20 43 4F 4D |NG THE ..... COM|
000003A0: 4D 41 4E 44 20 54 4F 20 45 4D 50 54 59 0D 20 20 |MAND TO EMPTY. |
000003B0: 20 54 48 45 20 43 55 52 52 45 4E 54 20 52 45 43 | THE CURRENT REC|
000003C0: 4F 52 44 20 41 4E 44 20 54 48 45 4E 20 55 53 49 |ORD AND THEN USI|
000003D0: 4E 47 20 C3 C1 CC C3 20 54 4F 20 46 49 4C 4C 20 |NG .... TO FILL |
000003E0: 41 4C 4C 20 54 48 45 20 46 49 45 4C 44 53 20 4F |ALL THE FIELDS O|
000003F0: 46 20 54 48 45 20 52 45 43 4F 52 44 2E 0D 20 20 |F THE RECORD.. |
00000400: 20 D4 48 45 20 4E 45 57 20 52 45 43 4F 52 44 20 | .HE NEW RECORD |
00000410: 4D 41 59 20 54 48 45 4E 20 42 45 20 53 54 4F 52 |MAY THEN BE STOR|
00000420: 45 44 20 55 53 49 4E 47 20 54 48 45 20 D3 D4 CF |ED USING THE ...|
00000430: D2 C5 20 43 4F 4D 4D 41 4E 44 2E 0D 0D |.. COMMAND... |
REF 11 THE CALC C
OMMAND CALC PAGE 1.
----------------------------------------
---------------------------------------.
.THE CALC (CALCULATE) FUNCTION IS USED T
O EVALUATE AND OR DISPLAY ANY EXPRESSION
..THE FULL RANGE OF BASIC FUNCTIONS INCL
UDING TRIGONOMETRICAL OPERATIONS CAN BE.
PERFORMED. RESULTS CAN BE STORED IN BASI
C VARIABLES, FIELDS OR SIMPLY DISPLAYED.
..COMMAND SYNTAX:.. CALC [FIELD] = EX
PRESSION ; [FIELD] = EXPRESSION. CALC
A = EXPRESSION ; B = EXPRESSION. CAL
C EXPRESSION..1. MULTIPLE CALCULATIONS S
HOULD BE SEPARATED BY SEMI-COLONS AS ABO
VE.. IF AN EXPRESSION IS FOUND WITH NO
EQUALS SIGN THEN THE RESULT WILL BE PRI
NTED. OR DISPLAYED TOGETHER WITH ANY F
OLLOWING INFORMATION, EVEN IF MORE. SE
MI-COLONS ARE FOUND. INFORMATION TO BE P
RINTED SHOULD THEREFORE APPEAR LAST. I
N THE CALC EXPRESSION...2. A COMPLETE RE
CORD CAN BE ENTERED BY FIRST USING THE C
LEAR COMMAND TO EMPTY. THE CURRENT REC
ORD AND THEN USING CALC TO FILL ALL THE
FIELDS OF THE RECORD.. THE NEW RECORD
MAY THEN BE STORED USING THE STORE COMMA
ND...
×
C64 Image
> CLICK IMAGE PREVIEW FOR FULL MODAL