In this Book

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

Book
Nick Montfort
2012
Published by: The MIT Press
summary

A single line of code offers a way to understand the cultural context of computing.

This book takes a single line of code—the extremely concise BASIC program for the Commodore 64 inscribed in the title—and uses it as a lens through which to consider the phenomenon of creative computing and the way computer programs exist in culture. The authors of this collaboratively written book treat code not as merely functional but as a text—in the case of 10 PRINT, a text that appeared in many different printed sources—that yields a story about its making, its purpose, its assumptions, and more. They consider randomness and regularity in computing and art, the maze in culture, the popular BASIC programming language, and the highly influential Commodore 64 computer.

Table of Contents

Cover

Half Title Page, Series Page, Copyright

Contents

5 Series Foreword

pp. ix

10 Introduction

pp. 1-18

15 REM Variations in Basic

pp. 19-30

20 Mazes

pp. 31-50

25 REM Ports to Other Platforms

pp. 51-62

30 Regularity

pp. 63-104

35 REM Variations in Processing

pp. 105-118

40 Randomness

pp. 119-146

45 REM One-Liners

pp. 147-155

50 Basic

pp. 157-194

55 REM A Port to the Atari VCS

pp. 195-208

60 The Commodore 64

pp. 209-242

65 REM Maze Walker in Basic

pp. 243-260

70 Conclusion

pp. 261-267

75 End

pp. 269

80 Thanks

pp. 273

85 Works Cited

pp. 275-285

90 Variants of 10 Print

pp. 287-294

95 About the Authors

pp. 295-297

100 Index

pp. 299-309
Back To Top