Verse Library verse

01 Parts Of An Expression

Evaluates a catch counter to print win or lose messages based on game state.

extracted-snippets/documentation/en-us/fortnite/basics-of-writing-code-2-basic-programming-concepts-in-verse/01-parts-of-an-expression.verse

# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/basics-of-writing-code-2-basic-programming-concepts-in-verse
# Local doc:  epic-docs/documentation/en-us/fortnite/basics-of-writing-code-2-basic-programming-concepts-in-verse.md
# Section:    Parts of an Expression
if (MiceCaught > 0):
Print("Win!")
else:
Print("Lose!")

Comments

    Sign in to vote, comment, or suggest an edit. Sign in