input2 added
This commit is contained in:
@@ -83,6 +83,7 @@
|
||||
|`(random low high)`|Get a random number between two numbers inclusively|`>>> (random 1 6) => 5`|System|
|
||||
|`(include file)`|Read a file and execute its code||IO|
|
||||
|`(input [prompt])`|Get user input with an optional prompt||IO|
|
||||
|`(input2 [prompt])`|Get user input using libnoise with an optional prompt||IO|
|
||||
|`(read)`|Reads in the printed representation of a Lisp object from input-stream, builds a corresponding Lisp object, and returns the object||IO|
|
||||
|`(read-file filename)`|Get the contents of a file|`>>> (read-file "/tmp/a.txt") => "test"`|IO|
|
||||
|`(read-file-lines filename lambda)`|Reads file and for each line call lambda with passing the line as a parameter|`(read-file-lines "/tmp/f.txt" (lambda (ln) (print ln))`|IO|
|
||||
|
||||
Reference in New Issue
Block a user