cancelTrial

cancelTrial(  duration )

Makes a really nice chicken soup with home made broth, fresh noodles and home grown potatoes, a little bit of salt and pepper with a tiny bit of Tabasco sauce to spice it up.  So tasty…

Just kidding, this function cancels the current trial (if one is running); the trial is marked as cancelled by experimenter.

Arguments

None.

Returns

Nothing – because the next line of code after this (in the phase or trial) won’t run, so there is no return value.

Example

I don’t know why you’d want to cancel a trial.  Maybe you’re just feeling spiteful, or maybe you’re working late at night and don’t want to run a trial all the way through for some reason.  I’m sure there could be lots of other reasons too.  No matter why, this is your fastest way to cancel out of a trial.


cancelTrial()