Search found 147 matches

by Zdeno Bielik
Tue Dec 06, 2016 7:45 am
Forum: eXpress++ Support
Topic: optimize code
Replies: 9
Views: 13764

Re: optimize code

ok, attached is little update previosly posted source code, where I will try demonstrate problems or not correct funcionality also, when I change aItems from Private to Local, VALID block no more works ok, please, compile and run program and select TabPage Items please, put any value into get-item Q...
by Zdeno Bielik
Sun Dec 04, 2016 11:19 am
Forum: eXpress++ Support
Topic: optimize code
Replies: 9
Views: 13764

Re: optimize code

in my current working code in DCGET I have GETID writed directly like GET_DOSPELY or GET_STUDENT and so on...... and in DCHOTKEY variable „o“ is returned from GET_DOSPELY or GET_STUDENT and so on... and corresponding value(nDospely or nStudent or…) is increased or decreased, but value(nDospely or nS...
by Zdeno Bielik
Sun Dec 04, 2016 9:35 am
Forum: eXpress++ Support
Topic: optimize code
Replies: 9
Views: 13764

Re: optimize code

hmmm, I not sure, what do you mean, because aData and aItems are declared as Local...

Code: Select all

LOCAL i, GetList[0], aData[INVOICE_ARRAY_SIZE], aItems[10], ...
by Zdeno Bielik
Sun Dec 04, 2016 5:21 am
Forum: eXpress++ Support
Topic: optimize code
Replies: 9
Views: 13764

optimize code

Hi Roger, here is part from one my complex dialog screen, which works ok, but I want/need make it „dynamic and generic“, little optimize also and use only locals variables(if it is possible)... Local nDospely := 0 Local nStudent := 0 * Local nCL_Dospely := 0 Local nCL_Student := 0 * Local bS_L_Dospe...
by Zdeno Bielik
Wed Oct 19, 2016 9:20 pm
Forum: eXpress++ Support
Topic: test for elapsed time
Replies: 7
Views: 12582

Re: test for elapsed time

I also watched that included functions before programming the functions of the DateAsSecs, but that functions compares only times in one day, but I need to compare the difference in time of several days and then write it in the form of days / hours / minutes / seconds and depending on how much time ...
by Zdeno Bielik
Wed Oct 19, 2016 3:57 am
Forum: eXpress++ Support
Topic: test for elapsed time
Replies: 7
Views: 12582

Re: test for elapsed time

Hi, I finally found why sometimes function ElapTime returned terrible values for some dates/times. With next fix and one new function it works OK in every situations. Instead of calling Val(dDate) I call new fnc. DateAsSecs( dDate ). Regards Zdeno If ( ElapTime3( Date(),Time(),dDate,cTime) > ( 60 * ...
by Zdeno Bielik
Fri Mar 25, 2016 2:18 am
Forum: eXpress++ Support
Topic: test for elapsed time
Replies: 7
Views: 12582

Re: test for elapsed time

Hi Roger, Chris, ok, I figured it. There was little mistake in Roger's function TimeToSec(). And I also added some code to function ElapTime() for „optional correcting“ returned values. Just try run new code and all results are ok now. Regards, Zdeno *********************** Function MyTestElapTime()...
by Zdeno Bielik
Mon Mar 21, 2016 4:14 am
Forum: eXpress++ Support
Topic: How to extract array from array browser
Replies: 15
Views: 19713

Re: How to extract array from array browser

Hi, try look into variable oBrowse:DataSource, if it contains, what you want/need. Or try export only needed columns in MyExport routine. HTH, Zdeno @ nRow, nCol DCPUSHBUTTON CAPTION 'Export' ... ; ACTION {|| MyExport( oBrowse ) } ... **************** Function MyExport( oBrowse ) ***************** L...
by Zdeno Bielik
Mon Mar 21, 2016 2:44 am
Forum: eXpress++ Support
Topic: test for elapsed time
Replies: 7
Views: 12582

test for elapsed time

Hi Roger, I want compare/test differencies of elapsed time. But when I run next code, it returns wrong values. Please, can you look, where is problem? Many thanks. Regards, Zdeno *********************** Function MyTestElapTime() *********************** Local cDate := Date() Local cTime := Time() Loc...
by Zdeno Bielik
Sun Sep 20, 2015 12:31 am
Forum: Xbase++ 2.0
Topic: SSL support for http
Replies: 15
Views: 48243

Re: SSL support for http

Hi Boris, thanks for that informations. Yes, webserve.prg is my base just with some little modifications, e.g. adding some system setting, added/configured parameters of dbfcdx engine, some modified params of soSServer, deleted pre-filled CipherList.txt for loading „default“ settings – hmmm, what is...