Error Messages/42413


Error text

Variable A currently has no instantiated domain index object.

Cause

You may encounter this error when using a typescript command such as:

Profile Domain of A

or

Show Domain of A

These typescript commands can be used to examine the domain index object for a primary variable object. However, the domain index object is not instantiated when the primary object's does not have an explicit discrete domain (e.g., a list of discrete values defined using the Discrete function), and even when it does have a discrete domain, the domain index object is not instantiated until it is needed. (It may never been needed if it isn't used in any ProbTables or DetermTables, etc., so the resources of creating it aren't expended). So, if it hasn't been created yet, this error will result. Commands like Profile and Show don't initiate the creation of the object -- they just display what is already there.

Remedy

If your object has a discrete domain, you can force the domain index to be instantiated by evaluating:

Handle(domain of A)

Assuming this succeeds, and returns a handle, then the domain index will exist and afterwards your command should complete successfully.

See Also

Comments


You are not allowed to post comments.