#python #sicp
To execute a while clause:
- Evaluate the header's expression.
- If it is a true value, execute the suite, then return to step 1.
If you want to change selection, open document below and click on "Move attachment"
1.5 Controlhis order of events -- evaluating everything on the right of = before
updating any bindings on the left -- is essential for correctness of this
function.
A while clause contains a header expression followed by a suite:
while :
<span>To execute a while clause:
Evaluate the header's expression. If it is a true value, execute the suite, then return to step 1.
In step 2, the entire suite of the while clause is executed before the
header expression is evaluated again.
In order to prevent the suite of a while clause from being executed
Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details