Macros

From Sputnik Wiki
(Difference between revisions)
Jump to: navigation, search
(Math)
(Misc)
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.
 
@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).
 
@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).
  

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.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox