Christopher Cave writes:
<>
> Now for slicing. I am not sure how far slicing is supposed to work and
<>
> anyone who can tell me what's going on.
> 100 DEFine PROCedure subrt
> 110 LOCal z(1,3),u(2)
> 120 z(0,0)=20 : z(1,0)=80 : z(0,1)=80 : z(1,1)=20
> 130 lc z(,0),z(,1),u
> 140 PRINT u,\
> 150 END DEFine subrt
If I got the right end of the stick, then what you're trying to do is to
slice the wrong dimension. If you rearrange things slightly:
1100 DEFine PROCedure subrt2
1110 LOCal z(1,3),u(2)
1120 z(0,0)=20 : z(0,1)=80 : z(1,0)=80 : z(1,1)=20: rem Changes on this line
1130 lc z(0, 0 TO 1),z(1, 0 TO 1),u: rem and this
one
1140 PRINT u,\
1150 END DEFine subrt2
you get:
x = 20 80
y = 80 20
60 60 -6000
84.85281
.7071068 .7071068 -70.71068
Press ENTER
Which is no worse than one would expect. Is this what you wanted, or are you
trying
to do someting altogether different?
Per