Key Control icon Key Control Assign scripts to any keyboard key (press/release), map arrow keys to movement controls; activates when the control has focus (green). Try it →
 

Readline

File.readLine(filename)

Parameters

filename Path of file to read from.

Returns

The string from the current read position to the next endline character.

Description

Reads and returns all characters as a string from the current read position to the next endline character. The returned string does not contain the endline character. The read position advances to be immediately after the endline character.