; đ not work
Var := "Var"
if Var in Foo,Bar,Baz {
MsgBox statement 1
MsgBox statement 2
} else {
MsgBox statement 3
MsgBox statement 4
}
; đ not work
Var := "Var"
if (Var in Foo,Bar,Baz) {
MsgBox statement 1
MsgBox statement 2
} else {
MsgBox statement 3
MsgBox statement 4
}
; đ works, but the brace positions are inconsistent,
; is it possible to keep `if ... in` and `{`
; on the same line without breaking the code?
Var := "Var"
if Var in Foo,Bar,Baz
{
MsgBox statement 1
MsgBox statement 2
} else {
MsgBox statement 3
MsgBox statement 4
}
jeudi 16 septembre 2021
Is it possible to keep `if ... in` and `{` on the same line without breaking the code?
Inscription Ă :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire