suve

awful: alphabetic list of built-in functions

  • :! - return negation of value
  • :!= - check if values are not equal (loose comparison)
  • :!== - check if values are unequal (strict comparison)
  • :% - calculate modulus (division remainder)
  • :&& - calculate conjunction of values
  • :* - perform multiplication
  • :+ - perform addition
  • :- - perform subtraction
  • :-> - calculate logic implication
  • :/ - perform division
  • :< - check if values are lesser
  • :<= - check if values are lesser-or-equal
  • :<> - check if values are not equal (loose comparison)
  • := - assign values
  • :== - check if values are equal (loose comparison)
  • :=== - check if values are equal (strict comparison)
  • :> - check if values are greater
  • :>= - check if values are greater-or-equal
  • :?? - calculate alternation of values
  • :^ - calculate power of value
  • :^^ - calculate disjunction of values
  • :abs - calculate absolute value
  • :add - perform addition
  • :and - calculate conjunction of values
  • :arr - create an array
  • :arr-contains - check if element is present in array
  • :arr-contains-seq - check if element is present in array (strict comparison)
  • :arr-count - return number of elements in array
  • :arr-empty - check if array is empty
  • :arr-flush - remove contents of array
  • :b! - return bitwise NOT of a single value
  • :b& - calculate bitwise AND of values
  • :b^ - calculate bitwise XOR of values
  • :b? - calculate bitwise OR of values
  • :bwand - calculate bitwise AND of values
  • :bwnot - return bitwise NOT of a single value
  • :bwor - calculate bitwise OR of values
  • :bwxor - calculate bitwise XOR of values
  • :call - perform a function call
  • :ceil - round value upward
  • :chr - get character corresponding to ANSI codepoint
  • :chru - get UTF-8 character corresponding to Unicode codepoint
  • :cookie-dict - retrieve HTPP Cookies as dictionary
  • :cookie-is - check if cookie with given name is set
  • :cookie-key - retrieve cookie name
  • :cookie-num - retrieve number of cookies
  • :cookie-prepare - process cookies before accessing them
  • :cookie-val - retrieve cookie value
  • :cos - calculate cosine of angle
  • :ctg - calculate cotangent of angle
  • :decodeHTML - decode HTML entities
  • :decodeURL - decode a percent-encoded string
  • :dict - create a dictionary
  • :dict-contains - check if element is present in dictionary
  • :dict-contains-seq - check if element is present in dictionary (strict comparison)
  • :dict-count - return number of elements in dictionary
  • :dict-empty - check if dictionary is empty
  • :dict-flush - remove contents of dictionary
  • :dict-keys - retrieve all keys present in dictionary
  • :dict-nextkey - lookup the next key set in dictionary
  • :dict-values - retrieve all values present in dictionary
  • :div - perform division
  • :doctype - return (X)HTML doctype string
  • :dt-break - break a DateTime value into days, hours et cetera
  • :dt-date - get current date (without time)
  • :dt-decode - decode a DateTime value (retrieve full date and time as dictionary)
  • :dt-encode - create a DateTime value corresponding to given date and time
  • :dt-make - make a DateTime value representing given amount of days, minutes et cetera
  • :dt-now - get current DateTime
  • :dt-runstart - get DateTime of script execution start
  • :dt-start - get DateTime of interpreter start
  • :dt-str - get a string representation of given DateTime
  • :dt-time - get current time (without date)
  • :encodeHTML - encode HTML special characters
  • :encodeURL - percent-encode a string
  • :eq - check if values are equal (loose comparison)
  • :exit - abort script execution
  • :file-included - check if file has been included
  • :file-includes - get list of included files
  • :float-precision - get or set float-to-string precision
  • :floor - round value downward
  • :frac - get fractional part of real number
  • :fork - return one of two values based on boolean value (ternary operator)
  • :func-args - retrieve arguments passed to function
  • :gcd - calculate greatest common divisor
  • :ge - check if values are greater-or-equal
  • :get-dict - retrieve URL parameters as dictionary
  • :get-is - check if given URL parameter is set
  • :get-key - retrieve URL parameter name
  • :get-num - retrieve number of URL parameters
  • :get-prepare - process URL before accessing parameters
  • :get-val - retrieve value of URL parameters
  • :getchar - get a single byte from stdin
  • :getenv - get environment variable
  • :gt - check if values are greater
  • :html-decode - decode HTML entities
  • :html-encode - encode HTML special characters
  • :http-cookie - add a HTTP Cookie
  • :http-header - set or change a HTTP Header
  • :hypotenuse - calculate hypotenuse
  • :impl - calculate logic implication
  • :lcm - calculate least common multiple
  • :le - check if values are lesser-or-equal
  • :log - calculate logarithm
  • :lt - check if values are lesser
  • :mkbin - convert a value to binary integer
  • :mkbool - convert a value to boolean
  • :mkflo - convert a value to float
  • :mkfloat - convert a value to float
  • :mkhex - convert a value to hex integer
  • :mkint - convert a value to decimal integer
  • :mklog - convert a value to boolean
  • :mknil - convert a value to NIL
  • :mkoct - convert a value to octal integer
  • :mkstr - convert a value to string
  • :mkstring - convert a value to string
  • :mod - calculate modulus (division remainder)
  • :mul - perform multiplication
  • :neq - check if values are not equal (loose comparison)
  • :newt - calculate Newton's symbol (binomial coefficient)
  • :not - return negation of value
  • :or - calculate alternation of values
  • :ord - get ANSI codepoint of character
  • :ordu - get Unicode codepoint of UTF-8 character
  • :perc - express one value as percentage of another
  • :post-dict - retrieve HTTP POST data as dictionary
  • :post-is - check if name is set in POST data
  • :post-key - get name of POST value
  • :post-num - get number of POST values
  • :post-prepare - process POST data before accessing it
  • :post-val - retrieve POST value
  • :pow - calculate power of value
  • :random - get random value
  • :read - read values from stdin
  • :readln - read whole line from stdin
  • :return - return value from a function
  • :round - round a real number
  • :runticks - get script running time
  • :set - assign values
  • :seq - check if values are equal (strict comparison)
  • :sgn - check sign of number
  • :sin - calculate sine of angle
  • :sizeof - get data type size
  • :sleep - temporarily halt execution
  • :sneq - check if values are unequal (strict comparison)
  • :sqrt - calculate square root
  • :stdin-clear - clear input buffer
  • :stdin-flush - get contents and clear input buffer
  • :stdin-push - push values to buffer (fake input)
  • :str-del - delete part of string
  • :str-len - check length of string
  • :str-letrim - trim whitespace from beginning of string
  • :str-lower - convert string to lowercase
  • :str-pos - find occurrence of one string in another
  • :str-ritrim - trim whitespace from string end
  • :str-sub - return part of string
  • :str-trim - trim whitespace from string sides
  • :str-upper - convert string to uppercase
  • :str-write - write values to string
  • :sub - perform subtraction
  • :sysinfo - retrieve sysinfo as dictionary
  • :sysinfo-disk-free - get amount of free space on given disk
  • :sysinfo-disk-total - get total size on given disk
  • :sysinfo-disk-used - get amount of used space on given disk
  • :sysinfo-domainname - get domain name
  • :sysinfo-get - refresh system info
  • :sysinfo-hostname - get hostname
  • :sysinfo-load - get CPU load
  • :sysinfo-procnum - get number of processes
  • :sysinfo-ram-buffer - get amount of buffered RAM
  • :sysinfo-ram-free - get amount of free RAM
  • :sysinfo-ram-total - get total amount of RAM
  • :sysinfo-ram-used - get amount of RAM in use
  • :sysinfo-swap-free - get amount of free swap space
  • :sysinfo-swap-total - get total amount of swap space
  • :sysinfo-swap-used - get amount of swap space in use
  • :sysinfo-system - get name of OS
  • :sysinfo-thermal - retrieve info from thermal zones
  • :sysinfo-uptime - get system running time
  • :sysinfo-version - get OS version
  • :tan - calculate tangent of angle
  • :ticks - get interpreter running time
  • :trunc - truncate a real number
  • :typeof - check type of value
  • :url-decode - decode a percent-encoded string
  • :url-encode - percent-encode a string
  • :write - write values to stdout
  • :writeln - write values and a newline to stdout
  • :xor - calculate disjunction of values

wikipage modified on 2014/0601/2312