xsharp.eu • DBServer Init/Constructor anpassen - Page 2
Page 2 of 2

DBServer Init/Constructor anpassen

Posted: Thu Mar 11, 2021 8:54 pm
by Chris
:)

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 6:22 am
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

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 12:28 pm
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

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 3:17 pm
by Horst
Hallo Chris

Thanks a lot for that trick !

Horst

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 3:23 pm
by Chris
Hi Karl-Heinz,

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

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 4:15 pm
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

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 4:29 pm
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

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 5:08 pm
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

DBServer Init/Constructor anpassen

Posted: Fri Mar 12, 2021 5:24 pm
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!

DBServer Init/Constructor anpassen

Posted: Sat Mar 13, 2021 1:17 pm
by Horst
Thanks Chris