Instruci贸n Get

Le un rexistro dun ficheiro relativo ou unha secuencia de bytes dun ficheiro binario a unha vari谩bel.

See also: PUT Statement

Sintaxe:

Get Statement diagram


Get [#]fileNum, [recordNum|filePos], variable

Par谩metros:

fileNum: Any integer expression that determines the file number.

recordNum: For files opened in Random mode, recordNum is the number of the record that you want to read.

For files opened in Binary mode, filePos is the byte position in the file where the reading starts.

If recordNum and filePos are omitted, the current position or the current data record of the file is used.

vari谩bel: Nome da vari谩bel que desexa ler. Use calquera tipo de vari谩beis excepto as de obxectos.

Exemplo:

Precisamos da s煤a axuda!