Re: [Harbour] Array access at C level

2009-08-03 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Viktor Szakáts" A: "Harbour Project Main Developer List." Data invio: lunedì 3 agosto 2009 14.56 Oggetto: Re: [Harbour] Array access at C level You have to #include the Clipper compatible headers. Thank you, it works. EMG -- EM

Re: [Harbour] Array access at C level

2009-08-03 Thread Viktor Szakáts
1.49 Oggetto: Re: [Harbour] Array access at C level > Can I ask the reason for this Clipper compatibility break? It's not a Clipper compatibility break, as Clipper uses _par*() function names. Harbour is still compatible with these. Maybe I'm missing something but the following sa

Re: [Harbour] Array access at C level

2009-08-03 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Viktor Szakáts" A: "Harbour Project Main Developer List." Data invio: lunedì 3 agosto 2009 1.49 Oggetto: Re: [Harbour] Array access at C level > Can I ask the reason for this Clipper compatibility break? It's not a Cli

Re: [Harbour] Array access at C level

2009-08-02 Thread Viktor Szakáts
-Messaggio Originale- Da: "Petr Chornyj" A: Data invio: domenica 2 agosto 2009 17.14 Oggetto: Re: [Harbour] Array access at C level > HB_FUNC( TEST ) > { > hb_retc( hb_parc( 1, 1 ) ); > } HB_FUNC( TEST ) { hb_retc( hb_parvc( 1, 1 ) ); } Can I ask the r

Re: [Harbour] Array access at C level

2009-08-02 Thread Enrico Maria Giordano
-Messaggio Originale- Da: "Petr Chornyj" A: Data invio: domenica 2 agosto 2009 17.14 Oggetto: Re: [Harbour] Array access at C level > HB_FUNC( TEST ) > { > hb_retc( hb_parc( 1, 1 ) ); > } HB_FUNC( TEST ) { hb_retc( hb_parvc( 1, 1 ) ); } Can I a

Re: [Harbour] Array access at C level

2009-08-02 Thread Petr Chornyj
Enrico Maria Giordano wrote: > > What is the correct way to implement the following sample in Harbour (it > works fine in Clipper and xHarbour): > > FUNCTION MAIN() > > LOCAL aArray := { "Test 1" } > > ? TEST( aArray ) > > RETURN NIL > > > #pragma BEGINDUMP > > #include "hba

[Harbour] Array access at C level

2009-08-02 Thread Enrico Maria Giordano
What is the correct way to implement the following sample in Harbour (it works fine in Clipper and xHarbour): FUNCTION MAIN() LOCAL aArray := { "Test 1" } ? TEST( aArray ) RETURN NIL #pragma BEGINDUMP #include "hbapi.h" HB_FUNC( TEST ) { hb_retc( hb_parc( 1, 1 ) ); } #pragma