version 1.10, 2001/10/01 20:13:38
|
version 1.11, 2001/11/09 13:43:03
|
Line 557
|
Line 557
|
</tr> |
</tr> |
|
|
<tr> |
<tr> |
<td valign="top">map(seed;a,b,c,d;w,x,y,z)</td> |
<td valign="top">/MAP(seed;w,x,y,z;a,b,c,d)</td> |
<td valign="top">Option 1 - &map($seed,[\$w,\$x,\$y,\$z],[$a,$b,$c,$d]) or <br> |
<td valign="top">Option 1 - &map($seed,[\$w,\$x,\$y,\$z],[$a,$b,$c,$d]) or <br> |
Option 2 - &map($seed,\@mappedArray,[$a,$b,$c,$d]) <br> |
Option 2 - &map($seed,\@mappedArray,[$a,$b,$c,$d]) <br> |
Option 3 - @mappedArray = &map($seed,[$a,$b,$c,$d]) <br> |
Option 3 - @mappedArray = &map($seed,[$a,$b,$c,$d]) <br> |
Line 594
|
Line 594
|
$w, $x, $y, and $z are variables</td> |
$w, $x, $y, and $z are variables</td> |
<td valign="top">The rmap functions does the reverse action of map if the same seed |
<td valign="top">The rmap functions does the reverse action of map if the same seed |
is used in calling map and rmap. </td> |
is used in calling map and rmap. </td> |
<td valign="top">In CAPA, the arguments are divided into three groups separated |
<td valign="top">In CAPA, the arguments are divided into |
by a semicolon ;. In LON-CAPA, the separation is done by using [] brackets or |
three groups separated by a semicolon ;. In LON-CAPA, the |
using an array @a. Note the backslash (\) before the arguments in the |
separation is done by using [] brackets (with create an |
second and third groups.</td> |
unamed vector reference) or using an array @a. Note the |
|
backslash (\) before the arguments in the second and |
|
third groups (Which cause Perl to send to variable |
|
locations rather than the variable values, similar to a C |
|
pointer).</td> |
</tr> |
</tr> |
|
|
<tr> |
<tr> |
Line 896
|
Line 900
|
<address><a href="mailto:albertel@marvin.lite.msu.edu">Guy Albertelli</a></address> |
<address><a href="mailto:albertel@marvin.lite.msu.edu">Guy Albertelli</a></address> |
<!-- Created: Thu May 17 15:05:35 EDT 2001 --> |
<!-- Created: Thu May 17 15:05:35 EDT 2001 --> |
<!-- hhmts start --> |
<!-- hhmts start --> |
Last modified: Mon Oct 1 16:12:05 EDT 2001 |
Last modified: Fri Nov 9 08:39:47 EST 2001 |
<!-- hhmts end --> |
<!-- hhmts end --> |
</body> |
</body> |
</html> |
</html> |