Procedure for using local variables in program code (cont'd)
Display Listing 1.
If you need to insert the variable in an existing skeleton of a statement:
- Use the normal Alice drag and drop paradigm to drag the
variable and drop it on top of a placeholder that already exists in that
skeleton statement.
- (See the
statement in Listing 1 that contains "coachesWidth.toString()" for example.)