Previous: Rationale
Up: Creating a Monoprogram Dialog
with Turbo Pascal

Next: Converting Attract Mode into Main Program
Previous Page: Rationale
Next Page: Units Belonging to Modules

Converting Modules into Units

Most modules convert to units relatively easily:

Note that if the MonoProg flag is not defined (by changing its declaration to {$UNDEF MonoProg}) this arrangement will cause the module to continue to compile into its own program, rather than a unit.

The Activity n routine that each module's unit now exports will be called by the attract mode.



Previous: Rationale
Up: Creating a Monoprogram Dialog
with Turbo Pascal

Next: Converting Attract Mode into Main Program
Previous Page: Rationale
Next Page: Units Belonging to Modules

Educational Technology Center
Dept. of Info. and Comp.Sci.
Univ. of California, Irvine
92717, CA, USA