Re: [julia-users] problem when include code in Julia

2016-11-17 Thread David P. Sanders
How did you save the .jl file? 
It seems your editor added the extra
.txt suffix. You might want to try a different editor that is designed for 
editing code, e.g. Atom.

Re: [julia-users] problem when include code in Julia

2016-11-17 Thread Monica Deng
Thanks a lot.
after doing "readdir()", I found that I must add ".txt" to the file. but 
that's not normal right? As I can see, the textbook just do with extension 
".jl"
but the problem is solved after all.




在 2016年11月17日星期四 UTC+1下午12:02:49,Mauro写道:
>
> After your cd(...) command run: 
>
> julia> readdir() 
>
> It will give a list of files in the directory.  Check that your file is 
> there.  If not then that is rather strange. 
>
> On Thu, 2016-11-17 at 11:50, Monica Deng  > wrote: 
> > I kept meeting this problem when try to include codes in Julia: 
> > 
> > <
> https://lh3.googleusercontent.com/-B-3FrL-sF_Q/WC2K1xPcNBI/ACM/ZOsKD40NktUG_DboHXpy6L4vfYn_7cycgCLcB/s1600/%25E5%25B1%258F%25E5%25B9%2595%25E5%25BF%25AB%25E7%2585%25A7%2B2016-11-17%2B11.47.31.png>
>  
>
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > I'm pretty sure the file has been saved in the right position and as 
> plain 
> > text file. And my laptop is mac. 
> > I'd appreciate for your help. 
> > Thanks. :) 
>


Re: [julia-users] problem when include code in Julia

2016-11-17 Thread Mauro
After your cd(...) command run:

julia> readdir()

It will give a list of files in the directory.  Check that your file is
there.  If not then that is rather strange.

On Thu, 2016-11-17 at 11:50, Monica Deng  wrote:
> I kept meeting this problem when try to include codes in Julia:
>
> 
>
>
>
>
>
>
>
>
>
>
>
> I'm pretty sure the file has been saved in the right position and as plain
> text file. And my laptop is mac.
> I'd appreciate for your help.
> Thanks. :)


[julia-users] problem when include code in Julia

2016-11-17 Thread Monica Deng
I kept meeting this problem when try to include codes in Julia:













I'm pretty sure the file has been saved in the right position and as plain 
text file. And my laptop is mac. 
I'd appreciate for your help.
Thanks. :)