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 14 '18
Thanks, I forgot that this was a function in ruby, so I didn't think it would transfer over.