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 > Gripes and Goodies
Downloads

Gripes and Goodies Software problems and suggestions

  #1  
Old 04-21-2009
Bill Chan Bill Chan is offline
Flexsim User
 
Join Date: Nov 2007
Posts: 7
Downloads: 21
Uploads: 0
Thanks: 4
Thanked 1 Time in 1 Post
Rep Power: 0
Bill Chan is on a distinguished road
Default Global variable named "i"

Hi,

When a global variable with the name "i" is defined, objects from the library cannot be dragged out and the objects in the model cannot be connected together using A-key or S-key. Although "i" is not a good name for global variable, the user may expect a warning message.

Thanks.
Bill Chan
  #2  
Old 04-21-2009
Carsten Seehafer's Avatar
Carsten Seehafer Carsten Seehafer is offline
FlexSim Geek
 
Join Date: Oct 2008
Location: Ritterhude, Deutschland
Posts: 230
Downloads: 45
Uploads: 1
Thanks: 474
Thanked 320 Times in 143 Posts
Rep Power: 379
Carsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud ofCarsten Seehafer has much to be proud of
Default

i is a command of flexsim. If you define i in global variables you overload this function and the original i will not work!

Quote:
i<no parentheses>

Description:
For developer use. This command is used only in event functions. It is used to reference the object that was passed to the value of 0 is) command as the involved object. Example:string involvedname = getname(i);

This sets involvedname to the name of the object that was passed to value of 0 is) as the involved object.
(copy from command documentation)
The Following User Says Thank You to Carsten Seehafer For This Useful Post:
Bill Chan (04-21-2009)


Thread Thread Starter Forum Replies Last Post
Global variable as experiment variable Matthias Hofmann Q&A 3 09-08-2009 09:42 AM
Is it possible one object comprised of the function of "combiner" and "separetor"? Vic Li Q&A 1 08-19-2008 04:41 AM
about "no select" and "show parameter window from side bar" qin tian Gripes and Goodies 3 03-21-2008 08:10 AM
Which variable stores "Properties -> General ->Flags -> Protected" information? KelvinHo Q&A 1 03-06-2008 06:18 AM
"Getting Started" and "Tutorial" models for v4.01 Cliff King Product Announcements 0 12-10-2007 07:34 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.