Re: [Harbour] field->&("name") in a macro

2010-03-20 Thread Xavi
Harbour has the same behavior as Clipper .- proc main() PUBLIC VAR := 'Hello' ? M->&("VAR") // Ok ? xxx( "VAR" ) // Ok ? Eval( &('{|| M->'+"VAR"+'}') ) // Ok ? Eval( &('{|| M->&("VAR") }') ) // Error BASE/1449 Syntax error: & return func xxx( name ) // b := &( "{|| field->" +

Re: [Harbour] Re: field->&("name") in a macro

2010-03-20 Thread francesco perillo
> And since change in more than 800 files? I don't know your source code but you wrote: func xxx( name ) local b := &( "{|| field->&('" + name + "') }" ) return eval( b ) so I understand that in your 800 files there are several calls like: bGet = xxx( "surname" ) It this is the actual situation,

Re: [Harbour] Re: field->&("name") in a macro

2010-03-20 Thread Alexandr Okhotnikov
Hi And since change in more than 800 files? there is a simpler solution? In PRG everything compiles and runs fine 2010/3/21 Angel Pais : > xVar := (cAlias)->(FieldGet(FieldPos('name'))) > > HTH > Angel > > ___ > Harbour mailing list (attachment size l

[Harbour] Re: field->&("name") in a macro

2010-03-20 Thread Angel Pais
xVar := (cAlias)->(FieldGet(FieldPos('name'))) HTH Angel ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] field->&("name") in a macro

