Hey guys, I want to ask how to randomise just a part of blocks in each group.
The following code includes no randomisation. I want to randomise always the midline but just that line nothing else. Means Block 1 and 2 for the first and second scenario and Block 6 and 7 for the third and fourth.
I tried to insert RANDOMIZE() like this way:
...
ADD(RANDOMIZE("BlockList",1,2));
...
but it doesn't work. Any ideas?
Begin Unverified Perl
if(VALUE("QuotaGroups")==1)
{
ADD("BlockList",3);
ADD("BlockList",1,2);
ADD("BlockList",5);
}
elsif(VALUE("QuotaGroups")==2)
{
ADD("BlockList",4);
ADD("BlockList",1,2);
ADD("BlockList",5);
}
elsif(VALUE("QuotaGroups")==3)
{
ADD("BlockList",8);
ADD("BlockList",6,7);
ADD("BlockList",10);
}
else
{
ADD("BlockList",9);
ADD("BlockList",6,7);
ADD("BlockList",10);
}
End Unverified