Itoo Software Forum

Author Topic: Parse error  (Read 5231 times)

HD2843

  • Newbie
  • *
  • Posts: 2
Parse error
« on: August 08, 2017, 01:48:01 PM »
Hello everyone

Another amateur here trying to learn the ropes, but have hit a stumbling block. I'd be grateful for any assistance please.

Currently I'm doing the Mapping Tiles and Bricks tutorial from the ITOO website. This is the bit I'm stuck on:

I'm creating the arithmetic expression: "Input1*2"

But I get an error: "Parse error Unkown statement at line 1:"

NOt sure what I'm doing wrong.

I'm running the latest version of Railclone.

Many Thanks.

Shahid.




Michal Karmazín

  • iToo Software
  • Hero Member
  • *****
  • Posts: 2447
Re: Parse error
« Reply #1 on: August 08, 2017, 01:53:34 PM »
Hi Shahid,

There's a new Expressions syntax in RailClone 3. 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,

HD2843

  • Newbie
  • *
  • Posts: 2
Re: Parse error
« Reply #2 on: August 08, 2017, 01:59:47 PM »
Thank you for that Michal, it worked a treat!

Kind Regards
Shahid.