Hi guys,
There are a few addons floating around that depend on a number of globals or functions that are buried within the forums, so in the interest of making it a little easier for people to find them, I would suggest that we maintain a Community Edition utils.lpr that is as up to date as it can be. This would be for GlobalVars and utility functions that can be used in any other module, not ones that are tied to a specific use.
To use, download file, then rename it to "utils.lpr" and put it in your Lapper instance includes directory, e,g. c:\LFSLapper\default\includes.
Have a look at it and send on any updates you thiink would be useful and I'll update the file as we go.
Note that this utils.lpr is designed to work with Lapper versions > 5.925
2/1//2010: Number of additions to include DEBUG and Admin Messaging functions
31/12/2010: Added StrReplace function to replace a string within a string
12/01/2011: Added array that contains LFS car defines for new CIF !top module
24/01/2011: Changed LFSCarList array define to make more streamlined
2/7/2012 - Minor updates
There are a few addons floating around that depend on a number of globals or functions that are buried within the forums, so in the interest of making it a little easier for people to find them, I would suggest that we maintain a Community Edition utils.lpr that is as up to date as it can be. This would be for GlobalVars and utility functions that can be used in any other module, not ones that are tied to a specific use.
To use, download file, then rename it to "utils.lpr" and put it in your Lapper instance includes directory, e,g. c:\LFSLapper\default\includes.
Have a look at it and send on any updates you thiink would be useful and I'll update the file as we go.
Note that this utils.lpr is designed to work with Lapper versions > 5.925
2/1//2010: Number of additions to include DEBUG and Admin Messaging functions
31/12/2010: Added StrReplace function to replace a string within a string
12/01/2011: Added array that contains LFS car defines for new CIF !top module
24/01/2011: Changed LFSCarList array define to make more streamlined
2/7/2012 - Minor updates