Re: [Scilab-users] Getting the variable name used for a function input argument

2021-12-06 Thread Samuel Gougeon
Hello Jens, Le 06/12/2021 à 10:40, Jens Simon Strom a écrit : Hi Samuel, Your solution is quite sophisticated. On the opposite, it aims to be simpler. To me it was confusing to call a function without the input being bracketed. And on top of this, that a variable of type /constant/ is ac

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-12-06 Thread Stéphane Mottelet
Hello Jens. Nothing sophisticated here. print myVar is considered by the parser as print("myVar") See "Calling function"/item 4. https://help.scilab.org/docs/6.1.1/en_US/functions.html S. Le 06/12/2021 à 10:40, Jens Simon Strom a écrit : Hi Samuel, Your solution is quite sophisticated. To

Re: [Scilab-users] Getting the variable name used for a function input argument

2021-12-06 Thread Jens Simon Strom
Hi Samuel, Your solution is quite sophisticated. To me it was confusing to call a function without the input being bracketed. And on top of this, that a variable of type /constant/ is accepted as a /string/ within the function. Scilab seems to be more flexible than I would dare to imagine befo