TEngo un array
::aTree (A2)<Array>
::aTree[ 1] (A5)<Array>
::aTree[ 1][ 1] (N) => 0
::aTree[ 1][ 2] (C10) => "01/01/1993"
::aTree[ 1][ 3] (C1) => "a"
::aTree[ 1][ 4] (N) => 1
::aTree[ 1][ 5] (N) => 11024072
::aTree[ 2] (A5)<Array>
::aTree[ 2][ 1] (N) => 0
::aTree[ 2][ 2] (C10) => "01/01/1991"
::aTree[ 2][ 3] (C1) => "b"
::aTree[ 2][ 4] (N) => 1
::aTree[ 2][ 5] (N) => 11024216
Al hacer este codigo, me devuelve siempre cero
- Code: Select all Expand view
- oItem:cargo["hitem"]:= 11024216
x := AScan( ::aTree, { | a | a[ 5 ] = oItem:cargo[ "hitem" ] } )
que estoy haciendo mal?