Hi,

Your solution should work (possibly with funny side effects due to
sharing, but I can't/shouldn't develop). There's a simpler (?)
solution: use the weights parameter of random(), which in strict mode
triggers a repetition:
  jn = random(strict=true,[jingles,newtitles])
  
random(weights=[10,1,1,1,1,1],[jn,jingles,othersong,jingles,othersong,frenchson])
You start by 10 tracks of jn, which alternates between jingles and newtitles.

On Tue, Aug 25, 2009 at 5:36 PM, Romain Beauxis<[email protected]> wrote:
> I've looked at your message but I cannot find the issue. For the rotation you
> want, random in strict mode should be the correct operator.
>
> However, I think I remember David writting about having a specific operator 
> for
> the strict random, since it's not really a random in this case :-)

Yes, it's renamed into rotate() in the SVN version.

-- 
David

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to