Macros
From Sputnik Wiki
(Difference between revisions)
(→Macros) |
(→Math) |
||
Line 10: | Line 10: | ||
@PI - Mathematical constant that is the ratio of any circle's circumference to its diameter | @PI - Mathematical constant that is the ratio of any circle's circumference to its diameter | ||
+ | |||
@E - Represents the natural logarithmic base, specified by the constant, e. | @E - Represents the natural logarithmic base, specified by the constant, e. | ||
[[Category:Core Function]] | [[Category:Core Function]] |
Revision as of 07:34, 10 November 2011
Macros
Misc
@ERROR - Stores the state of the last error which can be useful to find out exactly what happened. @CURRENCY - Stores the local currency symbol that the computer is using such as $ or £ etc. @DATETIMENOW - Stores the current time (Its not a good idea to parse this yourself instead of use SPrintf( <expression>, <expressions>... ) to convert it into useable data).
Math
@PI - Mathematical constant that is the ratio of any circle's circumference to its diameter
@E - Represents the natural logarithmic base, specified by the constant, e.