2010-03-20 Thread Alexandr Okhotnikov
Hi, How can I compile (and run) this code in a macro: field->&("name") example: func xxx( name ) local b := &( "{|| field->&('" + name + "') }" ) return eval( b ) Error BASE/1449 Syntax error: & PS in *.hrb the exact same error PPS Alaska XBase++: compiles without errors (I convert the code

Re: [Harbour] hbIDE - Autosave a Source

2010-03-20 Thread francesco perillo
yes, but only IF: - it is an option not enabled by default OR - autosaves to a different file to not overwrite the file on disk imagine you have your editor open and you go to have a drink, your cat jumps over the keyboard and deletes some lines of code Infact both "vi" editor and ms word

[Harbour] Re: Hbide is at xmate level for harbour user

2010-03-20 Thread Pritpal Bedi
Massimo Belgrano wrote: > >>> Gui Debugger >> Still not thought of, I need be more educated in this field. > basic function of prg level debug are exec steep by step your prg and > show value of variable > MultiThread give more difficult debug http://www.allinea.com/?page=86 > c level need solut

[Harbour] hbIDE - Autosave a Source

2010-03-20 Thread Pritpal Bedi
Hi All I am almost there to implement autosave a modified source after a fixed interval of time. My worry - is it worth ? Opinions? - enjoy hbIDEing... Pritpal Bedi _a_student_of_software_analysis_&_design_ -- View this message in context: http://n2

Re: [Harbour] Re: Hbide is at xmate level for harbour user

2010-03-20 Thread Massimo Belgrano
>> Project mapping and user menu (because i use for integrate harbour >> developer language with winapi) > On TODO list. Very good! >> Gui Debugger > Still not thought of, I need be more educated in this field. basic function of prg level debug are exec steep by step your prg and show value of var

[Harbour] Re: Hbide is at xmate level for harbour user

2010-03-20 Thread Pritpal Bedi
Massimo Belgrano wrote: > > Project function lookup is very good but little complex to use: is > possible Define a hbide project flag who automatically open tag so > balance need of fast load with easy to use > Done. r14203. - enjoy hbIDEing... Pritp

[Harbour] SF.net SVN: harbour-project:[14203] trunk/harbour

2010-03-20 Thread vouchcac
Revision: 14203 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14203&view=rev Author: vouchcac Date: 2010-03-20 18:28:56 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 11:25 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.ch *

[Harbour] SF.net SVN: harbour-project:[14202] trunk/harbour

2010-03-20 Thread vszakats
Revision: 14202 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14202&view=rev Author: vszakats Date: 2010-03-20 17:53:29 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 18:51 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat ! Fi

[Harbour] Re: Hbide is at xmate level for harbour user

2010-03-20 Thread Pritpal Bedi
Massimo Belgrano wrote: > > Autosave > Done. r14201. > Command line to load project or single prg > Easy creation of project > Done. r14198. > Project function lookup is very good but little complex to use: is > possible Define a hbide project flag who automatically open tag so > b

[Harbour] SF.net SVN: harbour-project:[14201] trunk/harbour

2010-03-20 Thread vouchcac
Revision: 14201 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14201&view=rev Author: vouchcac Date: 2010-03-20 17:17:14 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 10:12 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/ideprojmanage

[Harbour] SF.net SVN: harbour-project:[14200] trunk/harbour/ChangeLog

2010-03-20 Thread petr_ch
Revision: 14200 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14200&view=rev Author: petr_ch Date: 2010-03-20 16:35:33 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 18:30 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/ChangeLog ! fixed

[Harbour] SF.net SVN: harbour-project:[14199] trunk/harbour

2010-03-20 Thread petr_ch
Revision: 14199 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14199&view=rev Author: petr_ch Date: 2010-03-20 16:26:55 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 18:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/bin/postinst.bat !

Re: [Harbour] Re: OS/2: Harbour 14189, hbqt

2010-03-20 Thread Massimo Belgrano
Will be good if possible if sameboy [like Pritpal] found a way in hbide,hbqt.hbxbp that when a compoment not work the application will continue also without this part, this be usefull for platform like os2,ubuntu,mobile platform with partial support SET INGNORE ERROR Better partial that nothing

[Harbour] Re: OS/2: Harbour 14189, hbqt

2010-03-20 Thread Pritpal Bedi
David Arturo Macias Corona wrote: > > Tests with Harbour fresh checkout: > * $Id: ChangeLog 14189 2010-03-19 13:11:59Z vszakats $ > 2010-03-19 14:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > > os2qt development has moved to Qt462 > Current tests with os2qt462 r701 > > so we have a n

[Harbour] SF.net SVN: harbour-project:[14198] trunk/harbour

2010-03-20 Thread vouchcac
Revision: 14198 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14198&view=rev Author: vouchcac Date: 2010-03-20 14:59:17 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 07:53 UTC-0800 Pritpal Bedi (prit...@vouchcac.com) * contrib/hbide/hbide.hbp

Re: [Harbour] About message WM_CREATE in gtwvt.c

2010-03-20 Thread Saulius Zrelskis
> Mindaugas Kavaliauskas wrote: > lpCreateParams can be used to pass windows structure/object, but this does > not help if you want to have hWnd and windows structure binding in >  WM_GETMINMAXINFO, since this message does not have CREATESTRUCT parameter. > WM_GETMINMAXINFO processing could be usef

[Harbour] Request feature win_prn.

2010-03-20 Thread Itamar Lins
Hi! Please add possibility vertical print caracters. Best regards, Itamar M. Lins Jr. ___ Harbour mailing list (attachment size limit: 40KB) Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour

[Harbour] SF.net SVN: harbour-project:[14197] trunk/harbour

2010-03-20 Thread vszakats
Revision: 14197 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14197&view=rev Author: vszakats Date: 2010-03-20 13:33:10 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 14:32 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/win_shell.c

Re: [Harbour] About message WM_CREATE in gtwvt.c

2010-03-20 Thread Mindaugas Kavaliauskas
Saulius Zrelskis wrote: > I try to use CreateWindow(Ex) parameter LPVOID lpParam. There can be address of memory or any value ( LPVOID ) 0x12345678 and messages WM_NCCREATE, WM_CREATE receives in lParam structure CREATESTRUCT address, where member lpCreateParams have value passed through lpPar

Re: [Harbour] About message WM_CREATE in gtwvt.c

2010-03-20 Thread Saulius Zrelskis
Hi, > Is it clear? Yes, clear and robust solution. Thank you very much. I try to use CreateWindow(Ex) parameter LPVOID lpParam. There can be address of memory or any value ( LPVOID ) 0x12345678 and messages WM_NCCREATE, WM_CREATE receives in lParam structure CREATESTRUCT address, where member

[Harbour] OS/2: Harbour 14189, hbqt

2010-03-20 Thread David Arturo Macias Corona
Pritpal: Tests with Harbour fresh checkout: * $Id: ChangeLog 14189 2010-03-19 13:11:59Z vszakats $ 2010-03-19 14:04 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) os2qt development has moved to Qt462 Current tests with os2qt462 r701 so we have a newer Harbour and newer os2Qt462 With our 4 s

[Harbour] SF.net SVN: harbour-project:[14196] trunk/harbour

2010-03-20 Thread vszakats
Revision: 14196 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14196&view=rev Author: vszakats Date: 2010-03-20 12:26:53 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 13:26 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbwin/hbwin.ch

Re: [Harbour] SF.net SVN: harbour-project:[14194] trunk/harbour

