do you have a variable named p2?
On Thu, Sep 11, 2014 at 3:12 PM, Paul Analyst <[email protected]> wrote:
> julia> efy
> 4x1 Array{Int64,2}:
> 1
> 7
> 8
> 10
>
> W dniu 2014-09-11 o 20:27, Jake Bolewski pisze:
>
> what is efy? Your example is not reproducible.
>
> On Thursday, September 11, 2014 2:22:31 PM UTC-4, paul analyst wrote:
>>
>> julia> i
>> 2
>> julia> pp=[];
>> julia> target=250000;
>> julia> for i in efy;
>> var_name = symbol("p" * string(i));
>> pp=vcat(pp,@eval $var_name[1:target]);
>> #println(sum(@eval $var_name[1:target]))
>> end;
>> ERROR: p2 not defined
>> in anonymous at no file:3
>>
>> julia>
>>
>> Paul
>>
>
>