Importing (& streamlining) EPS

jbv jbv.silences at club-internet.fr
Sun Jun 8 17:03:01 EDT 2003


Alejandro,

> Tonight, I test your handler and I'm getting
> two list of points. But in the first list,
> the X coordinate is the same for all the
> numbers of the list!
>
> What I'm doing wrong?
>
> Maybe this part is the problem. It returns the
> same number.
>
> -- INITIALIZES step value AND fixed x values
>
> put trunc(abs(item 1 of last line of variablezxc-item
> 1 of first line of variablezxc)/Nsteps) into v
>   put "" into Vsteps
>   repeat with i=1 to Nsteps
>     put item 1 of first line of variablezxc+(i*v) into
> item 1 of line i of Vsteps
>   end repeat
>   put item 1 of first line of variablezxc & cr before
> Vsteps

WHOOOPS !!!  I didn't send the very last version...

The part of the handler quoted above should be replaced
with the following :

  put trunc(abs(item 1 of a-item 1 of d)/Nsteps) into v
  put 0 into n
  put "" into Vsteps
  repeat with i=1 to Nsteps
    put item 1 of a+(i*v) into item 1 of line i of Vsteps
  end repeat
  put a & cr before Vsteps

I just tested it and it works.
Sorry for the mistake,

JB





More information about the metacard mailing list