txturbo Posted January 17, 2019 Share Posted January 17, 2019 Is it possible to use an inline if to enter one of two possible values within a variable value component action? So for example I have a variable value component that I use an inline if to select display of one of two values. I would like to be able to use the action side to enter the value as the same variable selected in the inline if statement used within the main expression. I tried to use the set to selection and enter the iff in the action channel but it's not writing the expected result. Can I write a sequence that will take the output of the popup box and use the quick sequence action? Sort of like using the value part of a conversion? Link to comment Share on other sites More sharing options...
AzeoTech Posted January 17, 2019 Share Posted January 17, 2019 I'm not quite sure what you are doing, but as an alternative to the Set To action you can use a quick sequence and the system.EntryDialog() function. Something like: private datain = system.EntryDialog("Enter some data:", minVal, maxVal) if (!isempty(datain)) outputVar = datain endif minVal and maxVal are optional. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.