EasyManua.ls Logo

Commodore 128D - SECTION 5 - Advanced BASIC 7.0 Commands

Commodore 128D
427 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...
SECTION
4
Basic
Programming
COMPUTER
DECISIONS-The
IF-THEN
Statement
51
Using
the
Colon
52
LOOPS—The
FOR-NEXT
Command
53
Empty
Loops—Inserting
Delays
in
a
Program
54
The
STEP
Command
54
INPUTTING
DATA
55
The
INPUT
Command
55
Assigning
a
Value
to
a
Variable
55
Prompt
Messages
56
The
G
ET
Command
57
Sample
Program
58
The
READ-DATA
Command
59
The
RESTORE
Command
60
Using
Arrays
61
Subscripted
Variables
61
Dimensioning
Arrays
62
Sample
Program
63
PROGRAMMING
SUBROUTINES
64
The
GOSUB-RETURN
Command
64
The
ON
GOTO/GOSUB
Command
65
USING
MEMORY
LOCATION
65
Using
PEEK
and
POKE
for
RAM
Access
65
Using
PEEK
66
Using
POKE
66
BASIC
FUNCTIONS
67
What
Is
a
Function?
67
The
INTEGER
Function
(INT)
67
Generating
Random
Numbers—The
RND
Function
68
The
ASC
and
CH
R$
Commands
69
Converting
Strings
and
Numbers
69
The
VAL
Function
70
The
STR$
Function
70
The
Square
Root
Function
(SQR)
70
The
Absolute
Value
Function
(ABS)
70
THE
STOP
AND
CONT
(CONTINUE)
COMMANDS
70
49
USING
C128
MODE-Advanced
BASIC
Programming

Table of Contents

Other manuals for Commodore 128D

Related product manuals