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

Herbert Voss Herbert.Voss at FU-Berlin.DE
Fri Apr 11 16:33:20 CEST 2014


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


> \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/
>




More information about the PSTricks mailing list