Arc Forumnew | comments | leaders | submitlogin
3 points by aoeuid 6134 days ago | link | parent

I was wondering, in Python there is a file.seek(n) operation, that takes you to the nth byte of the file. Is there anything like that in Arc at the moment?


3 points by kens1 6134 days ago | link

Arc doesn't have any way to seek in a file. The MzScheme (file-position n) operation does what you want. You can use it via a Scheme escape from the Anarki version of Arc, if they haven't explicitly added it already.

file-position documentation: http://download.plt-scheme.org/doc/mzscheme/mzscheme-Z-H-11....

-----