Files
harbour-core/harbour/tests/working/arrindex.prg
Ron Pinkas 1ea510929f May 31, 1999 Ron Pinkas
Harbour.l added support for "[String]" inside ARRAY INDEX expressions
        Added "Sysntax error :" message for the macro operator (&)
        when followed by a string delimiter.
1999-06-01 03:09:08 +00:00

16 lines
153 B
Plaintext

Function Main
local a, b , c
a := { {,} }
a [ 1, 2 ] := [Hello]
c := { 1 }
b := a [ c [1] ] [ val( [2] ) ]
QOut( b )
return NIL