IF eq '#' does not work!
i debug and i can see the value # in the variable but never do the next line!
is a char type or ?
DATA:
linea(20),
zlineas type n.
zlineas = STRLEN( linea ).
if zlineas NE 0.
zlineas = zlineas - 1.
describe field linea+zlineas(1) type zchar.
move linea+zlineas(1) TO zchar.
if not is numeric zchar.
<b> if linea+zlineas(1) = '#'.</b>
linea = linea(zlineas).
endif.
endif.