Millisecond Forums

Branching inside expt

https://forums.millisecond.com/Topic31477.aspx

By mahfuz - 5/5/2021

Hi,
I am trying to modify an experiment where some blocks are running inside <expt> as shown below:
<expt>
/blocks = [
    1 = blockone;
    2 = blocktwo;
    3 = blockthree;
    4 = blockfour;
    5 = finish;
]
</expt>

How can I skip blockthree and blockfour based on the value of a variable?

I will appreciate if anyone can give me some suggestions.
By Dave - 5/6/2021

mahfuz - 5/6/2021
Hi,
I am trying to modify an experiment where some blocks are running inside <expt> as shown below:
<expt>
/blocks = [
    1 = blockone;
    2 = blocktwo;
    3 = blockthree;
    4 = blockfour;
    5 = finish;
]
</expt>

How can I skip blockthree and blockfour based on the value of a variable?

I will appreciate if anyone can give me some suggestions.

By defining a proper /skip condition in <block blockthree> and <block blockfour> respectively.

https://www.millisecond.com/support/docs/v6/html/language/attributes/skip.htm