I'm working with some legacy code orignially developed with xHarbour. The AT() function in xHarbour has this syntax:
At( <cSearch>, <cString>, [<nStart>], [<nEnd>] ) --> nPos
Using Harbour, AT() only supports the first two parameters and will error if the nStart is specified.
Is there an alternative syntax for Harbour that matches the original xHarbour ( and Clipper ) function syntax?
AT( ) Function. Harbour vs xHarbour
AT( ) Function. Harbour vs xHarbour
Tim Stone
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
http://www.MasterLinkSoftware.com
timstone@masterlinksoftware.com
Using: FWH 19.06 with Harbour 3.2.0 / Microsoft Visual Studio Community 2019
- nageswaragunupudi
- Posts: 8017
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Contact:
Re: AT( ) Function. Harbour vs xHarbour
Yes.Using Harbour, AT() only supports the first two parameters and will error if the nStart is specified.
Function HB_AT(...) of Harbour is equivalent to the function AT() of XHarbour.
But if you link xhb.lib, using AT(...) with Harbour also give the same results.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India