FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Function AT on harbour
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Function AT on harbour
Posted: Sun Jun 04, 2017 08:59 AM

I have an error on function AT
Error E0021 Incorrect number of arguments in AT
but it is strange because I think to make right
sample :

nInicio:= At('", ', cDato) +3
nFin:= At(', "', cDato, nInicio) <------

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Function AT on harbour
Posted: Sun Jun 04, 2017 11:17 AM

It looks like an Harbour bug. Somebody can report it to the Harbour developers, please?

EMG

Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: Function AT on harbour
Posted: Sun Jun 04, 2017 11:24 AM

In Harbour
AT( cSearch, cString ) --> nAt

or

HB_AT( cSearch, cString, nStart, nEnd ) --> nAt

Regards



G. N. Rao.

Hyderabad, India
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: Function AT on harbour
Posted: Sun Jun 04, 2017 12:33 PM

Ops! You are right, sorry.

EMG

Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: Function AT on harbour
Posted: Sun Jun 04, 2017 05:26 PM

if I have this

nInicio:= At('", ', cDato) +3
nFin:= At(', "', cDato, nInicio)

HOw I converte ?

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion