fbpx
× Visual Objects

Please use this forum to post questions about Visual Objects and Vulcan.NET

X# - Languages and Dialects

More
6 months 2 weeks ago #1 by Tom Szabo
X# - Languages and Dialects was created by Tom Szabo
Hi All,

I run into a new issue. In the projects I found that X# has Languages and also Dialects. I tried to get the grasp of these but still not clear. As I understand, VO is coming as the language option, but we have it as a dialect

How does it work? or rather what does this mean?

TIA

Tom

Please Log in or Create an account to join the conversation.

More
6 months 2 weeks ago #2 by Robert van der Hulst
Replied by Robert van der Hulst on topic X# - Languages and Dialects
Tom,
The terminology Language and Dialect is sometimes mixed and I can understand that this is confusing. We use these terms to enable or disable a group of features. When compiling the compiler needs to be called with a dialect on the command line. The VS Integration for our language takes care of that. If you select the Vulcan dialect on the project properties page then a commandline option will be generated to set the dialect to Vulcan.

If you look at www.xsharp.info/help/dialects.html you will see the differences between the dialects.
For example:
- in the Core dialect we do NOT support the VO compatible datatypes such as USUAL or DATE
- In the Core dialect we do NOT support the Clipper calling convention (functions or methods with untyped parameters)
- VO Indexes the PSZ type with a 1 based indexer
- Vulcan indexes the PSZ type with a 0 based indexer
- VO allows to abbreviate keywords to a 4 letter abbreviation (so CLAS is the same as CLASS in VO)

These differences have nothing to do with the runtime DLLs that are used. So they work both if you use the Vulcan Runtime DLLs (that come with the Vulcan product) but also if you use the X# Runtime DLLs.

Robert

XSharp Development Team
The Netherlands
This email address is being protected from spambots. You need JavaScript enabled to view it.

Please Log in or Create an account to join the conversation.