Hi Scilab friends,
Given a numeric variable like xNum as an input argument of a function call, how can I produce the variable name string "xNum" within the function?

Example:

function [name,y]=foo(x)
   name=???
   y=x^2
endfunction

xNum=123.
[name,y]=foo(xNum)
The result for name should be the string "xNum"

Regards
Jens
_______________________________________________
users mailing list
[email protected]
http://lists.scilab.org/mailman/listinfo/users

Reply via email to