[previous] [up] [next]     [contents]
Next: Abstracting Designs- No Notes Up: Intermezzo 3: Local Definitions Previous: Intermezzo 3: Local Definitions

Intermezzo 3: Local Definitions and Lexical Scope

Starting with this Intermezzo, change DrScheme's language level to Intermediate Student by selecting the Language|Choose Language... menu item. See Preparing DrScheme for more information, or Preparing DrScheme Jr for information on changing DrScheme Jr's language.

Check Syntax

DrScheme's Check Syntax button analyzes the program in the definitions window and highlights it with lexical binding information. After clicking Check Syntax, when you move the mouse pointer over a binding instance of a variable, DrScheme draws arrows to all of the bound uses of the variable. Similarly, when you move the mouse pointer over a bound variable, DrScheme draws an arrow to the binding instance.

When the mouse pointer is over a variable, the right mouse button pops up a special menu for pinning arrows, or for renaming a variable (including its binding instance and all uses).



PLT