List question


Author
Message
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 104K
>The problem I have is on the very first trial I need to start randomly somewhere within the list. So for example one subject might start at
> index 3 in the list then go through it in sequence over and over again, while another might start at index 1 or 5.

See the code in this thread, which does exactly that: https://www.millisecond.com/forums/Topic17187.aspx

nashby
nashby
Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)Guru (8.8K reputation)
Group: Forum Members
Posts: 78, Visits: 159
So i have a task where we force an outcome pattern and I figure the best way to enforce this is using a list that is played out over and over again.

For example I have a list with items: 0,0,0,0,1,0,0,1 and I want that list to play out in sequence over and over again. This works fine.

The problem I have is on the very first trial I need to start randomly somewhere within the list. So for example one subject might start at index 3 in the list then go through it in sequence over and over again, while another might start at index 1 or 5. I cannot figure out how to make this work. Any ideas?

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search