Welcome!

We encourage new members to introduce themselves here. Get to know one another and share your interests.
JacentyK

Welcome!

Post by JacentyK »

I'm disappointed.
I thought the project X# (XSharp) is compatibility with CA-Clipper and Harbour (xHarbour) to migrating into .net environment.
I has't VO or Vulcan.
If in Core dialect are no basics keywords, types, statments. If I don't us ARRAY as {'1','2','3'}, this product is not to use for migrate from console application from Harbour (xHarbour) to Visual Studio with the .net environment.

Regards
Jacek
User avatar
wriedmann
Posts: 3759
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

Welcome!

Post by wriedmann »

Hi Jacek,

the Core dialect will never recognize the Xbase types - it is a sort of C# with Xbase syntax, but no Xbase types like array, float, codeblock.

To migrate a Harbour application currently you need the Vulcan runtime until the X# runtime is finished.
If you don't wish to use the Vulcan runtime, you have to wait a bit.

Unfortunately most IT projects take longer than expected - I'm pretty sure you can confirm that from your own work experience.

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
User avatar
Otto
Posts: 174
Joined: Wed Sep 30, 2015 6:22 pm

Welcome!

Post by Otto »

Hi Jacek,

Small addition to Wolfgang:

You can change the dialect of a project by opening the properties of the project, and in the General tab, you'll see 'dialect'. Currently the options there are Core, Vulcan.NET and Visual Objects.

In your current project the value is probably 'Core'.

If you want to create an console application, you already can select a Vulcan.NET version. There is not yet for other versions kind of projects or dialects a template installed.


Regards,
Otto
User avatar
Chris
Posts: 4926
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

Welcome!

Post by Chris »

Also in XIDE you will already find an option to select "Harbour" (/"xHarbour") as a dialect for your apps/libraries. You'll be very surprised to see how much (x)Harbour code already compiles in x# with zero or very minor changes (in this dialect), and yes of course this is including all Clipper datatypes like ARRAY, CODEBLOCK etc (but no PRIVATEs/PUBLICs/MEMVARs yet). You just need to use the vulcan runtime for that for now, until we finish our own x# runtime. You can simply use the runtime from a trial version of vulcan:

http://www.govulcan.net/portal/TrialVer ... fault.aspx

and in a few months when we will release our own runtime, you will be able to just replace the vulcan runtime files with the x# ones and no other change will be necessary.

Chris
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
Post Reply