Arc Forumnew | comments | leaders | submitlogin
I/O operations in Arc: documentation (arcist.com)
22 points by kens1 6131 days ago | 6 comments


5 points by brett 6131 days ago | link

It's definitely getting the the point where Ken's page deserves a permanent link somewhere on this forum or the arc home page.

-----

3 points by aoeuid 6130 days ago | link

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

-----

1 point by sacado 6131 days ago | link

Step by step, this is really getting an excellent documentation... Thanks a lot...

-----

1 point by drcode 6131 days ago | link

Thank you again!

-----

1 point by NickSmith 6131 days ago | link

Top bombing Ken. :)

-----