Given that 'skip does not work with open/binary/direct, I tried using it 
with open/direct as follows:

>> pos: 10000
== 10000
>> file: open/direct %test.dat
>> file: skip file pos
>> first file
** Script Error: Out of range or past end
** Near: first file

but after some experimenting [Win2000] found that the following works:

>> file: open/direct %test.dat
>> loop to-integer pos / 4094 [
[     file: skip file 4094
[    ]
>> file: skip file pos // 4094
>> first file
== #"2"

With numbers larger than 4094 failing. So I thinks to myself that 4094 is 
awfully close to the magical 4Kb (NTFS cluster size?) ...


Regards,

        Ashley
-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to