int FileTell(int handle)
Returns the current position of the file pointer. To get the detailed error
information, one has to call GetLastError() function.
ファイルポインタの現在の位置を返します。詳細なエラー情報を取得するには、GetLastError() 関数を呼び出します。
Parameters:
パラメータ:
handle - File handle returned by the FileOpen() function.
FileOpen() 関数によって返されたファイル ハンドル。
Sample:
サンプル:
int handle;
int pos;
handle=FileOpen("my_table.dat", FILE_BIN|FILE_READ);
// reading some data
pos=FileTell(handle);
Print("current position is ", pos);
|