[pstricks] arrayjob and multiple array elements in one pstricks function does not worked as expected

Juergen Rose rose at rz.uni-potsdam.de
Sat Apr 12 13:33:59 CEST 2014


Am Freitag, den 11.04.2014, 16:33 +0200 schrieb Herbert Voss:
> Am 10.04.2014 17:54, schrieb Juergen Rose:
> 
> > I still have two further question connected with arrays. The first I
> > would like to add here, The second I will post with a separate subject,
> > I tried to calculate the values of an array \RMin from an array \Rprobe,
> > but I was not succesful. My code looks like:
> 
> Complete examples please.
> 
> Herbert

The complete code is in the attachment.
Juergen

> 
> > \newarray\Rprobe
> > \readarray{Rprobe}{0&0.3&3&30&300}
> > \newarray\RMin
> > multido{\iInd=1+1}{4}{%
> >    \checkRprobe(\iInd)%
> >    \FPmul\aux\cachedata{\Rzero}
> >    iInd=\iInd :  aux=\aux
> >    \RMin(\iInd)={\aux}
> > }
> > ...
> >    \multido{\iInd=2+1}{3} {%
> > ...
> >      \checkRMin(\iInd)  \edef\RMIN{\cachedata}%
> > }
> >
> > Xelatex fails with:
> > ! Undefined control sequence.
> > \cachedata ->\aux
> >
> > l.75 ^^I}
> >
> > Again I am thankful for every hint.
> >
> >
> >
> >
> >
> > _______________________________________________
> > PSTricks mailing list
> > PSTricks at tug.org
> > http://tug.org/mailman/listinfo/pstricks
> > archive: http://www.tug.org/pipermail/pstricks/
> >
> 
> 
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: calculate_array_2.tex
Type: text/x-tex
Size: 668 bytes
Desc: not available
URL: <http://tug.org/pipermail/pstricks/attachments/20140412/52fd7b58/attachment.bin>


More information about the PSTricks mailing list