AINE: Accelerated Interactive Narrator Engine
  • Download
  • References
  • Games
  • Wiki
  • Facebook Twitter
  • Name

    true

  • Examples

    Character: someChar{
    isArmed: false
    isDead: true
    // Boolean assigned to properties

    Event: "Examine" {
    // 3 different if statement examples which have the same result
    // If the isDead property of someChar is equal to true, end game

    if (isDead)
    endGame();

    if (isDead == true)
    endGame();

    if (isDead != false)
    endGame();
    }
    }
  • Description

    The logical value true is used in operating if statements. Properties can hold the boolean value true.
  • Related

    • ! (not)

    • != (not equal to)

    • == (equal to)

    • Boolean

    • false

  • Contact
  • Terms of Use
  • GitHub
  • Drakkashi.com

The copyright of all images rendered by me goes to their respective owners.
© 2008 Daniel Svejstrup Christensen