Error Messages/22930

Revision as of 14:07, 15 September 2026 by Lchrisman (talk | contribs) (Created page with "== Error message == :Syntax error at line 1 while checking Fuel_cost: ::<code>= Fuel_price * Mpy / Mpg</code> ::<code>↑</code> :Expressions don't start with an = like they do in some spreadsheets. Just write your expression, for example write A+B, not =A+B. == Description == If you have just moved to Analytica from Excel, you may have assumed that a formula needs to have an equal character in front of it. This is unnecessary in Analytica, and it fact is a syntax er...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Error message

Syntax error at line 1 while checking Fuel_cost:
= Fuel_price * Mpy / Mpg
Expressions don't start with an = like they do in some spreadsheets. Just write your expression, for example write A+B, not =A+B.

Description

If you have just moved to Analytica from Excel, you may have assumed that a formula needs to have an equal character in front of it. This is unnecessary in Analytica, and it fact is a syntax error. You should just type your expression with no special prefix. The expression attributes like Definition, OnClick, etc. already expect an expression.

Comments
Loading comments...