>I'm just exploring some of VFP's foundation classes. I ran across this:
>
>
>In app.h is this:
>#DEFINE ERROR_IN_ERROR_METHOD_LOC "Error in error handler"
>
>As far as I can find it's only used in one place in _error class.
>
>What's the point of defining something in an include file that only gets used once?
Also, you can define any constant which you
currently use, perhaps, only once - or even not at all! - with the idea of, perhaps, having more instances later.
For instance, when I needed constants for printer codes (bold on, bold off, etc.), while browsing through the Epson manual, I defined some constants which I don't currently use, but which I might use later.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)