Is it possible to have the includeFiles act as a hierarchy. For example,
"includeMapping": [
"includeMapping": [
{
"includeFile":"INCLUDEFILES",
"fileName":"INCLUDEFILES_DEV"
}
{
"includeFile":"INCLUDEFILES",
"fileName":"INCLUDEFILES_PROD"
}
]
And in my code I can write:
$INCLUDE INCLUDEFILES STDREADERAnd in my code I can write:
In the example above MV Basic would look for the "STDREADER" code in the INCLUDEFILES_DEV file first and when its not there it will look in INCLUDEFILES_PROD. This aligns with our source control process (check-out to _DEV, check-in to _PROD) and the way our pre-compiler works.
My experiments indicate that MV Basic assumes each object in the includeFiles array has a unique value for the includeFile member and so it stops searching when it finds one.
Thanks