Flow
The programs we’ve seen so far run each line of code in sequence from top to bottom. They run the first line, then the second, then the third, and so on. The program stops when the last line is run. It’s often beneficial to change this order—sometimes skipping lines or repeating lines many times to...
Saved in:
Published in | Processing p. 65 |
---|---|
Main Authors | , |
Format | Book Chapter |
Language | English |
Published |
United States
The MIT Press
26.12.2014
MIT Press |
Edition | 2 |
Subjects | |
Online Access | Get full text |
ISBN | 026202828X 9780262028288 |
Cover
Loading…
Summary: | The programs we’ve seen so far run each line of code in sequence from top to bottom. They run the first line, then the second, then the third, and so on. The program stops when the last line is run. It’s often beneficial to change this order—sometimes skipping lines or repeating lines many times to create movement. Although the lines of code in a program are always positioned in an order from top to bottom on the page, this doesn’t necessarily define the order in which each line is run. This order is called theflowof the program. |
---|---|
ISBN: | 026202828X 9780262028288 |