Itoo Software Forum

Author Topic: Arithmetic expression errors  (Read 559 times)

duck

  • Newbie
  • *
  • Posts: 12
Arithmetic expression errors
« on: February 28, 2021, 01:25:51 PM »
Hello,
I'm using rc 4.2.1 with max2020. For every new arithmetic expression I make I get a warning "Expression has errors..."
Even if its absolutely basic. The only ones that dont give me a warning are from previous projects. But even if I just copy the expression in the working file it will give me a warning.
I also tried a clean install with max2021 - same result.
Does anyone have a clue?

Dragan

  • Hero Member
  • *****
  • Posts: 1419
Re: Arithmetic expression errors
« Reply #1 on: February 28, 2021, 01:40:25 PM »
Give us some expression example.

duck

  • Newbie
  • *
  • Posts: 12
Re: Arithmetic expression errors
« Reply #2 on: February 28, 2021, 09:47:00 PM »
return
XSectionLength;

for example

duck

  • Newbie
  • *
  • Posts: 12
Re: Arithmetic expression errors
« Reply #3 on: February 28, 2021, 09:52:46 PM »
problem solved! the problem was the expression was not linked yet.
but i think the warning is a bit misleading since it suggests something is wrong with the expression itself.