Search found 103 matches

by Otto
Fri Sep 28, 2018 9:47 am
Forum: Product
Topic: Usage of X#
Replies: 3
Views: 2721

Usage of X#

<t>Your question is not very specific.<br/>
<br/>
But the target of XSharp in my terms:<br/>
* To make it possible to use the dbase language syntax in the .NET environment<br/>
* open the .NET environment for more developers<br/>
* easier migration of existing source code (in a dbase dialect) to the ...
by Otto
Thu Sep 13, 2018 12:05 pm
Forum: Product
Topic: Ambiguous methods
Replies: 5
Views: 3051

Ambiguous methods

<t>I see 2 things I think are troublesome:<br/>
[*]<br/>
[*]an usual is used, so the compiler can't see whether an exception is put into it or not.<br/>
[*]if you would specify it as an 'exception', both methods can be applicable, because the parameterlist is specified as object[] which can also ...
by Otto
Thu Sep 13, 2018 10:40 am
Forum: Chit-Chat
Topic: highlight.js
Replies: 0
Views: 2036

highlight.js

<r>Do you ever show VO/XSharp source on the web?<br/>
<br/>
highlight.js can be used for that.<br/>
Only 'our' xbase family languages aren't supported (yet).<br/>
<br/>
<URL url="https://highlightjs.readthedocs.io/en/latest/css-classes-reference.html#language-names-and-aliases"><s>[url=https ...
by Otto
Tue Sep 11, 2018 7:48 am
Forum: XSharp Tools Library
Topic: what is the preferred way - functions/static methods or extension methods
Replies: 33
Views: 53160

what is the preferred way - functions/static methods or extension methods

<r><QUOTE author="Karl-Heinz"><s>[quote="Karl-Heinz"]</s>It doesn´t make sense to use "extension methods" to enhance "self" written classes. <e>[/quote]</e></QUOTE>

If you have DTO you can extend it with your extension methods.<br/>
You could add this functionality to the class itself, but then it ...
by Otto
Mon Sep 10, 2018 9:30 am
Forum: XSharp Tools Library
Topic: what is the preferred way - functions/static methods or extension methods
Replies: 33
Views: 53160

what is the preferred way - functions/static methods or extension methods

I prefer (extension) methods over functions in an object oriented environment.

If you go to a functional programming style/language, it becomes somewhat different.
by Otto
Fri Aug 31, 2018 11:29 am
Forum: Product
Topic: Optional parameter not recognized
Replies: 27
Views: 10470

Optional parameter not recognized

<r>OK. I have found MY error. <E>:oops:</E><br/>
<br/>
I had typed <br/>
<br/>
<B><s>[b]</s>METHOD<e>[/b]</e></B> Constructor( param1 as string, param2 := "" as string)<br/>
<br/>
and the error message was on the call to a constructor with 1 parameter which resulted in the error "can't find ...
by Otto
Fri Aug 31, 2018 6:42 am
Forum: Product
Topic: Optional parameter not recognized
Replies: 27
Views: 10470

Optional parameter not recognized

Vulcan.NET
I'll also try to create an sample. Didn't work the first time...
by Otto
Thu Aug 30, 2018 2:40 pm
Forum: Product
Topic: Optional parameter not recognized
Replies: 27
Views: 10470

Optional parameter not recognized

Same problem for me. 2.0.0.4 , the latest build
by Otto
Mon Aug 13, 2018 12:09 pm
Forum: Chit-Chat
Topic: More source control questions: shared projects
Replies: 16
Views: 6140

More source control questions: shared projects

<t>you can do the following:<br/>
1. designate one head parent folder. One to rule them all<br/>
e.g. c:projects<br/>
2. inside that folder you put your projects, the shared and the non shared projects.<br/>
3. in that main folder, create the solutions with the projects you want to combine.<br/>
e.g ...