<html> <head> <title>Embryo: Available Calls</title> <meta http-equiv="content-type" content="text/html;charset=UTF-8"> <meta name="author" content="Andres Blanc" > <link rel="icon" href="img/favicon.png" type="image/x-icon"> <link rel="shortcut icon" href="img/favicon.png" type="image/x-icon"> <link rel="icon" href="img/favicon.png" type="image/ico"> <link rel="shortcut icon" href="img/favicon.png" type="image/ico"> <link rel="stylesheet" type="text/css" media="screen" href="e.css"> <link rel="stylesheet" type="text/css" media="screen" href="edoxy.css"> </head> <body> <div id="container"> <div id="header"> <div class="layout"> <h1><span>Enlightenment</span></h1> <h2><span>Beauty at your fingertips</span></h2> <div class="menu-container"> <div class="menu"> <ul> <li class="current"><a href="http://web.enlightenment.org/p.php?p=docs">Docs</a></li> <li><a href="http://trac.enlightenment.org/e">Tracker</a></li> <li><a href="http://www.enlightenment.org/p.php?p=contact">Contact</a></li> <li><a href="http://www.enlightenment.org/p.php?p=contribute">Contribute</a></li> <li><a href="http://www.enlightenment.org/p.php?p=support">Support</a></li> <li><a href="http://www.enlightenment.org/p.php?p=download">Download</a></li> <li><a href="http://www.enlightenment.org/p.php?p=about">About</a></li> <li><a href="http://www.enlightenment.org/p.php?p=news">News</a></li> <li><a href="http://www.enlightenment.org/">Home</a></li> </ul> </div> </div> <div class="doxytitle"> Embryo Documentation <small>at Tue Feb 8 2011</small> </div> <div class="menu-container"> <div class="submenu"> <ul class="current"> <li><a href="todo.html">Todo</a></li> <li><a href="files.html">Files</a></li> <li><a href="annotated.html">Data Structures</a></li> <li><a href="globals.html">Globals</a></li> <li><a href="modules.html">Modules</a></li> <li><a href="pages.html">Related Pages</a></li> <li class="current"><a href="index.html">Main Page</a></li> </ul> </div> </div> <div class="clear"></div> </div> </div> <div id="content"> <div class="layout"> <!-- Generated by Doxygen 1.7.3 --> </div> <div class="header"> <div class="headertitle"> <h1>Available Calls </h1> </div> </div> <div class="contents"> <div class="textblock"><p>Embryo provides a minimal set of native calls that can be used within any Embryo script.</p> <p>Those calls are detailed here.</p> <dl class="note"><dt><b>Note:</b></dt><dd>Some of the "core" functions here are also described in the full Small documentation given</dd></dl> <dl class="todo"><dt><b><a class="el" href="todo.html#_todo000002">Todo:</a></b></dt><dd>Finish this section.</dd></dl> <h2><a class="anchor" id="Args_ANC_Section"></a> Argument Functions</h2> <h3><a class="anchor" id="Numargs_Desc"></a> numargs</h3> <p>Returns the number of arguments passed to a function. Useful when dealing with variable argument lists.</p> <h3><a class="anchor" id="Getargs_Desc"></a> getarg(arg, index=0)</h3> <p>Retrieves the argument number <code>arg</code>. If the argument is an array, use <code>index</code> to specify the index of the array to return.</p> <h3><a class="anchor" id="Setargs_Desc"></a> setargs(arg, index=0, value)</h3> <p>Sets the argument number <code>arg</code> to the given <code>arg</code>. <code>index</code> specifies the index of <code>arg</code> to set if <code>arg</code> is an array.</p> <h2><a class="anchor" id="String_ANC_Section"></a> String Functions</h2> <p>Functions that work on strings.</p> <h3><a class="anchor" id="Atoi_Desc"></a> atoi</h3> <p>Translates an number in string form into an integer.</p> <h3><a class="anchor" id="Fnmatch_Desc"></a> fnmatch</h3> <p>Buggered if I know what this does?</p> <h3><a class="anchor" id="Strcmp_Desc"></a> strcmp</h3> <p>String comparing function.</p> <h2><a class="anchor" id="Float_ANC_Section"></a> Float Functions</h2> <h3><a class="anchor" id="Float_Desc"></a> float</h3> <h3><a class="anchor" id="Atof_Desc"></a> atof</h3> <h3><a class="anchor" id="Float_Mul_Desc"></a> float_mul</h3> <h3><a class="anchor" id="Float_Div_Desc"></a> float_div</h3> <h3><a class="anchor" id="Float_Add_Desc"></a> float_add</h3> <h3><a class="anchor" id="Float_Sub_Desc"></a> float_sub</h3> <h3><a class="anchor" id="Fract_Desc"></a> fract</h3> <h3><a class="anchor" id="Round_Desc"></a> round</h3> <h3><a class="anchor" id="Float_Cmp_Desc"></a> float_cmp</h3> <h3><a class="anchor" id="Sqrt_Desc"></a> sqrt</h3> <h3><a class="anchor" id="Pow_Desc"></a> pow</h3> <h3><a class="anchor" id="Log_Desc"></a> log</h3> <h3><a class="anchor" id="Sin_Desc"></a> sin</h3> <h3><a class="anchor" id="Cos_Desc"></a> cos</h3> <h3><a class="anchor" id="Tan_Desc"></a> tan</h3> <h3><a class="anchor" id="Abs_Desc"></a> abs</h3> <p>Returns the absolute value of the given float.</p> <h2><a class="anchor" id="Time_ANC_Section"></a> Time Functions</h2> <h3><a class="anchor" id="Seconds_Desc"></a> seconds()</h3> <h3><a class="anchor" id="Date_Desc"></a> date</h3> <h2><a class="anchor" id="Rand_ANC_Section"></a> Random Functions</h2> <h3><a class="anchor" id="Rand_Desc"></a> rand()</h3> <p>Returns a random integer.</p> <h3><a class="anchor" id="Randf_Desc"></a> randf()</h3> <p>Returns a random float. </p> </div></div> <div id="push"></div> </div> <!-- #content --> </div> <!-- .layout --> </div> <!-- #container --> <div id="footer"> <table><tr> <td class="poweredby"><img src="doxygen.png"></td> <td class="copyright">Copyright ©2011 Enlightenment</td> <td class="generated">Docs generated Tue Feb 8 2011 18:11:42</td> </tr></table> </div> </body> </html>