DBServer Init/Constructor anpassen

Deutschsprachiges X#-Forum – German language forum

Moderator: wriedmann

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

DBServer Init/Constructor anpassen

Post by Chris »

:)
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
wriedmann
Posts: 3743
Joined: Mon Nov 02, 2015 5:07 pm
Location: Italy

DBServer Init/Constructor anpassen

Post by wriedmann »

Hi Chris,
I have added a link to you trick on my pearls page:
https://riedmann.it/xsharp/index.php
It is worth to be remembered and to non go lost in the many informations of this forum.
Wolfgang
Wolfgang Riedmann
Meran, South Tyrol, Italy
wolfgang@riedmann.it
https://www.riedmann.it - https://docs.xsharp.it
Karl-Heinz
Posts: 774
Joined: Wed May 17, 2017 8:50 am
Location: Germany

DBServer Init/Constructor anpassen

Post by Karl-Heinz »

robert wrote:Chris,
You naughty boy !

Robert
yeah, Chris is

Code: Select all

? OrdIsUnique()  //  TRUE 
:-)

i´m sure, in his earlier living he´s also been one of the famous 300 ;-)

regards
Karl-Heinz
User avatar
Horst
Posts: 329
Joined: Tue Oct 13, 2015 3:27 pm

DBServer Init/Constructor anpassen

Post by Horst »

Hallo Chris

Thanks a lot for that trick !

Horst
User avatar
Chris
Posts: 4826
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

DBServer Init/Constructor anpassen

Post by Chris »

Hi Karl-Heinz,

Nah, being the anti-war person that I am, at most maybe I could had been their cook ;)
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Horst
Posts: 329
Joined: Tue Oct 13, 2015 3:27 pm

DBServer Init/Constructor anpassen

Post by Horst »

Hi Robert

In the Constructor Method on line 854 i found SELF:nReTries := LockTries( ) . Looking around i found RuntimeState.LockTries .
What is your default value ? Cant find it.

Horst
User avatar
Chris
Posts: 4826
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

DBServer Init/Constructor anpassen

Post by Chris »

Hi Horst,

You can simply write this to see the default value:

? LockTries() // 10

You can see it being set in the file https://github.com/X-Sharp/XSharpPublic ... numSet.prg, in the method RuntimeStateDefaultValue(), at line 871 currently:

CASE Set.Locktries
RETURN 10U
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Horst
Posts: 329
Joined: Tue Oct 13, 2015 3:27 pm

DBServer Init/Constructor anpassen

Post by Horst »

Hi Chris

lol
? LockTries() realy the simple way .

Is __DBSAPPEND( lLocks, nTries ) also visible on Hithub ? Cant see a search function on Github :-(

Horst
User avatar
Chris
Posts: 4826
Joined: Thu Oct 08, 2015 7:48 am
Location: Greece

DBServer Init/Constructor anpassen

Post by Chris »

Hi Horst,

It's defined here https://github.com/X-Sharp/XSharpPublic ... BFuncs.prg

You can download the whole runtime source, by clicking on the green "Code" button at the right of the page here: https://github.com/X-Sharp/XSharpPublic ... re/Runtime Then you can open the whole runtime solution in VS from the Runtime.sln file. For XIDE, you can use the Runtime.xiproj file (just double click and open with XIDE) for the regular runtime and the RuntimeVOSDKxSharp - VOSDK-x.viproj file for the SDK. Then you can navigate through the code from within the IDE locally!
Chris Pyrgas

XSharp Development Team
chris(at)xsharp.eu
User avatar
Horst
Posts: 329
Joined: Tue Oct 13, 2015 3:27 pm

DBServer Init/Constructor anpassen

Post by Horst »

Thanks Chris
Post Reply