<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!-- p { margin-top: 0px; margin-bottom: 0px; }--></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi!<br>
</p>
<p><br>
</p>
<p>I am writing a C extension to Scilab which recursively should create a nested list and return it. How can I achieve this?<br>
</p>
<p><br>
</p>
<p>I have read the documentation here:<br>
</p>
<p><a href="http://help.scilab.org/docs/5.5.1/en_US/section_281790c19f32a08419bf50d192e51020.html" id="lnk441790">http://help.scilab.org/docs/5.5.1/en_US/section_281790c19f32a08419bf50d192e51020.html</a>​<br>
</p>
<p><br>
</p>
<p>And I still don't understand if I can use these functions to recursively add elements to a list as the program runs.<br>
</p>
<p><br>
</p>
<p>Or should I instead use some kind of internal C representation and just call those list functions just before returning the end result back to Scilab?<br>
</p>
<p><br>
</p>
<p>Best Regards,<br>
</p>
<p>Arvid<br>
</p>
<p><br>
</p>
</body>
</html>