Function AT on harbour

Function AT on harbour

Postby Silvio.Falconi » Sun Jun 04, 2017 8: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm

Re: Function AT on harbour

Postby Enrico Maria Giordano » Sun Jun 04, 2017 11:17 am

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

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Function AT on harbour

Postby nageswaragunupudi » 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
User avatar
nageswaragunupudi
 
Posts: 10632
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: Function AT on harbour

Postby Enrico Maria Giordano » Sun Jun 04, 2017 12:33 pm

Ops! You are right, sorry.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8713
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Re: Function AT on harbour

Postby Silvio.Falconi » Sun Jun 04, 2017 5: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 November 2023 - January 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
User avatar
Silvio.Falconi
 
Posts: 7056
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 36 guests