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

    abs()

  • Examples

    Player:
    {
    var1: -2

    Event: Game_Start {
    player.var1 = abs(var1)
    // Sets the value of var1 to the absolute value of var1

    print(var1)
    // Outputs 2
    }
    }
  • Description

    Returns the absolute value of the parsed number. The absolute value of a number is always positive.
  • Syntax

    • abs(number)

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

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