6 ms·
There is a very useful function in Julia, named Base.prompt (I don't remember if it's exported or not, but better be safe height_str=Base.prompt("Height abov
by longemen3000 5y ago
There is a very useful function in Julia, named Base.prompt (I don't remember if it's exported or not, but better be safe
height_str=Base.prompt("Height above sea level(m): ")
height =Parse(Float64, height_str)
- sundarurfriend 5y agoTIL! I wonder why it isn't exported. There's also apparently a `Base.getpass`, that doesn't echo the entered characters and returns a `SecretBuffer`.