read
Entity: predicate

Usage:
read(Term)
read(Term, String)
read(Term, String, Flag)

reads a term in Term using a standard dialog box. String is displayed in the Title Bar, default value is "Write a term". If Flag is s then reads strings (you do not need to write double quotes). If Flag is t then reads terms (this is the default value).
 

See also:

I/O predicates
open
file I/O