Início > lang > seek 
 en fr de es it nl pl pt mk sq ca hu cs tr ar fa id vi ko ja ru zh zh_TW eo
Anterior  Próximo  Editar  Renomear  Desfazer  Procurar  Administração  
Documentação  
Cuidado! Esta página não está traduziada.  Veja a versão em inglês 
SEEK
SEEK [ # ] Stream , Position

Defines the position of the stream pointer, for the next read/write operation.

If Position is negative, then the stream pointer is moved relatively to the end of the file.

To move the stream pointer after the end of the file, you must use the Lof function.

Exemplo

' Move to the beginning of the file
SEEK #hFile, 0

' Move after the end of the file
SEEK #hFile, Lof(#hFile)

' Move 100 bytes before the end of the file
SEEK #hFile, -100

Veja também

Funções de Stream e Entrada/Saída, Stream