-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Modified the 'read()' built-in function.
It no longer accepts variables references as arugments. Instead, it expects a type as the first argument, or a message as first argument and a type after the message. Example: read(Number); # reads a number read("name ", String); # displays a message and reads a string Also, on failure (or on CTRL+D), it will now return `nil`.
- Loading branch information
trizen
committed
Nov 7, 2015
1 parent
146feea
commit de7537b
Showing
2 changed files
with
8 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters