De interface van VDS Renaissance is in meerdere talen beschikbaar. De officiële documentatie wordt in het Engels onderhouden om één consistente en altijd actuele referentie te garanderen.

@READLINE

Windows Linux macOS

Syntax

@READLINE(<identifier>)

@READLINE( CONSOLE )

Description

This function returns the next line of text from the file <identifier> (or from the console, if CONSOLE is specified.) It should therefore only be used to read data where a line feed character is used to indicate the end of a line, as in a standard text file.

Note: It is much faster to load text files into a string list and then read the lines using list functions such as @NEXT, because the file is loaded into memory and read from there instead of being read from disk each time.

OK

False if an error occurs reading the file (this includes attempts to read past the end of the file.)

Example

%N = @READLINE(CONSOLE)
WRITE Hello %N!

See also