In FF2, one #INCLUDE statement would include an entire .INC file that had a "header", DECLAREs, GLOBALs, and #IF NOT %DEF() statements, all ahead of individual FUNCTIONs and SUBs.
Now in FF3, if I want to put that .INC in the Functions Library, it looks like I have to break that file down - one .INC file for each function. Am I correct?
If so, where should the DECLAREs, GLOBALs, and #IF tests now go?
I've been putting mine is the special function 'FF_AppStart'. (I think that's the name; just upgraded my machine to WIn7, haven't re-installed FF3 yet to check)
Should I stop using the User_Includes.inc file, and put those #INCLUDE statements into
'FF_AppStart' ???
Quote from: John Montenigro on November 22, 2009, 04:16:16 PM
Should I stop using the User_Includes.inc file, and put those #INCLUDE statements into
'FF_AppStart' ???
Yes, definitely. FF3 does not recognize the "user_includes.inc" approach.
Actually, it does recognize it during the conversion of a FF2 project to FF3 but other than that, it doesn't load anything from that file.