Define

Define
  For simplicity, DrRacket provides a built-in function named define. To express this, enter (define zebra “an image”) and then you’ve already told the computer that this image is defined as zebra. After that, every time you enter zebra, the picture will be the result shown on the screen. In addition, you can do variety of activities by using define function.
 For example, I want to see two zebra beside each other, the I will do
  (define zebra “an image”)
and then type “beside zebra zebra.”
  The result will simply be two zebras beside each other.

  If there are any confusions, feel free to correct me or advise me!

Comments

Popular posts from this blog

Diana's first blog

How to design a function and how to prepare for the course

Mathematics