<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hello,<br>
<br>
Le 10/04/2015 17:21, Pablo Fonovich a écrit :<br>
</div>
<blockquote cite="mid:BAY169-W1036BF63E918C7762583EF8EEFA0@phx.gbl"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=iso-8859-1">
<div dir="ltr">.../... If i call the function without giving the
argument N, but there is a variable called N in the workspace,
it uses that N...<br>
Is this intentional? </div>
</blockquote>
Yes it is.<br>
<br>
<blockquote cite="mid:BAY169-W1036BF63E918C7762583EF8EEFA0@phx.gbl"
type="cite">
<div dir="ltr">So, if i want the user to give exactly the 3
arguments... the only solution would be using argn?<br>
</div>
</blockquote>
Yes, indeed.<br>
<br>
<blockquote cite="mid:BAY169-W1036BF63E918C7762583EF8EEFA0@phx.gbl"
type="cite">
<div dir="ltr"><br>
because this was causing me some bugs<br>
</div>
</blockquote>
For variables scope, you may have a look at
<a class="moz-txt-link-freetext" href="http://wiki.scilab.org/howto/global%20and%20local%20variables">http://wiki.scilab.org/howto/global%20and%20local%20variables</a><br>
<br>
Regards<br>
Samuel<br>
<br>
</body>
</html>