Itoo Software Forum

RailClone => RailClone Pro (*) => Topic started by: HD2843 on August 08, 2017, 01:48:01 PM

Title: Parse error
Post by: HD2843 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.



Title: Re: Parse error
Post by: Michal KarmazĂ­n 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 (https://docs.itoosoft.com/railclone/converting-railclone-2-styles-for-railclone-3)" document, where you can find RC2 & RC3 differences. Hope that helps.

Best regards,
Title: Re: Parse error
Post by: HD2843 on August 08, 2017, 01:59:47 PM
Thank you for that Michal, it worked a treat!

Kind Regards
Shahid.