- Created: 31 January 2019
We are very proud that we can announce that we have just released XSharp Bandol 9 "Winter has come" to our FOX subscribers.
- Created: 29 January 2019
The X# Summit in Austin is getting closer and closer. We are preparing everything for a great event.
If you haven't registered yet, now is the time to do so. The special hotel room price will expire on Feb 15, but apart from that we'd like to know a.s.a.p. if you are coming so we can confirm and reserve everything with the hotel and others involved.
The session schedule will become available in a week or two from now.
We hope to meet you in Austin !
- Created: 26 January 2019
The Christmas build (184.108.40.206) 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 !
- Created: 09 January 2019
We sometimes get a question about the differences between the VO and Vulcan dialect.
In the table below we have tried to list these differences
|Keyword abbreviations||Supported for all 'old' keywords for 4 letters or more. See table on https://www.xsharp.info/help/x-keywords.html. All the keywords in the VO column may be abbreviated.||Only supported for |
|String literals||String literals can be defined with single quotes and double quotes: |
"This is a string"
'This is a string with an embedded double quote "'
|String literals can only be defined with double quotes|
|Char literals||Must use single quotes prefixed with 'c', e.g. c'A'||Single quotes, the 'c' prefix is optional, e.g. 'A' and also c'A'|
|PSZ indexer||PSZ indexing is 1 based||PSZ indexing is 0 based (this is actually a bug in Vulcan that we are emulating)|
|MemVars (PUBLIC, PRIVATE)||Yes (in a future release)||No|
|Single line comments||Uses both // and &&||Only // is supported. |
&& is a synonym for .AND.
|Compiler macros||defines __DIALECT_VO__ and __VO__||defines __DIALECT_VULCAN__ and __VULCAN__|
Something else that needs to be mentioned: if you switch from the Vulcan runtime to the X# runtime, please remember to remove the #include statements for the Vulcan header files, such as VOWIn32ApiLibrary.vh)
The values in these header files are now stored as defines (constants) in the VO SDK assemblies, such as VOWin32APILibrary.dll and also in the runtime assemblies (for values from VOSystemLibrary.vh).
Removing the header files will most likely improve the compilation speed.
- Created: 04 January 2019
- Created: 22 December 2018
A few months ago we posted a message on our forums under the title "The X# devteam wants to meet you". The reponse to that has been very positive, so we have decided to organize the event. With the help of Greg Garza and his colleagues at QLAdmin Solutions we have booked a location and we are now finalizing the plans.
We have decided to name this the "X# Summit".
It will be held in Austin (Texas) and will be on Thursday March 21 and Friday March 22 2019 . Please block those dates in your calendar if you want to attend.We will post more information later this week with details about the schedule, how you can register, what the costs will be, how you can reserve a room at the hotel for a special price that we arranged etc.
We will present the current state of the X# development and show how to migrate your apps from VO to .Net. We will also have time to explain some of the internals of the X# compiler and runtime and how you can use the new features in the product (generics, lambda expression, linq, scripting, multi threading etc) in your apps. We will also show you the support that we have for other dialects (such as XBase++ and Harbour).
Of course there will also be plenty of time for questions and answers and to socialize with other XBase developers, exchange ideas and maybe make plans to work together.
We intend to be there with 2 people from the development team, but we are also looking for other speakers. If you are interested then you can fill a complete time slot, but it would also be great if you want to share a success story of a project that you did. Our idea is to have one time slot where people can show their applications ("Application Show"). We have done this on other events in the past and this was always very inspiring.
We did want to share this with you so you can discuss a possible trip to Austin with your family during the Christmas holidays. So why don't you come and bring your partner for a nice (romantic?) weekend after the conference.
Once again, on behalf of the entire X# development team a very happy Chrismas for you and your loved ones.
- Created: 20 December 2018
We are very proud that we can announce that we have just released XSharp Bandol 8 "The Christmas Edition" to our FOX subscribers.
This new version has many new features. To name a few:
The development team wishes you all a very happy Christmas.