2010-03-20 Thread Przemysław Czerpak
On Sat, 20 Mar 2010, vszak...@users.sourceforge.net wrote: Hi, > --- > 2010-03-20 10:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) > * contrib/hbbz2/Makefile > - contrib/hbbz2/hbbzip2.ch > + contrib/hbbz2/hbbz2.ch > - contrib/hbbz2/hbbzip2.c > + contrib/hbbz2/hbbz2.c > - c

[Harbour] SF.net SVN: harbour-project:[14195] trunk/harbour

2010-03-20 Thread druzus
Revision: 14195 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14195&view=rev Author: druzus Date: 2010-03-20 12:07:46 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 13:07 UTC+0100 Przemyslaw Czerpak (druzus/at/priv.onet.pl) * harbour/contrib/hbwin

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-20 Thread Przemysław Czerpak
On Fri, 19 Mar 2010, Maurilio Longo wrote: Hi, > for real code, doing I/O on a network share, the difference could be lower, > though. Network IO operations are extremely expensive so they will consume most of time anyhow in local IO operations are not such significant and there are time consumi

Re: [Harbour] About message WM_CREATE in gtwvt.c

2010-03-20 Thread Mindaugas Kavaliauskas
Saulius Zrelskis wrote: Before returning, CreateWindow sends a WM_CREATE message to the window procedure. So this message _never_ processed in hb_gt_wvt_WndProc, because window handle is still unknown for hb_gt_wvt_Find. This also appends to messages WM_GETMINMAXINFO, WM_NCCREATE and WM_NCCALCSIZ

Re: [Harbour] mingw 4.5.0 benchmarks

2010-03-20 Thread Przemysław Czerpak
On Fri, 19 Mar 2010, Mindaugas Kavaliauskas wrote: Hi, > >I've included BCC55 for comparison. It's running at half the > >overall speed compared to 4.5 64-bit. > Ec... I'm still using BCC, because... it compiles f.e. > \external\sqlite3 in 2.74 s, and MGW compiles it in 3 minutes 3.25 > s, i.

[Harbour] SF.net SVN: harbour-project:[14194] trunk/harbour

2010-03-20 Thread vszakats
Revision: 14194 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14194&view=rev Author: vszakats Date: 2010-03-20 09:50:12 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 10:49 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * contrib/hbbz2/Makefile

[Harbour] SF.net SVN: harbour-project:[14193] trunk/harbour

2010-03-20 Thread vszakats
Revision: 14193 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14193&view=rev Author: vszakats Date: 2010-03-20 09:43:04 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 10:42 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) - contrib/hbbzip2 + contr

[Harbour] SF.net SVN: harbour-project:[14192] trunk/harbour

2010-03-20 Thread vszakats
Revision: 14192 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14192&view=rev Author: vszakats Date: 2010-03-20 09:39:53 + (Sat, 20 Mar 2010) Log Message: --- 2010-03-20 10:38 UTC+0100 Viktor Szakats (harbour.01 syenar.hu) * bin/postinst.bat ! Fi

Re: [Harbour] SF.net SVN: harbour-project:[14191] trunk/harbour

2010-03-20 Thread Viktor Szakáts
Hi, It broke creation of shared binaries in my regular release builds. Brgds, Viktor On 2010 Mar 20, at 10:03, petr...@users.sourceforge.net wrote: > Revision: 14191 > > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14191&view=rev > Author: petr_ch > Date: 2010

[Harbour] SF.net SVN: harbour-project:[14191] trunk/harbour

2010-03-20 Thread petr_ch
Revision: 14191 http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14191&view=rev Author: petr_ch Date: 2010-03-20 09:03:45 + (Sat, 20 Mar 2010) Log Message: --- 2009-11-28 11:00 UTC+0200 Petr Chornyj (myorg63 at mail.ru) * harbour/bin/postinst.bat

[Harbour] About message WM_CREATE in gtwvt.c

2010-03-20 Thread Saulius Zrelskis
Hi, All Before returning, CreateWindow sends a WM_CREATE message to the window procedure. So this message _never_ processed in hb_gt_wvt_WndProc, because window handle is still unknown for hb_gt_wvt_Find. This also appends to messages WM_GETMINMAXINFO, WM_NCCREATE and WM_NCCALCSIZE. Any hint how

Re: [Harbour] SF.net SVN: harbour-project:[14190] trunk/harbour

2010-03-20 Thread Massimo Belgrano
Thanks! 2010/3/20 : > Revision: 14190 >           > http://harbour-project.svn.sourceforge.net/harbour-project/?rev=14190&view=rev > Author:   vouchcac > Date:     2010-03-20 05:35:28 + (Sat, 20 Mar 2010) > > Log Message: > --- > 2010-03-19 22:22 UTC-0800 Pritpal Bedi (prit...@vouchca