Login | Sign Up
 





 
AutoLISP Function Detail
Name: read-line

Syntax:
(read-line [filename])

Description:
Reads a string from the keyboard or from and external file. The return value is the string that was typed in at the command line or read in from the file.

Example(s):
(read-line)
"Read-line test"

(setq op-file (open "test.txt" "r"))
(read-line op-file)
"Hello World!"