Search found 79 matches
- Mon Nov 18, 2024 2:55 pm
- Forum: Product
- Topic: Calling convention of overriden methods
- Replies: 3
- Views: 164
Re: Calling convention of overriden methods
Basile, If the class is a DbServer subclass then it has to be: PUBLIC METHOD SetFilter( cFiltre ) AS USUAL Robert I tried that but then it's complaining about not having a type : Severity Code Description Project File Line Suppression State Error XS1031 Type expected Locasyst.WebServices.Lib.XSharp ...
- Mon Nov 18, 2024 2:31 pm
- Forum: Product
- Topic: Calling convention of overriden methods
- Replies: 3
- Views: 164
Calling convention of overriden methods
Hi, I'm trying to target Vo as dialect, code is Vulcan.net for now But I have two last errors I can't figure out : Error XS9041 Override of virtual method 'SetFilter' in child class has STRICT calling convention but overridden method in parent class is CLIPPER. Locasyst.WebServices.Lib.XSharp ...
- Mon Nov 18, 2024 11:52 am
- Forum: Product
- Topic: optional parameter
- Replies: 8
- Views: 203
Re: optional parameter
Hi Basile, I was not aware of that, thanks! So the (roslyn) compiler can be setup so that it does not even allow assigning null to "regular" reference types! But when I try this in X# LOCAL c AS STRING? c := NULL the compiler reports "warning XS8632: The annotation for nullable reference types ...
- Mon Nov 18, 2024 11:44 am
- Forum: Product
- Topic: optional parameter
- Replies: 8
- Views: 203
Re: optional parameter
Thank you Robert. The aps.net project id indeed c#. Does that means I would need to have my XSharp library as a Core dialect project in order to be able to use optional parameters ? well, I don't think I can convert the Xsharp lib to Core dialect so I'll just create overloads. But now I understand ...
- Mon Nov 18, 2024 11:16 am
- Forum: Product
- Topic: optional parameter
- Replies: 8
- Views: 203
Re: optional parameter
@Chris, yes indeed, I was trying nullable before (like the other following parmeters) And also no, I'm writing a lot of more modern c# and there is a difference between string and string? (starting c#8) that can come handy, when specifying APIs for example https://learn.microsoft.com/en-us/answers ...
- Mon Nov 18, 2024 11:00 am
- Forum: Product
- Topic: optional parameter
- Replies: 8
- Views: 203
Re: optional parameter
Thank you Robert.
The aps.net project id indeed c#.
Does that means I would need to have my XSharp library as a Core dialect project in order to be able to use optional parameters ?
The aps.net project id indeed c#.
Does that means I would need to have my XSharp library as a Core dialect project in order to be able to use optional parameters ?
- Mon Nov 18, 2024 10:39 am
- Forum: Product
- Topic: optional parameter
- Replies: 8
- Views: 203
optional parameter
Hi, I'm trying to understand when the compiler is complaining about a decalred optional parameter. I have my function in a Xsharp project : METHOD LocCreation( cCodeClient AS STRING, cMotDePasse AS STRING, aArticleLoc AS List<ArticleLoc>, dtDebutLoc AS DATETIME, dtFinLoc AS DATETIME, dtDepart AS ...
- Fri Sep 20, 2024 9:34 am
- Forum: Product
- Topic: supported visual studio version
- Replies: 3
- Views: 446
Re: supported visual studio version
awesome !
do you know since which version of VS2022 ?
I just reinstalled my machine so got the latest one (17.11.4)
that reminds me I need to register for the summit !
regards.
do you know since which version of VS2022 ?
I just reinstalled my machine so got the latest one (17.11.4)
that reminds me I need to register for the summit !
regards.
- Thu Sep 19, 2024 2:23 pm
- Forum: Product
- Topic: supported visual studio version
- Replies: 3
- Views: 446
supported visual studio version
Hi all, I just want to rule out a few things about visual studio support (completion, identation, etc..) What is the current stable version supported ? I have trouble with very basic IDE goddies (like completion of a variable name) and I want to check first the VS version before digging more deeper ...
- Wed Sep 04, 2024 3:38 pm
- Forum: Product
- Topic: EF6 and ADS ADO.Net provider
- Replies: 0
- Views: 307
EF6 and ADS ADO.Net provider
Hi all, I'm wondering if anyone had any experience with EF6 and the provider of ADS (which is, I think, only for EF5 but who knows..) We're trying to move away from DBF/CDX DbServer and maybe a step would be to start using ADS client (even local and DBF/CDX) to leverage SQL syntax, ORM and other ...