1Available_Native_Calls_Page(L3i)brary Functions ManuAavlailable_Native_Calls_Page(3)
2
3
4

NAME

6       Available_Native_Calls_Page - Available Calls Embryo provides a minimal
7       set of native calls that can be used within any Embryo script.
8
9       Those calls are detailed here.
10
11       Note:
12           Some of the 'core' functions here are also described in the full
13           Small documentation given
14
15       Todo
16           Finish this section.
17

Argument Functions

19   numargs
20       Returns the number of arguments passed to a function. Useful when
21       dealing with variable argument lists.
22
23   getarg(arg, index=0)
24       Retrieves the argument number arg. If the argument is an array, use
25       index to specify the index of the array to return.
26
27   setargs(arg, index=0, value)
28       Sets the argument number arg to the given arg. index specifies the
29       index of arg to set if arg is an array.
30

String Functions

32       Functions that work on strings.
33
34   atoi
35       Translates an number in string form into an integer.
36
37   fnmatch
38       Buggered if I know what this does?
39
40   strcmp
41       String comparing function.
42

Float Functions

44   float
45   atof
46   float_mul
47   float_div
48   float_add
49   float_sub
50   fract
51   round
52   float_cmp
53   sqrt
54   pow
55   log
56   sin
57   cos
58   tan
59   abs
60       Returns the absolute value of the given float.
61

Time Functions

63   seconds()
64   date

Random Functions

66   rand()
67       Returns a random integer.
68
69   randf()
70       Returns a random float.
71
72
73
74Embryo                            2 Jul 2010    Available_Native_Calls_Page(3)
Impressum