Difference between revisions of "Error Messages/42413"

(Created page with '= 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 Dom…')
 
 
Line 1: Line 1:
= Error Text =
+
[[Category: Error messages]]
  
Variable ''A'' currently has no instantiated domain index object.
+
== Error text ==
  
= Cause =
+
:<code>''Variable A currently has no instantiated domain index object.''</code>
  
You may encounter this error when using a typescript command such as:
+
== Cause ==
  
Profile Domain of A
+
You may encounter this error when using a [[typescript]] command such as:
 +
 
 +
:<code>Profile Domain of A</code>
 
or
 
or
Show Domain of A
+
:<code>''Show Domain of A''</code>
  
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 [[ProbTable]]s or [[DetermTable]]s, 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.
+
These typescript commands can be used to examine the [[Domain Indexes|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 [[ProbTable]]s or [[DetermTable]]s, 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 =
+
== Remedy ==
  
 
If your object has a discrete domain, you can force the domain index to be instantiated by evaluating:
 
If your object has a discrete domain, you can force the domain index to be instantiated by evaluating:
[[Handle]](domain of A)
+
:<code>Handle(domain of A)</code>
 +
 
 +
Assuming this succeeds, and returns a [[handle]], then the domain index will exist and afterwards your command should complete successfully.
  
Assuming this succeeds, and returns a handle, then the domain index will exist and afterwards your command should complete successfully.
+
==See Also==
 +
* [[Domain Indexes]]
 +
* [[The domain of possible values]]
 +
* [[Objects and values]]
 +
* [[Variable]]
 +
* [[Discrete]]
 +
* [[ProbTable]]
 +
* [[DetermTable]]
 +
* [[Typescript]]
 +
* [[Profile]]
 +
* [[Show]]

Latest revision as of 20:46, 21 April 2016


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.