CST Won't Evecute with Else if Statement

Moderator: Moderators

Re: CST Won't Evecute with Else if Statement

Postby phathom.a.donald@lmco.com » Thu Feb 02, 2017 8:03 am

See image attached. It's funny because this is the original way I wrote the code, but it wouldn't work for some reason. It kept saying it didn't recognize the "&&" operator, so I tried rewriting the code. But now it's working... Anyway, thanks for your help!
You do not have the required permissions to view the files attached to this post.
phathom.a.donald@lmco.com
Forum Beginner
Forum Beginner
 
Posts: 62
Posts Rating:1
Joined: Fri May 13, 2016 7:09 am

Re: CST Won't Evecute with Else if Statement

Postby chanon_s » Thu Feb 02, 2017 7:46 pm

Dear Customer

It kept saying it didn't recognize the "&&" operator


Was it an error like this?

00:00:01,244 ERROR: Cannot evaluate Opaque Action:
<eval>:1:24 Expected an operand but found &&


Sincerely

Chanon S.
No Magic Customer Support
chanon_s
Customer Support
Customer Support
 
Posts: 91
Posts Rating:7
Joined: Thu Dec 04, 2014 2:21 am

Re: CST Won't Evecute with Else if Statement

Postby phathom.a.donald@lmco.com » Fri Feb 03, 2017 7:45 am

Yes, but I no longer receive that message. So, I probably had an error in the code that I no longer have.
phathom.a.donald@lmco.com
Forum Beginner
Forum Beginner
 
Posts: 62
Posts Rating:1
Joined: Fri May 13, 2016 7:09 am

Re: CST Won't Evecute with Else if Statement

Postby chanon_s » Sun Feb 05, 2017 9:41 pm

Dear Customer

If so, that was because an open bracket "(" was missing in one of your If statements.

Sincerely

Chanon S.
No Magic Customer Support
chanon_s
Customer Support
Customer Support
 
Posts: 91
Posts Rating:7
Joined: Thu Dec 04, 2014 2:21 am

Re: CST Won't Evecute with Else if Statement

Postby phathom.a.donald@lmco.com » Mon Feb 06, 2017 7:04 am

Makes sense. Thanks!
phathom.a.donald@lmco.com
Forum Beginner
Forum Beginner
 
Posts: 62
Posts Rating:1
Joined: Fri May 13, 2016 7:09 am

Previous

Return to Cameo Simulation Toolkits

Who is online

Users browsing this forum: No registered users and 0 guests

cron