Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
extrema / usr / share / extrema / Help / Functions / varname.htm
Size: Mime:
<HTML>
<HEAD>
<TITLE>VARNAME</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF" fgcolor="#000000">

<P><A NAME="varname"></A>
<font size="+3" color="green"><B>VARNAME</B></font></P>
<P>
<TABLE border="1" cols="2" frame="box" rules="all" width="572">
<TR>
<TD width="15%" valign="top"><B>Syntax</B>:</TD>
<TD width="85%"><CODE>
string = VARNAME(variable)</CODE>
</TD></TR>
</table></p>
<p>
 The <CODE>VARNAME</CODE> function accepts a variable, either string
 or numeric, as its argument, and converts that variable name into a string. This function can
 be useful in scripts where a variable is passed to the script as one of the generalized
 <CODE>?</CODE> parameters. The variable name could then be converted
 to a string for display or manipulation.</p>
<p>
 <font size="+1" color="green">Example</font></P>
<p>
 The following script shows one way in which the <CODE>VARNAME</CODE>
 function could be used.</p>
<p>
 <font color="blue"><pre>
 t1 = varname(?1) ! 1st variable name passed to the script converted to a string
 t2 = varname(?2) ! 2nd variable name passed to the script converted to a string
 graph ?1 ?2      ! plot graph of 2nd variable versus 1st variable
 text 'graph of '//t1//' vs '//t2 ! label the plot with the command
 </pre></font></p>
</BODY>
</HTML>