Vex Elif Statement
4651
2
1
-
- krueger
- Member

- 192 posts
- Joined: 10月 2018
- オフライン
Is there a syntax in vex for doing elif statements? I've looked around and haven't seen much discussion about it.
In python it would look like this:
if test expression:
Body of if
elif test expression:
Body of elif
else:
Body of else
-
- jsmack
- Member

- 8381 posts
- Joined: 9月 2011
- オフライン
you mean else if? VEX is modeled after C, not python.
-
- krueger
- Member

- 192 posts
- Joined: 10月 2018
- オフライン
Yeah, I was just using python to clarify what I was trying to do. Else if is what I was looking for, thanks.