VDS Renaissance 的界面提供多种语言。官方文档以英语维护,以确保提供统一、一致且始终最新的参考。
@READLINE
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!