bloodlocust
07-02-2002, 12:45 AM
Hi there,
I'm using "fseek myfile pos 1". Basically I want to seek from the beginning of the file, using my offset "pos".
The docs do not make it clear how to use fseek.
Do I: "fseek pos 1" or "fseek pos #seek_set" ? bit confused as if I actually have to type #seek_set? or is it asking for a number between 1 and 3?
Docs:
Boolean fseek <BinStream> <Integer> <#seek_set | #seek_cur | #seek_end>
Move the file pointer to the specified location based off the seek parameter.
#seek_set - base off start of file.
#seek_cur - base off current position.
#seek_end - base off end of file.
Thanks for any help you may have.
I'm using "fseek myfile pos 1". Basically I want to seek from the beginning of the file, using my offset "pos".
The docs do not make it clear how to use fseek.
Do I: "fseek pos 1" or "fseek pos #seek_set" ? bit confused as if I actually have to type #seek_set? or is it asking for a number between 1 and 3?
Docs:
Boolean fseek <BinStream> <Integer> <#seek_set | #seek_cur | #seek_end>
Move the file pointer to the specified location based off the seek parameter.
#seek_set - base off start of file.
#seek_cur - base off current position.
#seek_end - base off end of file.
Thanks for any help you may have.
