Ver Mensaje Individual
  #6  
Viejo 12/07/06, 09:33:39
Avatar de tomasm
tomasm tomasm is offline
Member
 
Fecha de Ingreso: jun 2006
Localización: Paraiso natural
Mensajes: 87
report zprue_.

data: matriz(15) type N value '0'.

data: begin of itab occurs 0,
numero(15) type n,
end of itab.



start-of-selection.


move '12' to itab-numero.
append itab.
clear itab.

move '1234' to itab-numero.
append itab.
clear itab.

move '123456' to itab-numero.
append itab.
clear itab.

move '123456789' to itab-numero.
append itab.
clear itab.

loop at itab.
move itab-numero to matriz.
Write:/ matriz.
endloop.

SALIDA ------------------------>

000000000000012
000000000001234
000000000123456
000000123456789


salud !!!!!!
__________________
Responder Con Cita