All builtin functions:
All builtin functions:
- PI - pi
- `! - is not true
- `!= - check if not equal
- `% - modulo
- `& - intersection
- `* - multiplication
- `+ - add things together
- `- - subtract/negate
- `/ - division
- `< - is lesser than?
- `<< - shift left
- `<= - is lesser or equal than?
- `== - compare values
- `> - is lesser than?
- `>= - is greater than or equal to?
- `>> - shift right
- `^ - exclusive or
- `| - union
- `~ - bitwise complement
- acos - Trigonometrical inverse cosine
- add_efun - add new predefined functions or constants
- aggregate - construct an array
- aggregate_list - construct a list
- aggregate_mapping - construct a mapping
- alarm - set an alarm clock for delivery of a signal
- all_efuns - return all efuns
- allocate - allocate an array
- arrayp - is the argument an array?
- asin - Trigonometrical inverse sine
- atan - Trigonometrical inverse tangent
- backtrace - get a description of the call stack
- call_function - call a function with arguments
- call_out - make a delayed call to a function
- call_out_info - get info about all call outs
- capitalize - capitalize a string
- cd - change directory
- ceil - Truncate a number upward
- clone - clone an object from a program
- code_value - code a value into a string.
- combine_path - concatenate paths
- compile_file - compile a file to a program
- compile_string - compile a string to a program
- copy_value - copy a value recursively
- cos - Trigonometrical cosine
- crypt - crypt a password
- ctime - convert time int to readable date string
- describe_backtrace - make a backtrace readable
- destruct - destruct an object
- equal - check if two values are equal or not
- exec - simple way to use exece()
- exece - execute a program
- exit - exit LPC interpreter
- exp - Natural exponent
- explode - explode a string on a delimeter
- file_size - return the size of a file in bytes
- file_stat - stat a file
- filter_array - filter an array through a function
- find_call_out - find a call out in the queue
- floatp - is the argument an float?
- floor - Truncate a number downward
- fork - fork the process in two
- function_name - return the name of a function, if known
- function_object - return what object a function is in
- functionp - is the argument an function?
- gc - do garbage collection
- get_dir - read a directory
- get_function - fetch a function from an object
- getcwd - return current working directory
- getenv - get an environment variable
- getpid - get the process id of this process
- hash - hash a string
- implode - implode an array of strings
- indices - return an array of all index possible for a value
- intp - is the argument an int?
- kill - send signal to other process
- l_sizeof - Return the size of a list
- listp - is the argument an list?
- log - Natural logarithm
- lower_case - convert a string to lower case
- m_delete - remove an index from a mapping
- m_indices - return all indices from a mapping
- m_sizeof - Return the size of a mapping
- m_values - return all values from a mapping
- map_array - map an array over a function
- mappingp - is the argument an mapping?
- master - return the master object
- member_array - find first occurance of a value in an array
- mkdir - make directory
- mklist - make a list
- mkmapping - make a mapping from two arrays
- mv - move a file (may handle directiories as well)
- next_object - get next object
- object_program - get the program asociated with the object
- objectp - is the argument an object?
- perror - print error
- popen - pipe open
- pow - Raise a number to the power of another.
- previous_object - return the calling object
- programp - is the argument an program?
- query_host_name - return the name of the host we are running on
- query_num_arg - find out how many arguments were given
- random - return a random number
- random_seed - seed random generator
- read_bytes - read a number of bytes into a string from a file
- regexp - filter an array through a regexp
- remove_call_out - remove a call out from the call out queue
- replace - generic replace function
- reverse - reverse a string, array or int
- rm - remove file or directory
- rusage - return resource usage
- search - search for a value in a string or array
- search_array - search for something in an array
- signal - trap signals
- signame - get the name of a signal
- signum - get a signal number given a desctiptive string
- sin - Trigonometrical sine
- sizeof - return the size of an array, string, list or mapping
- sleep - let interpreter doze of for a while
- sort_array - sort an array
- spawn - spawn a process
- sprintf - print the result from sprintf
- sqrt - Square root
- stringp - is the argument an string?
- strlen - Return the length of a string
- strstr - find a string inside a string
- sum - add values together
- sum_arrays - map any number of arrays over a function.
- system - run an external program
- tan - Trigonometrical tangent
- this_function - return a functionpointer to the current function
- this_object - return the object we are evaluating in currently
- throw - throw a value to catch or global error handling
- time - return the current time
- trace - change debug trace level
- upper_case - convert a string to upper case
- values - return an array of all possible values from indexing
- version - return version info
- write - write text to stdout
- write_file - append a string to a file
- zero_type - return the type of zero