Squirrel Standard Library Functions: Difference between revisions

From NPC for VCMP 0.4 Servers
Jump to navigation Jump to search
(Created page with "__NOTOC____NOEDITSECTION__<big> In the npcscripts, the following standard http://squirrel-lang.org/squirreldoc/stdlib/index.html libraries of Squirrel are included. {| st...")
 
No edit summary
Line 11: Line 11:
|}</big>
|}</big>


For example, if the user wants to get the number of seconds elapsed since the start of system, they can use clock() function which returns the same as a float value.
For example, if the user wants to get the number of seconds elapsed since the start of system, they can use clock() function (see System Library) which returns the same as a float value.

Revision as of 05:38, 21 November 2022

In the npcscripts, the following standard [libraries] of Squirrel are included.

  • Input Output Library
  • System Library
  • Math Library
  • String Library
  • Blob Library

For example, if the user wants to get the number of seconds elapsed since the start of system, they can use clock() function (see System Library) which returns the same as a float value.