Diff for /loncom/html/adm/help/tex/CAPA_LON-CAPA_function_diffs.tex between versions 1.1 and 1.2

version 1.1, 2003/06/10 15:24:24 version 1.2, 2003/06/10 15:27:06
Line 74  choose(i,...)  & \&choose(\$i,...)  &   Line 74  choose(i,...)  & \&choose(\$i,...)  &  
   
  \hline    \hline 
 /MAP(seed;w,x,y,z;a,b,c,d)  & \parbox{6.49cm}{  /MAP(seed;w,x,y,z;a,b,c,d)  & \parbox{6.49cm}{
 Option 1 - \&map(\$seed,[$\backslash$\$w,$\backslash$\$x,$\backslash$\$y,$\backslash$\$z],[\$a,\$b,\$c,\$d]) or !!  Option 1 - \&map(\$seed,[$\backslash$\$w,$\backslash$\$x,$\backslash$\$y,$\backslash$\$z],[\$a,\$b,\$c,\$d]) or \\
  Option 2 - \&map(\$seed,$\backslash$@mappedArray,[\$a,\$b,\$c,\$d]) !!   Option 2 - \&map(\$seed,$\backslash$@mappedArray,[\$a,\$b,\$c,\$d]) \\
  Option 3 - @mappedArray = \&map(\$seed,[\$a,\$b,\$c,\$d]) !!   Option 3 - @mappedArray = \&map(\$seed,[\$a,\$b,\$c,\$d]) \\
  Option 4 - (\$w,\$x,\$y,\$z) = \&map(\$seed,$\backslash$@a) !!   Option 4 - (\$w,\$x,\$y,\$z) = \&map(\$seed,$\backslash$@a) \\
  where \$a='A'!!   where \$a='A'\\
  \$b='B'!!   \$b='B'\\
  \$c='B'!!    \$c='B'\\ 
  \$d='B'!!    \$d='B'\\ 
  \$w, \$x, \$y, and \$z are variables } & In CAPA, the arguments are divided into three groups separated by a semicolon ;. In LON-CAPA, the separation is done by using [] brackets or using an array @a. Note the backslash ($\backslash$) before the arguments in the second and third groups. \\    \$w, \$x, \$y, and \$z are variables } & In CAPA, the arguments are divided into three groups separated by a semicolon ;. In LON-CAPA, the separation is done by using [] brackets or using an array @a. Note the backslash ($\backslash$) before the arguments in the second and third groups. \\ 
   
  \hline    \hline 
 rmap(seed;a,b,c,d;w,x,y,z)  & \parbox{6.49cm}{Option 1 - \&rmap(\$seed,[$\backslash$\$w,$\backslash$\$x,$\backslash$\$y,$\backslash$\$z],[\$a,\$b,\$c,\$d]) or !!   rmap(seed;a,b,c,d;w,x,y,z)  & \parbox{6.49cm}{Option 1 - \&rmap(\$seed,[$\backslash$\$w,$\backslash$\$x,$\backslash$\$y,$\backslash$\$z],[\$a,\$b,\$c,\$d]) or \\ 
  Option 2 - \&rmap(\$seed,$\backslash$@rmappedArray,[\$a,\$b,\$c,\$d]) !!   Option 2 - \&rmap(\$seed,$\backslash$@rmappedArray,[\$a,\$b,\$c,\$d]) \\
  Option 3 - @rmapped\_array = \&rmap(\$seed,[\$a,\$b,\$c,\$d]) !!   Option 3 - @rmapped\_array = \&rmap(\$seed,[\$a,\$b,\$c,\$d]) \\
  Option 4 - (\$w,\$x,\$y,\$z) = \&rmap(\$seed,$\backslash$@a) !!   Option 4 - (\$w,\$x,\$y,\$z) = \&rmap(\$seed,$\backslash$@a) \\
  where \$a='A'!!   where \$a='A'\\
  \$b='B'!!   \$b='B'\\
  \$c='B'!!    \$c='B'\\ 
  \$d='B'!!    \$d='B'\\ 
  \$w, \$x, \$y, and \$z are variables }  & In CAPA, the arguments are divided into three groups separated by a semicolon ;. In LON-CAPA, the separation is done by using [] brackets (with create an unamed vector reference) or using an array @a. Note the backslash ($\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). \\    \$w, \$x, \$y, and \$z are variables }  & In CAPA, the arguments are divided into three groups separated by a semicolon ;. In LON-CAPA, the separation is done by using [] brackets (with create an unamed vector reference) or using an array @a. Note the backslash ($\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). \\ 
   
  \hline    \hline 

Removed from v.1.1  
changed lines
  Added in v.1.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>