-
Notifications
You must be signed in to change notification settings - Fork 9
Learn: Read
Julia Ogris edited this page Jun 20, 2023
·
1 revision
The read
command reads a line of input from the user and returns it as a string. For example, the following code:
s := read
print s s
will read a line of input from the user and print it twice. If you type "hello" and press Enter, the code will print:
hello hello
Overview | About | Playground | Gallery