well, the afields() would be approbriate, but i don't think it would be a good idea to put a lot of data into a array... (eats up memory, doesn't it?)
ramanis version is, what i actually wanted, but is there a way to do it inline? i have tried:
scan
if &field(1) = "" then...