3 ms·
i often want to write: do { offset = tell(filehandle) } while(line = readline(filehandle)) { print "line starts at offset: ", offset }
by bandie91 2y ago
i often want to write:
do {
offset = tell(filehandle)
} while(line = readline(filehandle))
{
print "line starts at offset: ", offset
}