I’ve recently reopened, in Xojo, an old project of mine started in RealStudio several years ago which use a lot of Declare statements.
In this project, for the ‘Lib’ parameter of the Declare statement, I’m using a Dynamic Constant, which has different string values depending on the Platform.
While this was working fine in RealStudio, in Xojo I get the following error regarding the Constant itself:
“Error: A constant was expected here, but this is some other kind of expression.”
Does this mean that Dynamic Constants are not supported anymore in Declare/Lib statements ?
Or is this a known issue, perhaps ?
I see no specific comment regarding Dynamic Constants as Declare Lib names in the documentation, so I wonder.