This article applies to:
This item was introduced in E-Prime 2.0 (188.8.131.52).
Previous versions of E-Prime would report "Object variable or With block variable not set" when an object variable was used before being intialized.
The "Object variable or With block variable not set" message is not entirely descriptive to end users and typically would result in a support request.
The error message has been updated to be more descriptive:
91: Value of the Object variable has not been set or is invalid. Check where the variable is assigned to confirm it is being associated with a valid object reference.
An example of the above would be to drop the following script into an InLine in the BasicRT experiment. The value of x will be Nothing because there are no SRBOX in the experiment.
Dim x As SRBoxResponseData
Set x = CSRBoxResponseData(Stimulus.InputMasks.Responses(1))
Dim y As String
y = x.RESP