Código: Selecionar todos
aAdd( aVetor, {"1", "2", "3"})
aEval( aVetor, {|e,n| Hb_aIns( aVetor, n, { e[1], e[2], e[3], "4" } ) } )
Moderador: Moderadores
Código: Selecionar todos
aAdd( aVetor, {"1", "2", "3"})
aEval( aVetor, {|e,n| Hb_aIns( aVetor, n, { e[1], e[2], e[3], "4" } ) } )
Código: Selecionar todos
aVetorX := {}
aEval( aVetor, {|e,n| aAdd( aVetorx, { e[1], e[2], e[3], Hb_NtoC(N) } ) } )

Código: Selecionar todos
aPrincipal := { 1, 2, 3 }
Código: Selecionar todos
aPrincipal := { L1, L2, L3 }
Código: Selecionar todos
AEval( aPrincipal, { | e | AAdd( e, 4 ) } )
Código: Selecionar todos
AAdd( aPrincipal, { 1, 2, 3 } )
Código: Selecionar todos
aEval( ::hOpsTela, { | e | e[ "MARCADO" ] := .F., e[ "DESTINO" ] := 1 } )
Código: Selecionar todos
AEval( aList, { | e | e[ 4 ] := .F., e[ 5 ] := 1 } )
Código: Selecionar todos
#define A_MARCADO 4
#define A_DESTINO 5
AEval[ aList, { | e | e[ A_MARCADO ] := .F., e[ A_DESTINO ] := 1 } )
Código: Selecionar todos
AEval( aList, { | e | iif( Len( e ) < 4, AAdd( e, .F. ),NIL), iif( Len( e ) < 5, AAdd( e, 0 ),NIL), e[ 4 ] := .F., e[ 5 ] := 1 } )

Código: Selecionar todos
aList := { 1, 2, 3, .F., 0 }
Código: Selecionar todos
aEval( aVetor, { | e,n | aAdd( e, "" ) } )