Hi all,

I've found the difference between my code and yours,

I was using an editfield as an input for the number of cycles

so my code was:

  for ind = 1 to val(inputeditfield.text)
      lista.addrow str(microseconds)
  next

then, to explain myself better in my mail, I've replaced val (inputeditfield.text) with the number 100000, and that's exactly what changes the speed in a BIG BIG way

you can try it, take the value of the number of cicles from an edit field and your performance will dramatically decrease

now my question remains the same:

why reading the value from an editfield ( and casting it to a number ), althought being a deprecated way to code, should affect the performance so little on windows and so hard on Mac?

thank you,

      Giulio
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to