FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour ATail()
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
ATail()
Posted: Mon Apr 01, 2013 04:13 PM
Dear friends, in xHarbour we can write

Code (fw): Select all Collapse
ATail( aArray ) = xValue


because xHarbour automatically convert it to

Code (fw): Select all Collapse
aArray[ -1 ] = cValue


Harbour doesn't compile it complaining

Code (fw): Select all Collapse
Error E0022  Invalid lvalue '()'


Any solution? Or do I have to replace all the occurences manually?

EMG
Posts: 9020
Joined: Thu Oct 06, 2005 08:17 PM
Re: ATail()
Posted: Tue Apr 02, 2013 11:58 AM
Never mind. I replaced

Code (fw): Select all Collapse
ATail( aArray ) = xValue


with

Code (fw): Select all Collapse
aArray[ LEN( aArray ) ] = xValue


in my code. :-)

EMG

Continue the discussion