im using something similar to like:
alias readtxt {
var %x = 1
while ($read(file.txt,n,%x)) {
var %line = $gettok($ifmatch,1-,32)
if (%line > 5000) { write newfile.txt %line }
inc %x
}
}
an exmaple of the txt file would be like:
1
2
3
4
5
6
7
etc.. with spaces in between. I spent a good hour or so trying to figure it out, but whatever i tried, it stops when it reaches the return(by that i mean it wont read after 4[after the 'enter'])
Any idea how to make it keep going?
i tried doing
while (%line == $null) { inc %x }
but it doesnt even read after the 4 to see its $null, any ideas?