Arc Forumnew | comments | leaders | submit | aoeuid's commentslogin
3 points by aoeuid 6100 days ago | link | parent | on: I/O operations in Arc: documentation

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 6100 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....

-----