home *** CD-ROM | disk | FTP | other *** search
- * Figure 1. MAIN.PRG
-
-
- * MAIN.PRG
- * How Clipper handles unknown symbols
- * PUBLICIZE EXTERNALIZE
- *
- EXTERNAL ext_sym && unconditional -- EXT_SYM
-
- SET PROCEDURE TO pfl1_sym && file on disk -- --
- SET PROCEDURE TO pfl2_sym && file not on disk -- PFL2_SYM
-
- SET FORMAT TO fmt1_sym && file on disk -- --
- SET FORMAT TO fmt2_sym && file not on disk -- FMT2_SYM
-
- DO prc1_sym && code here in file -- --
- DO some_proc && code in a co-file -- --
- DO prc2_sym && code not in file; on disk -- --
- DO prc3_sym && code not in file or on disk -- PRC3_SYM
-
- x = udf1_sym && code here in file -- --
- x = udf2_sym && code not in file -- UDF2_SYM
-
- mac_var = "mac_sym" && no action, figure it -- --
- DO &mac_var && out at runtime -- --
-
- *-----------------------
- PROCEDURE prc1_sym && here's code, PRC1_SYM --
- RETURN
-
- FUNCTION udf1_sym && here's code, UDF1_SYM --
- RETURN("")
-