{
   name = "sys",
   description = "Platform independent System API (Files, Multithreading, Unicode, ...)",
   defines = [
      {
         "ecere::sys::Pi",
         {
            description = "Ratio of a circle's circumference to its diameter; Measure of a half-circle angle in radians (180°)"
         }
      }
   ],
   functions = [
      {
         "GetRandom",
         {
            description = "Returns a random integer from lo to hi inclusive.",
            usage = "Returns a random integer, based on the Random Seed. If no Random Seed is set with RandomSeed(), then GetRandom() returns lo.",
            example = "      int Rand;<br>"
               "      RandomSeed((uint)(GetTime() * 1000));<br>"
               "      Rand = GetRandom(1, 10);<br>"
               "      printf(\"%d\<br>\", Rand);     ",
            also = "GetTime(), RandomSeed()"
         }
      },
      {
         "GetTime",
         {
            description = "Returns the current system time as a Time object.",
            example = "      int Rand;<br>"
               "      RandomSeed((uint)(GetTime() * 1000));<br>"
               "      Rand = GetRandom(1, 10);<br>"
               "      printf(\"%d\<br>\", Rand);     ",
            also = "RandomSeed()"
         }
      },
      {
         "RandomSeed",
         {
            description = "This method seeds the random number generator.",
            usage = "This method needs to be called before any call to GetRandom(), otherwise GetRandom will not retrieve a random number. The seed can be any unsigned integer, however any constant value will produce predictable results each time. For closer to true results, try using GetTime() as the seed.",
            example = "      int Rand;<br>"
               "      RandomSeed((uint)(GetTime() * 1000));<br>"
               "      Rand = GetRandom(1, 10);<br>"
               "      printf(\"%d\<br>\", Rand);     ",
            also = "GetRandom(), GetTime()"
         }
      }
   ]
}
