CSC104H1 Lecture Notes - Lecture 4: Kaleidoscope, Animage

32 views3 pages

Document Summary

> ;the "#;" in front of the racoon image is an "expression comment": it comments out the expression that follows it, which is handy for changing parts of code and experimenting with the effects. It does not comment out the parentheses at the end of that line. > ;an expression that uses the name wverywhere will comletely agjust if the definition of the name is changed. (define look-at-us (beside gina (flip-horizontal gina))) ; here"s the definition of the image look-at-us from the previous file, commented out, in terms of go other lecture section]. [instead of gina : this summary is from the comments out [i. e. makes drracket. ; notice that the expression comment #; ignore] the entire expression after it, even if the expression is on multiple lines, but colours the expression normally. We could also have used a comment box to achieve a similar effect.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents