Week 2: 10 PRINT

10PRINT CHR$(205.5+RND(1));:GOTO10 

platform studies:
The study of the lower computational levels (hardware, operating system, virtual mechanics) that makes code run, taking into account how these systems are designed. 
10PRINT CHR$(205.5+RND(1));:GOTO10 

Commodore's lines start at 10 and increment by 10 each time. The 10 simply states it is the beginning of the code. (This is useful for debugging or editing code later since the entire line can be edited by calling the number)

10PRINT CHR$(205.5+RND(1));:GOTO10 
RND is a fucntion that takes an argument and returns a random number. When given the positive number 1, the same float is returned the same time regardless of user or Commodore used. 


Log in with itch.io to leave a comment.