Difference between revisions of "Error Messages/42475"

(Created page with "= Error Message = Syntax error at line 1 while checking: x**2 ^ Expression expected. = Cause = The expression entered (usually into the Definition attribute, but poss...")
 
 
Line 1: Line 1:
= Error Message =
+
[[Category: Error messages]]
  
 +
== Error message ==
 +
<pre style="background:white; border:white; margin-left: 1em; font-style:italic">
 
  Syntax error at line 1 while checking:
 
  Syntax error at line 1 while checking:
 
   x**2
 
   x**2
 
     ^
 
     ^
 
  Expression expected.
 
  Expression expected.
 +
</pre>
  
= Cause =
+
== Cause ==
  
The expression entered (usually into the Definition attribute, but possibly into the [Check attribute] or [Domain Attribute|domain expression]) is not a valid Analytica expression.  In the above example, Analytica has no <code>**</code> operator, hence the <code>**</code> is not recognized.  Syntax errors might be caused from missing operators (e.g., <code>4 x</code> instead of <code>4*x</code>), extra closing parens, unrecognized symbols, etc.
+
The expression entered (usually into the [[Definition]] attribute, but possibly into the [[Check attribute]] or [[Domain Attribute|domain expression]]) is not a valid Analytica expression.  In the above example, Analytica has no <code>**</code> operator, hence the <code>**</code> is not recognized.  Syntax errors might be caused from missing [[operators]] (e.g., <code>4 x</code> instead of <code>4*x</code>), extra closing parentheses, unrecognized symbols, etc.
 +
 
 +
==Remedy==
 +
Fix the specified syntax error.
 +
 
 +
==See Also==
 +
* [[Expression Syntax]]
 +
* [[Expression Assist]]
 +
* [[Operators]]
 +
* [[Definition]]
 +
* [[Check attribute]]
 +
* [[Domain attribute]]

Latest revision as of 21:05, 21 April 2016


Error message

 Syntax error at line 1 while checking:
   x**2
    ^
 Expression expected.

Cause

The expression entered (usually into the Definition attribute, but possibly into the Check attribute or domain expression) is not a valid Analytica expression. In the above example, Analytica has no ** operator, hence the ** is not recognized. Syntax errors might be caused from missing operators (e.g., 4 x instead of 4*x), extra closing parentheses, unrecognized symbols, etc.

Remedy

Fix the specified syntax error.

See Also

Comments


You are not allowed to post comments.