. . . *!* Main.prg (the first PRG to run) Do case Case VERSION(5) = 700 cPath = "C:\PAth1\" && path to the foxpro.h Case VERSION(5) = 800 cPath = "E:\DifferentAPth\" && path to the foxpro.h Case VERSION(5) = 900 cPath = HOME()+"HH_Files\" && path to the foxpro.h ENdcase STRTOFILE("#Include "+cPath+"foxpro.h","avfp_h.h",0) . . DO NextPRG && READ EVENT . . .
*!* NextPRG.prg (or what ever where #Include file is set . . #Include avfp_h.h *!* Top test uncomment next two lines * aaa=CFSTR_HYPERLINK * ?aaa . . .Now this (test) is done with DO NextPRG but normally it would be hadled with READ EVENT.