10-06-2005 08:09 AM
10-06-2005 08:34 AM
Hi
I'm really happy about this new function.
As Shane said, if something should be selectable the "good old" case structure is the way to go. In most applications I write, I dynamically read the type of environment (run-time or LV-IDE). Depending on the result, I execute some code or I do not.
Thomas
10-06-2005 08:49 AM
10-06-2005 09:05 AM
This toggling you mention is exactly what I meant before. You can also decide to activate code by reading a configuration file or, as I do it, if the app is started in the IDE I bring up a message box to select if some vi should be executed or not. So in a textual language my code would look like this:
if(app.kind == development){
if(messagebox == execute){
}
}
10-06-2005 09:05 AM - edited 10-06-2005 09:05 AM
Message Edited by becktho on 10-06-2005 04:06 PM
10-06-2005 09:05 AM
This toggling you mention is exactly what I meant before. You can also decide to activate code by reading a configuration file or, as I do it, if the app is started in the IDE I bring up a message box to select if some vi should be executed or not. So in a textual language my code would look like this:
if(app.kind == development){
if(messagebox == execute){
}
}
10-06-2005 09:05 AM - edited 10-06-2005 09:05 AM
This toggling you mention is exactly what I meant before. You can also decide to activate code by reading a configuration file or, as I do it, if the app is started in the IDE I bring up a message box to select if some vi should be executed or not. So in a textual language my code would look like this:
if(app.kind == development){
if(messagebox == execute){
run vis
}
}
Message Edited by becktho on 10-06-2005 04:06 PM
10-06-2005 09:10 AM
wow - there's something strange going on.
just wanted to submit a message and out of a sudden there are four...
very strange....
10-06-2005 09:37 AM
10-06-2005 09:44 AM