Itoo Software Forum

Author Topic: Expression errors  (Read 740 times)

SL7359

  • Jr. Member
  • **
  • Posts: 64
    • OakCorp Home
Expression errors
« on: March 08, 2021, 08:26:17 AM »
In the following tutorial, "14. From the Arithmetic operator's properties, change the operation type to Expression", I get an error message saying "Expression has errors. Are you sure you want to accept it?"

https://www.itoosoft.com/tutorials/spider-glazing?back=page%3D7%26tag%3Drailclone

Do you know what the problem is?
OakCorp Japan
Yuji Yamauchi
3dsMax[Latest]/Geforce GTX 1080/Windows10 Pro/ V-Ray for Max[Latest]/GrowFX[Latest]

Rokas

  • Hero Member
  • *****
  • Posts: 3324
Re: Expression errors
« Reply #1 on: March 08, 2021, 08:44:39 AM »
Hi,

There's a new Expressions syntax in RailClone 3 and later.
Expressions now require you to add a return property before the expression and a semi-colon (;)at the end of the line.

Please feel free to check the "Converting RailClone 2 styles for RailClone 3" document, where you can find RC2 & RC3 differences. Hope that helps.

Best regards,
Rokas

SL7359

  • Jr. Member
  • **
  • Posts: 64
    • OakCorp Home
Re: Expression errors
« Reply #2 on: March 08, 2021, 09:07:43 AM »
Thank you for everything.
Thank you for your excellent support.
OakCorp Japan
Yuji Yamauchi
3dsMax[Latest]/Geforce GTX 1080/Windows10 Pro/ V-Ray for Max[Latest]/GrowFX[Latest]