Running julia file

Greetings

I have faced the following error:

@DESKTOP-J----T:/mnt/c/Users/MYDRIV~1/SOFTWA~1/DUO_EX~1/V9_COR~1/Julia/PEC/ADDING~1$ include(“B_input.jl”)
bash: syntax error near unexpected token `“B_input.jl”’

Can someone please help? I am new to Julia

Instead of the open-quote and closed-quote characters, can you try using simple ASCII quotation "?

For example:

include("B_input.jl")

You might need to use a plain text editor, because rich text editors will often automatically change " to and .

You need to run julia B_input.jl. Or, start julia and then in the Julia prompt, type include("B_input.jl").

5 Likes