EasyManua.ls Logo

Commodore 128 - Page 263

Commodore 128
448 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
EXAMPLE:
10 DEF FNEG(LO)=INT((V1*LO"2)*100)/100
LO IS LOCAL TO THIS LINE
20 LO=15
A NORMAL PROGRAM VARIABLE
30 V1 =3.14159
APPROX PI
40 PRINT FNEG(5)
ASSIGN 5 TO THE LOCAL VALUE LO IN THE FUNCTION
50 PRINT FNEG(1)
USE 1 IN THE FUNCTION INSTEAD OF LO
60 PRINT INT((V1*LCT2)*100/100
VARIABLE LO USED
70 PRINT LO
REMAINS UNCHANGED
DELETE
Delete lines of a BASIC program in the specified
range.
DELETE<[start linej [start line-]| [start line - end line]|[-end
line]>
This command can be executed only in direct mode.
EXAMPLES:
DELETE 75
Deletes line 75.
DELETE 10-50
Deletes lines 10 through 50, inclusive.
DELETE-50
Deletes all lines from the beginning of the program up to and
including line 50.
DELETE 75-
Deletes all lines from 75 to the end of the program, inclusive.
17-21

Table of Contents

Other manuals for Commodore 128

Related product manuals