Page 1 of 1

AT ( cSearch, cData, nOffset )

Posted: Mon Apr 07, 2008 3:41 pm
by Otto
Is nOffset supported by Harbour, too?

nLocation := AT( cSearch, cData, nOffset )

If I try this with Harbour I get following error.

\FREITEST.PRG(5095) Error E0021 Incorrect number of arguments: AT
assed: 3, expected: 2

Maybe this is xHarbour only?
Regards,
Otto

Posted: Mon Apr 07, 2008 4:42 pm
by Antonio Linares
Otto,

Are you using the Harbour build that we provide with FWH or have you build it yourself ?

Posted: Mon Apr 07, 2008 5:35 pm
by Otto
Antonio, I use 8.03.
Regards,
Otto

Posted: Mon Apr 07, 2008 8:37 pm
by Antonio Linares
Otto,

I mean if you are using the Harbour setup that we provide with FWH.

Some users build it themselves from the SVN repository (thats why I ask you) :-)

Posted: Mon Apr 07, 2008 9:22 pm
by Otto
No, I use the original libs.
Regards,
Otto

Posted: Mon Apr 07, 2008 9:24 pm
by James Bott
Otto,

Is there some reason you need to use Harbour instead of xHarbour? xHarbour seems more advanced. I would use xHarbour exclusively.

James