Empty

Flag which controls initialization condition:

 

          0          Initialize always

          1          Initialize only if set is empty (all elements drawn)

 

 Example for initializing sets



TONE  Low     I 400
TONE  Medium  I 800
TONE  High    I 1200
TONE  RndTone I 0          ; Tone definition with dummy content

SET  Pitches  T
Low Medium High

TRIAL  Melody
DE  Pitches  RndTone          ;Draw random element and assign it to RndTone
ST  RndTone  300          ;Start  Tone
DE  Pitches  RndTone          ;Draw next random element and assign it to RndTone
ST  RndTone  300          ;Start Tone
IS  Pitches          ;Initialize Set
 



Copyright 2023 - BeriSoft Inc.
All rights reserved