Itoo Software Forum

Author Topic: Very simple expression  (Read 70 times)

RealViz

  • Sr. Member
  • ****
  • Posts: 327
Very simple expression
« on: May 31, 2024, 11:38:04 AM »
Hello,
it's probably because Friday, but what am I doing wrong? :-) Feel free to stone me :-)

Dragan

  • Hero Member
  • *****
  • Posts: 1428
Re: Very simple expression
« Reply #1 on: May 31, 2024, 11:43:35 AM »
 ;D

Return
input1/input2-input3;

Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2535
Re: Very simple expression
« Reply #2 on: May 31, 2024, 11:44:23 AM »
Expressions now require a return property before the expression and a semi-colon (;) at the end of the line. Your expression should be structured like this:
Code: [Select]
return (Input1 / Input2) - Input3;I hope that helps.

Best regards,

Dragan

  • Hero Member
  • *****
  • Posts: 1428
Re: Very simple expression
« Reply #3 on: May 31, 2024, 11:51:39 AM »
 ;D ;D ;D
He knows it!
I think it is the Friday after all!

RealViz

  • Sr. Member
  • ****
  • Posts: 327
Re: Very simple expression
« Reply #4 on: May 31, 2024, 01:21:36 PM »
Friday... I'm taking the dog for a walk and going out. Thanks