On Thu, 13 Dec 2007, Pritpal Bedi wrote:
> Hello
> In Clipper and xHarbour this code works ok:
> ENABLE TYPE CLASS ALL
> Local aArray := { 'John', 12, .t., ctod( '' ) }
>    aArray:Append( 2002 )
>    ? Len( aArray ) // 5
> But in Harbour I get this error:
>    Error BASE/1004 Message not found: :APPEND
> I checked vm/classes.c but could not find a clue. May be I am missing some
> switch in compiling Harbour.

add to array class in source/rlt/tscalar.prg

   MESSAGE Append  METHOD Add

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

Reply via email to