jeudi 23 janvier 2020

In Some Compilers I Get a "missing value where TRUE/FALSE needed" error

Im having a problem in some compilers with running the sample code below. I'm not sure if its a bug in the compiler or if certain compilers need more clear syntax.

if (3>2||4>3){
    print("yes")
}

While in some compilers I will get "yes", other compilers give me "missing value where TRUE/FALSE needed." Does anyone know if I need more clear syntax in my if statement. Thanks!

Aucun commentaire:

Enregistrer un commentaire