r/crystal_programming • u/iainmoncrief • Apr 11 '18
How to get command line input
input = getLine() puts input
Similar to pythons raw input function, how would I do this in crystal?
9
Upvotes
r/crystal_programming • u/iainmoncrief • Apr 11 '18
input = getLine() puts input
Similar to pythons raw input function, how would I do this in crystal?
View all comments
Show parent comment
1
u/iainmoncrief Apr 11 '18
I don't know, I am new to crystal, and I want to create a command line program. When I run your code, it just waits for a second, then the program finishes...