#define v7 "07."$version() #if v7 #define words getwordcount #define wordnum getwordnum #else do ckfoxtools #endifand this somewhere in the end
#if not v7 procedure ckfoxtools *+ Foxtools Forever and Dark Beer Club. 12.3.2001 if atc("foxtools", set("library"))=0 cFoxTools = fullpath('foxtools.fll') if not file(cFoxTools) cFoxTools=forcepath("foxtools.fll",sys(2004)) endif if file(cFoxTools) set library to (cFoxTools) additive endif endif #endifThis works for stuff written in VFP6 or older, so I can keep using words() and wordnum(). For stuff written in VFP7 and later, the #define would have to be reversed; I'd have to