#IF !'VISUAL' $ UPPER(VERSION()) DO co_prnt.spr #ELSE DO FORM co_prnt.scx NAME oco_prnt LINKED #ENDIFOne of my coworkers modified it to now be the below code:
#IF !'VISUAL' $ UPPER(VERSION()) DO co_prnt.spr #ELSE EXTERNAL PROC co_prnt.scx SET KEYCOMP TO DOS DO FORM co_prnt.scx NAME oco_prnt LINKED SET KEYCOMP TO WINDOWS #ENDIFMy question is why add the EXTERNAL PROC line? Isn't that NOT necessary in VFP? All functions running in the vfp8 form are contained in the form itself as properties of the form. I could understand a EXTERNAL FORM command if I was using macro substitution, but I'm not.