Because Julia does not have a print statement (just like the 3.X versions
of python).
You will have to change the code to
*print("connection ended with error $err")*
Ivar
kl. 07:55:45 UTC+1 tirsdag 18. mars 2014 skrev Collin Glass følgende:
>
> I am just starting to use Julia and my first project I want to create a
> client for an AI hackathon.
>
> I want to know why the following echo server doesnt work.
>
> http://blog.leahhanson.us/using-tcp-sockets-in-julia.html
>
>
> I get the following error:
>
> ERROR: syntax: extra token """ after end of expression
> in include at boot.jl:238
> in include_from_node1 at loading.jl:114
> in process_options at client.jl:303
> in _start at client.jl:389
> at /Users/collinglass/code/julia/bombermanjl/bomberman.jl:11
>