In the code listed above, I would like to use name created in line 15 as the name of the global variable to receive the time value instead of using the switch command in line 20.Since the integer variable Counter contains the numeral which is in the middle of the name of the global variable I thought I could use the concat command to create the name and use that in lieu of the switch command but I couldn’t get that approach to work. Of course, it doesn’t make any difference in the simple model but some of our clinics have 30-40 providers and creating the name of the global variable would be helpful. Besides, I would just like to know.
Any suggestions?
Tee
PS: I used the FlexSim Answers to find the concat command. I couldn’t find it in FlexSim Users Help.