Hello, Erick.
I created this file with vi:
# cat /tmp/test
a b c d
p q r s
1 2 3 4
The first record has a single space as a field delimiter -- but the second and third records use a TAB as a delimiter.
I modified your code just a little, like this:
def var c-linea as char format "x(9)" extent 5.
input through 'cat /tmp/test'.
repeat:
import delimiter "~009" c-linea.
display
c-linea
with frame carga
1 column.
end.
input close.
It now works.
Good luck!
Ron.