Hi WenSheng,

hb_At() is the preferred and recommended method, so you are okay.

Brgds,
Viktor

On 2008.11.20., at 7:49, WenSheng wrote:


I'm try use AT() function like:
AT( cChar, cString, nStart, nEnd )
but occur error when compiler my AP

To be compatible with Clipper the function is defined as:
AT( cChar, cString ) --> nPos

You should use HB_AT which defined as:
HB_AT( cChar, cString, [nStart], [nEnd] ) --> nPos


there is an option to compile Harbour with -DHB_EXTENSION which internally call HB_AT() whenever you call AT() but as you see it might not be compatible with other xbase dialect.

 Chen.

Thank you!
If I change AT() to HB_AT() is ok,
But, I add switch -DHB_EXTENSION to compile my AP,
still occur error message.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to