Ah great, that explains it then. Glad to help, at feel free to let us know
if you have any other questions on the forum!

On Tue, 16 Aug 2016 at 14:13 Rishabh Raghunath <[email protected]>
wrote:

> Ok.. Got it !! .. Thanks a lot Mike !!. I used to use input() and that
> explains why It worked before. 👍
>
> On Tue, Aug 16, 2016 at 6:36 PM, Mike Innes <[email protected]>
> wrote:
>
>> Also, just for future reference, people with Juno knowledge tend to be
>> more active over here: http://discuss.junolab.org/
>>
>> I recommend posting there for faster / more reliable responses.
>>
>>
>> On Tuesday, 16 August 2016 14:02:33 UTC+1, Mike Innes wrote:
>>>
>>> I don't think this ever worked in Juno in the form you're showing. You
>>> can send input to Julia via STDIN but you have to do so explicitly; select
>>> some text in an editor and run the `Julia Client: Send to Stdin` command.
>>>
>>> A smarter way to do this is
>>>
>>> ```
>>> using Atom
>>> foo = input()
>>> ```
>>>
>>> This will show an input cell in the console and return the result when
>>> the user presses enter; in other words you can use it to replace `readline`.
>>>
>>> On Tuesday, 16 August 2016 06:52:37 UTC+1, Rishabh Raghunath wrote:
>>>>
>>>> I'm Sorry .. But I don't quite understand what you are saying.. My
>>>> problem is that I am unable to type in an input in the Juno console like I
>>>> could before.. It simply does not give me a place to write in my input to
>>>> the julia program via the console.. This is a new problem I am experiencing
>>>> and was not there before..
>>>>
>>>> On Monday, August 15, 2016 at 11:26:13 AM UTC+5:30, Rishabh Raghunath
>>>> wrote:
>>>>>
>>>>> Hello Julia Users..
>>>>> I have been experiencing a new problem with juno ide..
>>>>> I am not able to get input in Juno with readline(STDIN).. It never
>>>>> accepts any input.. just remains stuck..
>>>>> All the print statements work just fine.. But the inputs arent
>>>>> working..
>>>>> Input using the same code used to work in Juno.. But suddenly .. Juno
>>>>> is not getting inputs..
>>>>> The code works perfectly fine while I try to run it in the terminal.
>>>>> Please guide me how to fix this problem..
>>>>> I have attached a Screenshot below.. you can see my print
>>>>> statements(which work perfectly fine as shown in the screenshot.. But the
>>>>> readline(STDIN) does not get input in Juno.. It keeps loading..
>>>>> Thanks.
>>>>>
>>>>
>

Reply via email to