add a block


Author
Message
nakayama
nakayama
Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Many thanks! 
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
<expt >
/ blocks = [1-10,12-21,23-32,34-43,45-54,56-65,67-76,78-87,89-98,100-109,111-120,122-131 = noreplacenorepeat(1,2,3,4,5,6,7,8,9,10,11,12);
    11,22,33,44,55,66,77,88,99,110,121 = sample;  ]
</expt>
nakayama
nakayama
Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Hi Dave,
How Can I change the syntax to prevent the same two block or more are presented in sequence?
For example, to avoid: 12,12,12,3,6,3
Best,
Nakayama
nakayama
nakayama
Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Oh i got it! Thank you Dave!
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
You specify

<expt >
/ blocks = [1-10,12-21,23-32,34-43,45-54,56-65,67-76,78-87,89-98,100-109,111-120,122-131 = noreplace(1,2,3,4,5,6,7,8,9,10,11,12);
    11,22,33,44,55,66,77,88,99,110,121 = sample;  ]
</expt>

nakayama
nakayama
Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)
Group: Forum Members
Posts: 72, Visits: 408
Hi, Dave,
How can I add an addition block<sample> to under the following syntax, and block<sample> appear after every ten times of other blocks.
goes like, for example:

1,5,4,3,5,3,2,4, 6, 7, sample;
3,4,5,3,4,12,11,10,1,7, sample (randomly)
....

<expt >
/ preinstructions = (instruction)
/ blocks = [1-120=noreplace(
1,1,1,1,1,1,1,1,1,1,
2,2,2,2,2,2,2,2,2,2,
3,3,3,3,3,3,3,3,3,3,
4,4,4,4,4,4,4,4,4,4,
5,5,5,5,5,5,5,5,5,5,
6,6,6,6,6,6,6,6,6,6,
7,7,7,7,7,7,7,7,7,7,
8,8,8,8,8,8,8,8,8,8,
9,9,9,9,9,9,9,9,9,9,
10,10,10,10,10,10,10,10,10,10,
11,11,11,11,11,11,11,11,11,11,
12,12,12,12,12,12,12,12,12,12)]
/ onblockend = [instruct.finishlabel="press enter to end the test"]
/ postinstructions = (result)
</expt>

Best,
nakayama
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search