ATTENTION

This FlexSim Community Forum is read-only. Please post any new questions, ideas, or discussions to our new community (we call it Answers) at https://answers.flexsim.com/. Our new Question & Answer site brings a modern, mobile-friendly interface and more focus on getting answers quickly. There are a few differences between how our new Q&A community works vs. a classic, threaded-conversation-style forum like the one below, so be sure to read our Answers Best Practices.


flexsim.com

Go Back   FlexSim Community Forum > FlexSim Software > Q&A
Downloads

Q&A Using Flexsim and building models

  #1  
Old 11-11-2011
Yu Xuan Huang Yu Xuan Huang is offline
Flexsim User
 
Join Date: Aug 2011
Posts: 5
Downloads: 6
Uploads: 0
Thanks: 3
Thanked 0 Times in 0 Posts
Rep Power: 0
Yu Xuan Huang is on a distinguished road
Default About syntax error problem..

hi all
when I building the models, the console say something wrong on Conveyor5 entry trigger. but I can't find the problem on Conveyor5 entry trigger.

please help me! thanks a lot!
Attached Files
File Type: fsm something wrong on Conveyor5 entry trigger.fsm (808.0 KB, 90 views)
  #2  
Old 11-11-2011
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

After If Statement you have to use "{" instead of "(".
__________________
Hemmi
The Following 2 Users Say Thank You to Sebastian Hemmann For This Useful Post:
Yu Xuan Huang (11-11-2011)
  #3  
Old 11-11-2011
Sebastian Hemmann's Avatar
Sebastian Hemmann Sebastian Hemmann is offline
Flexsim User
 
Join Date: Sep 2009
Location: Braunschweig (Germany)
Posts: 439
Downloads: 52
Uploads: 0
Thanks: 472
Thanked 217 Times in 154 Posts
Rep Power: 319
Sebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to beholdSebastian Hemmann is a splendid one to behold
Default

And in the If Statements a "," doesn´t work. Don´t know if this has meaning of logical "AND" or "OR". Use && for AND and || for OR. Changed it in your model with the example for OR.
Attached Files
File Type: fsm Something_wrong_SH.fsm (75.5 KB, 75 views)
__________________
Hemmi
The Following 2 Users Say Thank You to Sebastian Hemmann For This Useful Post:
Yu Xuan Huang (11-11-2011)


Thread Thread Starter Forum Replies Last Post
Syntax error when compiled Deepak Tirumalasetty Q&A 8 06-14-2010 08:18 PM
Syntax error on Windows 7 64bit oliver.rose Q&A 3 02-03-2010 01:15 PM


All times are GMT -6.
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.
Copyright 1993-2018 FlexSim Software Products, Inc.