Icon Analyst 53 -- Supplementary MaterialLast updated May 16, 1999 |
|||||||||||||||||||||
Weaving Drafts |
|||||||||||||||||||||
Graphics Corner -- Changing Image Colors |
|||||||||||||||||||||
Figure 1. The Application Interface |
|||||||||||||||||||||
Figure 2. An Example Image |
|||||||||||||||||||||
Figure 3. Color Dialog |
|||||||||||||||||||||
Figure 4. Modified Color Dialog |
|||||||||||||||||||||
Figure 5. The Modified Image |
|||||||||||||||||||||
The Program | |||||||||||||||||||||
Answers to Quiz on Expression Evaluation |
|||||||||||||||||||||
1. False; a repeat loop can be terminated by return, fail, suspend, exit(), stop(), or a run-time error.
2. False. 3. True; by the case expression failing, the evaluation of a selected case clause failing, or if no case clause is selected. 4. True: If the selected case clause is a generator, the case clause generates its results. 5. True: break can have an argument expression, as in break 1 to 10 which geneates 1, 2, ..., 10 if the break expression is evaluated. 6. Assigns 1 to i; there is no failure to cause the to expression to be resumed. 7. True. 8. True is a sense: If x is a file stream that never termiantes. 9. False. If x is empty, ?x fails and |?x produces no result. 10. The first expression fails, since every fails after generating and write() inherits the failure. The second expression writes 7 11. a:
b.
c. 1 12. a.
b.
c.
d.
e.
f.
13. The first expression fails. The other three are "black holes" that never terminate or produce a result. |
|||||||||||||||||||||
The Air Horse |
|||||||||||||||||||||
Icon home page | |||||||||||||||||||||
Color Wheel Animation |
|||||||||||||||||||||
Graphics Corner -- Changing Image Colors | |||||||||||||||||||||
Graphics Corner -- Changing Image Colors | |||||||||||||||||||||
Graphics Corner -- Changing Image Colors |