Millisecond Forums

Is there any way to carry over variables between scripts?

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

By Sercan - 5/21/2021

Is there any way to carry over variables between scripts? Additionally, is it possible to terminate an entire batch prematurely within the script? Right now I'm presenting a batch of scripts, each of which has an awareness check question or error rate measure inside of it - it would be great if I could keep track of participants' responses to these variables throughout the script, in order to terminate the experiment early when too many erroneous responses are given on multiple scripts. 
By Dave - 5/21/2021

Sercan - 5/21/2021
Is there any way to carry over variables between scripts? Additionally, is it possible to terminate an entire batch prematurely within the script? Right now I'm presenting a batch of scripts, each of which has an awareness check question or error rate measure inside of it - it would be great if I could keep track of participants' responses to these variables throughout the script, in order to terminate the experiment early when too many erroneous responses are given on multiple scripts. 

> Is there any way to carry over variables between scripts?

Yes. https://www.millisecond.com/support/docs/v6/html/howto/batchparameters.htm

> Additionally, is it possible to terminate an entire batch prematurely within the script?

Yes. https://www.millisecond.com/support/docs/v6/html/language/functions/abort.htm
By Sercan - 6/9/2021

Dave - 5/21/2021
Sercan - 5/21/2021
Is there any way to carry over variables between scripts? Additionally, is it possible to terminate an entire batch prematurely within the script? Right now I'm presenting a batch of scripts, each of which has an awareness check question or error rate measure inside of it - it would be great if I could keep track of participants' responses to these variables throughout the script, in order to terminate the experiment early when too many erroneous responses are given on multiple scripts. 

> Is there any way to carry over variables between scripts?

Yes. https://www.millisecond.com/support/docs/v6/html/howto/batchparameters.htm

> Additionally, is it possible to terminate an entire batch prematurely within the script?

Yes. https://www.millisecond.com/support/docs/v6/html/language/functions/abort.htm

Thanks Dave, this is exactly what I was looking for!