Search found 155 matches

by Frank Maraite
Tue Dec 12, 2017 6:37 pm
Forum: Chit-Chat
Topic: MVVM: how to pass constructor variables from the ViewModel to the View
Replies: 13
Views: 6350

MVVM: how to pass constructor variables from the ViewModel to the View

<t>Hi Wolfgang,<br/>
<br/>
did you ever tried ValueConverters? You can use them to convert for example numerical values to logic and bind to visibility.<br/>
<br/>
Why not use two panels wich double the labels and text fields. One with italian first and german second, the other the other way. Bind ...
by Frank Maraite
Sat Nov 18, 2017 2:16 pm
Forum: Product
Topic: XIDE and /doc
Replies: 2
Views: 2505

XIDE and /doc

<t>Hi Chris,<br/>
<br/>
do the important things first.<br/>
<br/>
Yeah, I never understood why the comments are before the entity and not just the after the first line of them. This would be more consistent<br/>
<br/>
method foo<br/>
/// <summary> foo is ... </summary><br/>
<br/>
or am I wrong?<br ...
by Frank Maraite
Fri Nov 17, 2017 2:04 pm
Forum: Chit-Chat
Topic: Nullable Reference types in C# (& .NET ?)
Replies: 1
Views: 2099

Nullable Reference types in C# (& .NET ?)

Hi Phil

I saw this article this morning too. Have to read it carefully.

Frank
by Frank Maraite
Fri Nov 17, 2017 12:43 pm
Forum: Chit-Chat
Topic: Happy Birthday FORTRAN, and its one-based array technology !
Replies: 12
Views: 4117

Happy Birthday FORTRAN, and its one-based array technology !

<t>Hi Wolfgang,<br/>
<br/>
did you see my smily?<br/>
<br/>
I know that. I use such a realy complex system to organize my work as a surveyor. I did BASIC from 1977 up to 1985.<br/>
<br/>
The idea of having arrays with flexible upper and lower bounds seems very good on the first seight but also seem ...
by Frank Maraite
Fri Nov 17, 2017 12:26 pm
Forum: Chit-Chat
Topic: Happy Birthday FORTRAN, and its one-based array technology !
Replies: 12
Views: 4117

Happy Birthday FORTRAN, and its one-based array technology !

Hi Karl-Heinz,

I think we should talk about compilers for professionals and not about toys for kids :-))

Frank
SCNR
by Frank Maraite
Wed Nov 15, 2017 7:56 pm
Forum: Chit-Chat
Topic: Happy Birthday FORTRAN, and its one-based array technology !
Replies: 12
Views: 4117

Happy Birthday FORTRAN, and its one-based array technology !

<t>Hi Phil,<br/>
<br/>
I used FORTRAN77 lastly when I did my diploma work 1984. Then I learned C and dBase and thought that FORTRAN is very outdated. I believe one reason why it is still there: people don't want to learn new things once they are familiar with a tool. And of course the non existing ...
by Frank Maraite
Wed Nov 15, 2017 7:22 am
Forum: Product
Topic: Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?
Replies: 13
Views: 4160

Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?

<r>Phil,<br/>
<br/>
you could show us how to avoid issues like you have. You could show us the basic rules:<br/>
<br/>
- avoid magic numbers. Use defines or consts or computed variables instead.<br/>
<br/>
- define a business oriented interface and put the data representation behind, like
<CODE><s ...
by Frank Maraite
Wed Nov 15, 2017 7:05 am
Forum: Product
Topic: Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?
Replies: 13
Views: 4160

Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?

<t>Karl,<br/>
<br/>
it's simple: SubStr is the VO name and SubString is the .NET name. So if you have VO code there is no need to change something.<br/>
<br/>
Should copy the static methods and call them SubStr2 and SubStr3 to have the same naming as the strongly typed VO versions.<br/>
<br/>
If you ...
by Frank Maraite
Tue Nov 14, 2017 8:59 pm
Forum: Product
Topic: Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?
Replies: 13
Views: 4160

Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?

<r>Hi Chris,<br/>
<br/>
no one prevents you from doing<br/>

<QUOTE><s>[quote]</s> STATIC METHOD SubStr( SELF s AS STRING, startIndex AS INT ) AS STRING<br/>
RETURN s:Substring( startIndex-1, 1 )<br/>
STATIC METHOD SubStr( SELF s AS STRING, startIndex AS INT, length AS INT ) AS STRING <br ...
by Frank Maraite
Tue Nov 14, 2017 8:52 pm
Forum: Product
Topic: Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?
Replies: 13
Views: 4160

Some forms of ARRAY do not get their bases set to 0/1 as in Project settings !?

<r>Phil,<br/>
<br/>
from the Vulcan help file:<br/>

<QUOTE><s>[quote]</s> This option does not affect how the assembly being compiled is used from other applications. When the /az option is not used, the compiler generates code to subtract 1 from the array index in order to provide 1-based array ...