File: examples.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 (25 lines) | stat: -rw-r--r-- 938 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
<HTML>
<HEAD>
<TITLE>Examples</TITLE>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">

<P><font size="+3" color="green"><B>Examples</B></font></P>
<P>
 <CODE><font color="blue">DESTROY\MATRICES X[5:25:5] Y S[2]</font></CODE></P>
<P>
 will destroy all matrices; elements <CODE>5, 10, 15, 20,</CODE> and
 <CODE>25</CODE> from vector <CODE>X</CODE>; the variable <CODE>Y</CODE>;
 the second string from string array variable <CODE>S</CODE>.  The variables
 <CODE>X</CODE> and <CODE>S</CODE> will be compressed.</P>
<P>
 <CODE><font color="blue">DESTROY X[WHERE((X&gt;M)&(X&lt;N))]</font></CODE></P>
<P>
 will delete from a vector all elements that have a value
 between <CODE>M</CODE> and <CODE>N</CODE>, assuming that <CODE>M</CODE> and
 <CODE>N</CODE> are scalars.</P>
<P>
 <a href="variableclasses.htm"><img src="../shadow_left.gif">&nbsp;
 <font size="+1" color="olive">Destroy entire classes of variables</font></a></P>
</BODY>
</HTML>