Macros
From Sputnik Wiki
(Difference between revisions)
(Created page with "= Macros = === Misc === @ERROR - Stores the state of the last error which can be useful to find out exactly what happened. === Math === @PI - Mathematical constant that is th...") |
(→Macros) |
||
Line 4: | Line 4: | ||
@ERROR - Stores the state of the last error which can be useful to find out exactly what happened. | @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 [[Core Function SPrintf|SPrintf( <expression>, <expressions>... )]] to convert it into useable data). | ||
=== Math === | === Math === |
Revision as of 07:33, 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.