class Globals Base class: Object Inherited classes: Empty Description: a class providing mama global services
- Fields:
- Empty
- Methods:
- ID(): Returns and ID number of the given object
- null(): Returns the absolute value of a number
- null(): returns the angle value which corresponds the cosine of a number
- null(): returns the angle value which corresponds the sinus of a number
- null(): returns the angle value in polar coordinates which corresponds the cosine of a number
- null(): returns the angle value which corresponds the tangent of a number
- binary(): Returns the binary representation of a number
- null(): Returns the next round number after the given real number
- char(): Returns the corresponding char for a given ASCII value
- null(): Returns the cosine of the given number
- cosh(): Returns the hyperbolic cosine of the given number
- date(): Returns the current date in a short format, for example 24/3/2007
- date_full(): Returns the current date in full format, for example: "Sunday 24th of July 2006
- day(): Returns the day in a week of current date
- euclidean_distance(): Returns the Euclidian distance between the point given by the two coordinates from the point (0,0)
- eval(): Performs an execution of the given Mama expression and returns the execution result
- null(): Returns Euler's number e raised to the power of a given number
- null(): Returns the largest integer value that is less than or equal to the given number
- gmt|GMT(): Returns the difference, measured in milliseconds, between the current time and midnight, January 1, 1970 UTC
- hours(): Returns the hours in the current date
- length(): Returns the number of elements in the given object
- locals(): Returns the local variables in the current context
- log10(): Returns the logarithm in base 10 of the given number
- null(): Returns the natural logarithm (base e) of the given number
- max(): Returns the maximum out the given parameters
- null(): Returns the minimum out the given parameters
- null(): Returns the minutes in the current time
- month(): Returns the month in the current date
- octal(): Returns a string containing the given value in an octal format
- ord(): Returns the ASCII value of the given character
- null(): Returns a random number. If a parameter is given, this function returns a value between 0 and the given number, otherwise it returns a value in the range 0..1
- null(): Returns a list containing the numbers between the first and the second number. If a third parameter is given, this is taken to be the step value in the range
- round(): Returns the given number rounded to the closest integer
- run(): Runs the Mama program that is in the given file
- null(): Returns the seconds in the current time
- null(): Returns the sinus of the given number
- sinh(): Returns the hyperbolic sinus of the given number
- sleep(): Causes the current thread to go to sleep for the given number of seconds
- null(): Returns the square root of the given number
- sync(): Synchronizes calls from different threads to a given object
- null(): Returns the tangent value of the given number
- tanh(): Returns the hyperbolic tangent value of the given number
- time(): Returns the current time
- time_full(): Returns the current time in full mode
- to_complex(): Converts a given value into a complex number
- to_hex(): Converts the given number into a hexa format string
- to_integer(): Converts the given number into an integer number
- to_number(): Converts the given value into a number
- to_string(): Returns a string representation of the given object
- null(): Returns the year in the current date
- Events:
- Empty
Back to Mama reference
|