Functional Problem Solving (CSC 151 2014F) : Outlines
Primary: [Front Door] [Schedule] - [Academic Honesty] [Disabilities] [Email] - [FAQ] [Teaching & Learning] [Grading] [Rubric] - [Calendar]
Current: [Assignment] [EBoard] [Lab] [Outline] [Reading]
Sections: [Assignments] [EBoards] [Examples] [Handouts] [Labs] [Outlines] [Readings]
Reference: [Setup] [VM] [Errors] - [Functions A-Z] [Functions By Topic] - [Racket] [Scheme Report (R5RS)] [R6RS] [TSPL4]
Related Courses: [Davis (2013F)] [Rebelsky (2014S)] [Weinman (2014F)]
Misc: [Submit Questions] - [SamR] [Glimmer Labs] [CS@Grinnell] [Grinnell] - [Issue Tracker (Course)]
Held: Friday, 12 September 2014
Back to Outline 08 - Documenting Programs and Procedures. On to Outline 10 - Testing Your Procedures.
Summary
We consider a few important procedures that get called for their effect on the system (or on a value), rather than for the value returned. These procedures have "side effects". We focus on two kinds of procedures with side effects: Procedures that display text on the screen, and procedures that work with images, including images stored in files.
Related Pages
Overview
display
and newline
.Administrivia
display
to print values.newline
to print a newline.display
and newline
, we can
better see what our program does.image-new
- create a new imageimage-show
- you knowdrawing->image
- you knowimage-load
- load an image from a fileimage-save
- save an image to a filedrawing-render!
- put a drawing on an image