AMSTRAD CPC464 User Manual page 166

Cpc464 colour personal computer 64k
Hide thumbs Also See for CPC464:
Table of Contents

Advertisement

RAD
R A D
R A D
COMMAND: Set Radians Mode
Associatedkeywords: DEG,SIN,COS,TAN,ATN
RANDOMIZE
R A N D O M I Z E [ < n u m e r i c e x p r e s s i o n > ]
1 0 R A N D O M I Z E 2 3
2 0 P R I N T R N D ( 6 )
COMMAND: BASIC' s random number generator produces a pseudo random sequence in which each
number depends on the previous number - starting from a given number, the sequence is always the
same. RANDOMIZE sets a new initial value for the random number generator, either to a given
value, or to a value entered by the operator. RANDOMIZE TIME will produce a sequence that will
be difficult to repeat.
Associated keywords: RND
READ
R E A D l i s t o f : < v a r i a b l e >
1 0 F O R X = 1 T O 4
2 0 R E A D N $
3 0 P R I N T N $
4 0 D A T A A D A M , D A N N Y , J A M I E , R I C H A R D
50 NEXT
COMMAND: READ fetches data from the list of constants supplied in the corresponding DATA
statements and assigns it to variables, automatically stepping to the next item in the data
statement. RESTORE will return the pointer to the beginning of the DATA statement. See the
DATA keyword.
Associated keywords: DATA, RESTORE

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents