That is awesome, thank Peter.

On Monday, January 12, 2015, Peter Simon <[email protected]> wrote:

> julia> t = include_string("[1:10]")
> 10-element Array{Int64,1}:
>   1
>   2
>   3
>   4
>   5
>   6
>   7
>   8
>   9
>  10
>
> On Sunday, January 11, 2015 at 8:49:43 PM UTC-8, K leo wrote:
>>
>> Is there a way to input at STDIN an array?  Suppose, I type in [1:10]
>> at STDIN I would like the program to assign A=[1:10].
>>
>> Or, I know realine can take it as a string "[1:10]", so is there a way to
>> convert the string to an array?  Somewhat similar to converting a string to
>> an Int?
>>
>

Reply via email to