<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">Hello Jens,</div>
<div class="moz-cite-prefix"><br>
Le 04/12/2021 à 20:39, Jens Simon Strom a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:ee97983d-b5f8-ce0e-1046-787e90be5d81@hslmg.de">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hi,<br>
Thanks for all the responses and sorry for not beeing able to
answer before now.<br>
<br>
The background of my question was to write a function for
formatted output of complex variables in polar form with <br>
<pre style="font-family:Arial;font-style:normal;font-size:18.0;"><span style="color:rgb(50,185,185);">mprintf </span>like
</pre>
function printc(c)<br>
<br>
which returns the name of c on calling level, |c|, and the angle.<br>
<br>
I understand now that I have to write e. g.<br>
<br>
function printc(c,cname)<br>
<br>
where cname is the wanted string. This can even give some
additional freedeom in modifying the output name.<br>
</blockquote>
<p><br>
</p>
<p>So, <i>unless you need to know the name <b>inside</b> printc()
for some unsaid purpose</i>, what would be the difference
between in one hand<br>
<br>
<font face="monospace">[name, mag, arg] = printc(myvar, "myvar")<br>
</font><br>
and on the other hand<br>
<br>
<font face="monospace">name = "myvar";<br>
[mag, arg] = printc(myvar)<br>
</font><br>
?<br>
BR<br>
Samuel<br>
</p>
<br>
</body>
</html>