File: parameters.htm

package info (click to toggle)
extrema 4.3.6-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 19,212 kB
  • ctags: 6,452
  • sloc: cpp: 86,428; sh: 8,229; makefile: 814
file content (35 lines) | stat: -rw-r--r-- 1,362 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<HTML>
<HEAD>
<TITLE>Parameters</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><A NAME="execparams"></A>
<font size="+3" color="green"><B>Parameters</B></font></P>
<P>
 Parameters that are entered after
 <CODE>filename</CODE> are used in one of two ways. Either the <i>n</i><SUP>th</SUP> parameter
 will replace the <i>n</i><SUP>th</SUP>
 <CODE>?</CODE> that is found in the file, or the
 <i>n</i><SUP>th</SUP> parameter in the list will replace all
 <CODE>?n</CODE>'s found in the file. Sequential
 parameters must be in a one-to-one correspondence with the
 <CODE>?</CODE>'s and in the correct order. It is
 possible to mix sequential and numbered parameters in the same file, but it
 is not recommended as this can be very confusing.</P>
<P>
 Numbered parameter zero, that is, <CODE>?0</CODE>,
 in a script always is replaced by the name of the script file.  Use the
 <a href="../Functions/StringManipulation/string.htm"><CODE>STRING</CODE></a>
 function to convert it to a quote string.  For example:</P>

 <font color="blue"><PRE>
 DISPLAY 'executing script file = '//STRING(?0)</PRE></font>
<P>
 <a href="abort.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Abort</font></a><br />
 <a href="branching.htm"><img src="../shadow_right.gif">&nbsp;
 <font size="+1" color="olive">Branching</font></a>
</P>
</BODY>
</HTML>