- Created: 26 January 2019
The Christmas build (22.214.171.124) has been received very well, but unfortunately a few small issues in the compiler make this build difficult to use for some of our clients. The good news is that we are getting very positive reports about the level of compatibility of the runtime and the compatibility and speed of the macro compiler.
We will deliver a new version in the coming weeks that fixes the compiler problems and also has some bug fixes to the runtime and VS integration.
The biggest other change in that new build will be the support for dBase style "dynamic" variables, such as PUBLICs and PRIVATEs. We have added this to the language, even though we think that there are better ways to code, but we know that some of our (potential) customers are using it. We have also added support for the PARAMETERS keyword which is an alternative for the declared parameters and works just like the parameters in a clipper calling convention. But the compiler does not create local variables for these parameters but private variables.
Memvars will be available in the VO, Harbour and Xbase++ dialects. So not in Vulcan and not in Core. And you also need to explicitely enable them by setting a special compiler option. We have also added support for undeclared variables (yes, really). This requires an additional compiler option and will always produce a special compiler warning (that you can disable). Undeclared variables are mapped to a runtime call that either returns the value of a field in the current workarea or otherwise a value of a PRIVATE or PUBLIC variable.
We have done our best to make this perform as fast as possible, but your code will be faster (and less error prone) if you stay away from the dynamic memory variables. So the choice is yours.
Unfortunately the work on the DBFCDX driver and additional work on the VS integration has received lower priority in the last weeks. Two of the devteam members have had to deal with the death of (close) familiy members, and 'family comes first' as you can imagine. So work has had lower priority as you will understand.
Something else is that Visual Studio 2019 preview 2 has been released. Our VS integration works nicely with this new version (you may have to run te installer again to install the VS support), however there is a problem with the 'New Project' dialog. Microsoft has hardcoded the languages in the languages dropdown, so XSharp is now shown as language. Also when you select the project type Windows Forms or Console then our templates are not shown. Only when you type XSharp in the search control then will our templates be shown.
In Preview 1 you could disable the new "New Project" dialog and switch back to the old dialog from previous versions of Visual Studio. That is no longer possible in Preview 2.
You can imagine that we are doing everything we can to get this corrected before VS 2019 is released, but we are not sure if there is time / priority for this in the Microsoft team.
Opening existing solutions / projects is not a problem, it is only the dialog to create new projects that has this problem.
For now we recomment not to use VS 2019.
Stay tuned for more news on the new release.
Finally: don't forget to register for our 'Summit' in Austin. The dead line for the special hotel room price is February 15. And of course we'd like to see many of you there !