Difference between revisions of "Error Messages/40182"

m
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 ==Error message==
+
[[Category: Error messages]]
  
<br>&nbsp;Evaluation error at line 1 in Script of &lt;x&gt;:<br>&nbsp;The object in an "att OF obj&nbsp;:= expr" expressions must be the name of an object,
+
== Error message ==
  
&nbsp;or if a function call, must evaluat to the name of an object. It cannot be an array, &nbsp;
+
:<pre style="background:white; border:white; margin-left: 1em; font-style:italic">In expression '«attrib» OF «obj» := «expr»', «obj» must be the text identifier of a Variable or other object, or a handle to an object. It does not work for an array of identifiers or handles.</pre>
  
&nbsp;attribute assignment does array abstract.
+
==== What it means ====
  
<br>&nbsp;Did you want to edit the Script of &lt;x&gt;?<br>
+
In an assignment to an attribute of the form
 +
:<code>att OF obj := expr</code>
 +
 +
«expr» must evaluate to a single text value, not an array. This operation does not [[Array Abstraction|array abstract]]
  
==Revised message==
+
=== Revised message ===
 +
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 +
In an assignment to an attribute of the form
  
 +
  ''att ''OF ''obj '':= ''expr''
  
 +
''obj ''may be
  
&nbsp;In expression of the form&nbsp;
+
* the identifier of an object
  
&nbsp; &nbsp;att OF obj := expr
+
* a text value that is the identifier of an object, including an expression that returns a text value
  
&nbsp;obj&nbsp;must be the identifier of an object (or if obj is a call to a function call, it must evaluat to the identifier of an object.  
+
* a handle to an object, including an expression that returns a handle.
  
&nbsp;It cannot be an array, attribute assignment does array abstract.
+
  Neither ''obj nor expr can ''be an array:  Attribute assignment does not array abstract.
 +
</pre>
 +
 
 +
==See Also==
 +
* [[Attrib of Obj]]
 +
* [[Objects and Values]]
 +
* [[Array Abstraction]]
 +
* [[Expression Assist]]
 +
* [[Script]]

Latest revision as of 19:26, 16 May 2017


Error message

In expression '«attrib» OF «obj» := «expr»', «obj» must be the text identifier of a Variable or other object, or a handle to an object. It does not work for an array of identifiers or handles.

What it means

In an assignment to an attribute of the form

att OF obj := expr

«expr» must evaluate to a single text value, not an array. This operation does not array abstract

Revised message

In an assignment to an attribute of the form 

   ''att ''OF ''obj '':= ''expr''

 ''obj ''may be

 * the identifier of an object

 * a text value that is the identifier of an object, including an expression that returns a text value

 * a handle to an object, including an expression that returns a handle.

  Neither ''obj nor expr can ''be an array:  Attribute assignment does not array abstract.

See Also

Comments


You are not allowed to post comments.