Skip to main content

Variables

In this page, you will find all variables of GraniteOS and their uses

Global Variables

Information variables

  • UserInfo (Structure) - Holds local user information
  • UserInfo.password (Text) - Holds local user password, prompted on setup
  • UserInfo.setup_done (Boolean) - Holds the setup state
  • UserInfo.username (Text) - Holds local username, prompted on setup

Date variables

In GDevelop, outputing a full date in words can seem hard. That's why we need to have multiple variables for each Time() property we use. (Refer to GDevelop's Time() function documentation)

  • wday (Number) - Stores Time("wday") property in realtime
  • mon (Number) - Stores Time("mon") property in realtime
  • year (Number) - Stores Time("year") property in realtime
  • WeekDay (Text) - Stores translated wday variable
  • Month (Text) - Stores translated mon variable