Help:Simple If Statement

Hey so I have been working on my first Julia Program which basically lets you sign in using a password system. I have started using the atom editor and when i try to execute the code a gear box shows around it which I am not sure means. Any help would be much appreciated.

a = "password"
b = "access granted"
c = "incorrect"
print("enter password:"); password = string(readline(STDIN))
if password == a
    println(b, " sung")
elseif password == c
        println(b, " Ian")
    else
        println("Your password is incorrect")
    end

see

https://github.com/JunoLab/atom-julia-client/issues/171

1 Like