fbpx
Welcome, Guest
Username: Password: Remember me
This public forum is meant for questions and discussions about Visual FoxPro
  • Page:
  • 1

TOPIC: XSharp Bandol 2.10a

XSharp Bandol 2.10a 1 week 4 days ago #11938

  cecilchamp's Avatar Topic Author cecilchamp Offline Posts: 49
XSharp Bandol 2.10a - Going to try this release out. Anyone used it yet?

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

XSharp Bandol 2.10a 1 week 4 days ago #11939

  FoxProMatt_MattSlay's Avatar FoxProMatt_MattSlay Away Posts: 305
Cecil - You posted in in the Public FoxPro forum, and there is another (private) FOX Subscribers forum at www.xsharp.info/forum/private-vfp .

So far, 2.10a has only been released to FOX Subscribers. I bet if you post in that forum, you might get some feedback from there.

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

XSharp Bandol 2.10a 1 week 4 days ago #11940

  cecilchamp's Avatar Topic Author cecilchamp Offline Posts: 49
Oops! I didn't realize that.
Thanks Matt!

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

XSharp Bandol 2.10a 1 week 4 days ago #11944

  wriedmann's Avatar wriedmann Away Posts: 1904
Hi Cecil,
AFAIK most of the active X# users are living in Europe like me - and for us the day is starting now (it is 6:03 in the morning here in Italy).
I have installed thw new build yesterday (after having effectively worked with a prerelease for a few days now). My code compiles and my applications (the few I have tried before going to sleep) worked.
I will work with X# today for at least 8 hours, and if there is something broken I will report it.
But I'm working mostly with the Core dialect (using the runtime to access my DBF databases).
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy

www.riedmann.it - docs.xsharp.it

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

XSharp Bandol 2.10a 1 week 1 day ago #12014

  cecilchamp's Avatar Topic Author cecilchamp Offline Posts: 49
Wolfgang, is the Core Dialect in the documentation? In other words, if I want to only use the Core Dialect, is there enough documentation for me to get started? And examples?

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

XSharp Bandol 2.10a 1 week 1 day ago #12015

  lumberjack's Avatar lumberjack Offline Posts: 625
Hi Cecil,

cecilchamp wrote: Wolfgang, is the Core Dialect in the documentation? In other words, if I want to only use the Core Dialect, is there enough documentation for me to get started? And examples?

Yes and no... :)
Starting with Fabrice's Hello world, that is the Core dialect in crude form in action.

Lets look at a few basics:

Class creation:
LOCAL oForm AS System.Windows.Forms.Form
oForm := System.Windows.Forms.Form{}
oForm:Size := System.Drawing.Size{100, 100}
oForm:Show()
Lets make use of namespace for the example:
#using System.Windows.Forms
#using System.Drawing

// Note you can also use "()" instead of "{}", and "." instead of ":"
LOCAL oForm AS Form
oForm := Form{}
oForm:Size := Size{100, 100}
oForm:Show()
Basically the whole of the .NET framework is at your fingertips, hence any Google search will bring back zillions of c# examples that can be XBased quite easily.
______________________
Johan Nel
George, South Africa

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

XSharp Bandol 2.10a 1 week 1 day ago #12023

  wriedmann's Avatar wriedmann Away Posts: 1904
Hi Cecil,

is the Core Dialect in the documentation? In other words, if I want to only use the Core Dialect, is there enough documentation for me to get started? And examples?


The Core dialect was the first dialect in X# - it is basically a C# with Xbase syntax.
The Core dialect does not need any runtime, and uses the .NET Framework.
That means: no date datatype, no codeblock, no array, no DBF access, no macrocompiler.
In this manner I was able to put the first (small) X# application into production - only 6 months after the release of the first version, and long before the runtime was released.
And currently most of my X# applications I have in production are using the Core dialect, and a few of them use a special library (in VO dialect) to access DBF tables.
For samples you should install XIDE and play with the samples there - a few of them were written by myself.
And a documentation you need only the syntax documentation and then the relative documentation of the libraries you like to use: Windows Forms, WPF, Ado.NET, ...
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy

www.riedmann.it - docs.xsharp.it

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

XSharp Bandol 2.10a 1 week 1 day ago #12024

  Jamal's Avatar Jamal Offline Posts: 184
Hi Johan,
#using System.Windows.Forms
#using System.Drawing

I am sure you already know that, but just a note for new comers:

The using statement does not need a # prefix.

Jamal

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

XSharp Bandol 2.10a 1 week 1 day ago #12032

  lumberjack's Avatar lumberjack Offline Posts: 625

Jamal wrote: The using statement does not need a # prefix.

You are correct... Old habits just never die...
______________________
Johan Nel
George, South Africa

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

XSharp Bandol 2.10a 1 week 1 day ago #12033

  wriedmann's Avatar wriedmann Away Posts: 1904
Hi Johan,

... and the samples in XIDE are using also the old notation....

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy

www.riedmann.it - docs.xsharp.it

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

XSharp Bandol 2.10a 1 week 19 hours ago #12043

  Chris's Avatar Chris Offline Posts: 1505
Hi Wolfgang,

wriedmann wrote: Hi Johan,

... and the samples in XIDE are using also the old notation....

Wolfgang


Are you sure? I changed them a month or so ago. Maybe you have not let the XIDE installer update the new ones?

I just checked and the only one still using #using is the XSharpService one, must have missed it, but I've now changed this as well.
XSharp Development Team
chris(at)xsharp.eu

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

XSharp Bandol 2.10a 1 week 19 hours ago #12045

  wriedmann's Avatar wriedmann Away Posts: 1904
Hi Chris,

sorry, this is my fault.... I have checked again, and now they are changed. Maybe the last time I have used it was before November, 13 when it was changed (according to the file change date).

Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy

www.riedmann.it - docs.xsharp.it

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

XSharp Bandol 2.10a 1 week 19 hours ago #12046

  Chris's Avatar Chris Offline Posts: 1505

wriedmann wrote: sorry, this is my fault.... I have checked again, and now they are changed. Maybe the last time I have used it was before November, 13 when it was changed (according to the file change date).


Oh, you're right, I thought it was earlier than that!
XSharp Development Team
chris(at)xsharp.eu

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

XSharp Bandol 2.10a 1 week 19 hours ago #12047

  wriedmann's Avatar wriedmann Away Posts: 1904
Hi Chris,

I thought it was earlier than that!


<g> I have that sensation very often too.....

Wolfgang
P.S. finally returned to X# programming today after 2 days of VO programming....
Wolfgang Riedmann
Meran, South Tyrol, Italy

www.riedmann.it - docs.xsharp.it

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

  • Page:
  • 1