Use scripting to change list selection order
David McFarlane
mcfarla9 at msu.edu
Thu Jul 17 21:19:59 UTC 2008
Bjørn,
>I have a list that runs in sequential order, and at some instances I
>want to change it to run in randomized order (based on a start-up
>question). I tried solving this in a quite simple way by adding an
>inline with the code:
>
>Set ListName.Order = RandomOrder
>
>But when running the experiment this caused the entire list to be
>skipped.
You are so close. Here is the complete example
right from the RandomOrder Object topic in the E-Basic online help:
Set List1.Order = RandomOrder
List1.Reset
You were just missing the .Reset. Give that a try.
-- David McFarlane, Professional Faultfinder
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com
To unsubscribe from this group, send email to e-prime-unsubscribe at googlegroups.com
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en
-~----------~----~----~----~------~----~------~--~---
More information about the Eprime
mailing list