Re: [Harbour] 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-10 Thread Javier
Of course, to me EXIT procedures is a destructor of module for this reason is called in HVM QUIT. I think that it is a wrong praxis practice utilize them for another thing that is not close, erase, clean, ... and it seem me reasonable protect the process of HVM QUIT. Best regards, Xavi Szakát

Re: [Harbour] 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-09 Thread Javier
ified it and decoded for set pHrbPtr->fExit = FALSE, PHB_SYMBOLS is secuential. Does it be possible that solvent all the things? Best regards, Xavi Przemyslaw Czerpak escribió: On Wed, 09 Jul 2008, Javier wrote: Hi Javier, I think that INIT/EXIT procedures is fine controlled by runner s

Re: [Harbour] 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-09 Thread Javier
now hrb module is CG. Best regards, Xavi Przemyslaw Czerpak escribió: On Wed, 09 Jul 2008, Javier wrote: Hi Javier, ; TOFIX: add protection against possible double executing of EXIT procedures in .HRB modules in HVM quit phase Please, could you explain in that y

Re: [Harbour] 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.onet.pl)

2008-07-08 Thread Javier
Przemek, ; TOFIX: add protection against possible double executing of EXIT procedures in .HRB modules in HVM quit phase Please, could you explain in that you are thinking. Best regards, Xavi Przemyslaw Czerpak escribió: 2008-07-08 02:27 UTC+0200 Przemyslaw Czerpak (druzus/at/priv.on

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Javier
Sorry Przemek, I could not have read your changelog until after my post. Tomorrow I see but... good work!. Thank you. Best regards, Xavi Javier escribió: Przemek, IMHO: Yes, I think that it is better don't force the parameters to string and more thinking of the HRB's power. I also

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Javier
bBodyGC of __hrbLoad() inside hb_stackReturnItem() and not be able to access without the hacks explained. Sincerely I believe that also hack inside __hrbLoad() is more easier for the PRG's coders to have more control. Best regards, Xavi Przemyslaw Czerpak escribió: On Mon, 07 Jul 200

Re: [Harbour] Change in runner.c __HRBLOAD()

2008-07-07 Thread Javier
o would be accepted. Thank you and sorry for my wrong English. Best regards. Xavi Przemyslaw Czerpak escribió: On Sun, 06 Jul 2008, Javier wrote: Hi Javier, Sorry for my wrong explanation, my problem is that I costs less program it that write this post. :'( Please, see my Test() funct

[Harbour] Change in runner.c __HRBLOAD()

2008-07-06 Thread Javier
Hi folks, Sorry for my wrong explanation, my problem is that I costs less program it that write this post. :'( Please, see my Test() function if there is error in the init functions of hrb, __hrbLoad() returns a wrong pointer (normally nil) disabling the discharge of the hrb and memmory leaks.

Re: [Harbour] Transform() PICTURE @R compatible Clipper 5.1 and VFP.

2008-07-04 Thread Javier
Viktor, * Transform() PICTURE @R compatible Clipper 5.01 and VFP. Please, could you update the repository, thank you so much Viktor. Best regards. Xavi Javier escribió: In Clipper 5.1, FoxPro, VFP, ..., the result is adjusts to length of entry data for types character. This does more easy

Re: [Harbour] 2008-07-03 16:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-03 Thread Javier
Szakáts Viktor escribió: ! Fixed DJGPP warning. The problem is that DJGPP will preprocess snprintf() to sprintf() (not very safe), which makes ulMaxBuf var unused. Viktor, Don't worry about this because the cBuffer is always dimensioning keeping in mind the width, so it cou

Re: [Harbour] 2008-07-03 16:48 UTC+0200 Viktor Szakats (harbour.01 syenar hu)

2008-07-03 Thread Javier
Ok, Viktor. Thank you very much. -- Well, I don't like the name "Sql_sprintf()" because applying the same reasoning of Mindaugas to Transform() it should be called Fox_transform(): we have the picture @L. :) Szakáts Viktor escribió: 2008-07-03 16:48 UTC+0200 Viktor Szakats (harbour.01 syenar

Re: [Harbour] RC2 checklist update #8

2008-07-03 Thread Javier
Thanks Viktor, * cleaned warnings DOS32/DJGPP 4.2.3 Szakáts Viktor escribió: - DOS32/DJGPP 4.2.3 warnings: ../../spd.c: In function 'SCItm': ../../spd.c:80: warning: unused parameter 'ulMaxBuf' I take out "Remove C ESC sequences and converts them to Clipper chars in cRes.", I think that

Re: [Harbour] Comparing TYPE with Harbour API

2008-06-28 Thread Javier
Sorry I don't understand nothing but if you want the PHB_ITEM to second element of a array "pInfo->pNewVal" will be.- hb_arrayGetItemPtr( pInfo->pNewVal, 2 ) because, if not change, hb_arrayGetCPtr() return (char *) not PHB_ITEM. and if change, I want to know it.- if( hb_itemType( hb_ar

Re: [Harbour] Re: spd.c warning

2008-06-23 Thread Javier
Thanks David, It is not important, the new functions are easier and small that SPD and _SPD() or Sql_sprintf() not are in distribution RC1. Thanks so much. Xavi David Arturo Macias Corona escribió: Xavi: >A question, could your help me to transfer a mere C function Win32 to >OS/ 2? I do no

Re: [Harbour] Re: spd.c warning

2008-06-20 Thread Javier
David, A question, could your help me to transfer a mere C function Win32 to OS/ 2? Best regards. Xavi David Arturo Macias Corona escribió: >2008-06-20 09:59 UTC+0200 Viktor Szakats (harbour.01 syenar hu) > * contrib/hbmisc/spd.c > ! Fix for OS/2 warning. Thanks Viktor Xavi: >Is Every

Re: [Harbour] spd.c warning

2008-06-19 Thread Javier
What? ... Ops. Sorry. Please, change the line 173 by .- ... ***/ ... Thanks David, Is Everything else fine in OS / 2? Best regards. Xavi David Arturo Macias Corona escribió: Current Harbour under OS/2 ../../spd.c:173:

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-17 Thread Javier
Thanks Viktor, Ok, I Do understand, thank you very much Viktor. Best regards. Xavi Szakáts Viktor escribió: Hi Javier, A question, does it be better to make the change hb_itemPutCPtr() to hb_itemPutCLPtr() by macro in hbapi.h? #define hb_itemPutCPtrhb_itemPutCLPtr Currently there is

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-16 Thread Javier
Thanks Viktor & Mindaugas, A question, does it be better to make the change hb_itemPutCPtr() to hb_itemPutCLPtr() by macro in hbapi.h? #define hb_itemPutCPtrhb_itemPutCLPtr I done the change suggested by Mindaugas. Please, could you update the repository, thank you so much Viktor. Now ac

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-12 Thread Javier
f(), this not replace Transform(). There is no problem in implementing these changes if there is consensus and I do not think that reduce benefits but I do not seem logical to have "additional implementations with different names" and neither exists a PHP_Sprintf() is Sprintf (). Bes

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-12 Thread Javier
Thanks Mindaugas, I very much appreciate your views. Mindaugas Kavaliauskas escribió: New flags worth to be implemented can be: 1) string and numbers trimming (it would be usefull because .dbf fields are space PADR'ed); But this already it does sprintf.- _SPD("[%15s] [%8.1f]", "It's number",

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-11 Thread Javier
me way that in C with some help. New functionality or improvements in benefits are welcome: this is Open Source. About the name I think it should be the Harbour's community who name, _SPD is just the name that I have given. Best regards Xavi Szakáts Viktor escribió: Hi Javier, One more

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Javier
ginas-manual/man-pages-es-1.28/man3/printf.3.html --- In my case, the necessity of the function is mount SQL sentences in the same way that in C with some help. New functionality or improvements in benefits are welcome: this is Open Source. About the name I think it should be

Re: [Harbour] 2008-06-07 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-08 Thread Javier
with CT3 ones. INCOMPATIBLE: If your code used CEIL() from hbmisc, please update it to use CEILING() from hbct. Functionality is the same. + Added _SPD() function. Contributed by Javier (jarabal at gmail.com) -- Brgds, Viktor /* * Har

Re: [Harbour] 2008-06-02 20:16 UTC+0100 Viktor Szakats (harbour.01 syenar hu)

2008-06-02 Thread Javier
) | ( *ptr++ - 'A' + 10 ); else if( *ptr >= 'a' && *ptr <= 'f' ) ch = ( ch << 4 ) | ( *ptr++ - 'a' + 10 ); else break; ++ulStripped;

[Harbour] A question about hb_strRemEscSeq ()

2008-06-02 Thread Javier
It is possible that I lost but .- 2006-03-09 16:30 UTC+0100 Ryszard Glab ... * source/common/hbstr.c * source/rtl/strings.c * added hb_strRemEscSeq() function that removes C-like Esc sequences (\n \t \r \b currently) On the source/rtl/strings.c is not and on the source/common/hbst

[Harbour] Harbour ANSI C sprintf() for ANSI SQL.

2008-05-23 Thread Javier
IMHO.- I need to implement a sprintf () compatible ANSI C and ANSI SQL to generate HTML, mount SQL sentences of an effective way in critical processes or simply mount messages of the application and debugging of a easy way. Attach spd.c file, please check if it is Harbour compatible. For my par

[Harbour] Transform() PICTURE @R compatible Clipper 5.1 and VFP.

2008-04-08 Thread Javier
In Clipper 5.1, FoxPro, VFP, ..., the result is adjusts to length of entry data for types character. This does more easy the application of a accountant mask, for example .- Local cAccount := "12345" ? '[' + Transform( cAccount, '@R 999.99.99.' ) + ']' // [123.45] In Clipper 5.2 y Harbour

Re: [Harbour] What about creating a harbour user group on usenet?

2008-03-26 Thread Javier
Would not it be better to concentrate everything in one? Sorry but I don't see thousand of subscribers in the projects neither problems of spams. On the contrary, the one which I see is a drop participation in small projects more and more divided. best regards, Xavi Massimo Belgrano escribió:

Re: R: [Harbour] IS Xharbour still alive?

2008-03-11 Thread Javier
Thanks Patrick !!! best regards, Xavi Patrick Mast, xHarbour.com escribió: Hello Javier, Ok, but ... *WHY* is closed development mailing list, even read? We have no objection to open up the xHarbour Devlist. Let me look into it on how to do it. Patrick

Re: [Harbour] Collectible pointers

2008-02-02 Thread Javier
Szakáts Viktor escribió: [ yes Javier, but also notice that indenting is just two chars deep, not to mention the usage of 'begindump'.. :-P ] I take note :'( I think the problem is that you're reassigning 'h' after debug( "1" ), which makes it lose it

Re: [Harbour] Collectible pointers

2008-02-01 Thread Javier
Mindaugas Kavaliauskas escribió: What's wrong with my code? h ... YA TA! "hb_fctx_destructor" is forbidden by the boss. You should rename it with "My_destructor". :) Sorry it is sophisticated of course, please, could you explain it more. What is you output? Best regards Xavi ___

Re: [Harbour] How write Harbour / xHarbour C code?

2007-12-07 Thread Javier
tensive in the code of compiler type char. Is this correct? Best regards Xavi Mindaugas Kavaliauskas escribió: Javier wrote: What is the convention to write C code for Harbour / xHarbour? What definitions, types and macros should I use to write C code that is not dependent compiler, system

[Harbour] How write Harbour / xHarbour C code?

2007-12-07 Thread Javier
What is the convention to write C code for Harbour / xHarbour? What definitions, types and macros should I use to write C code that is not dependent compiler, system or machine? Thanks, a greeting. Xavi ___ Harbour mailing list Harbour@harbour-projec