03-10-2016 09:34 AM
Hi,
I need help with a program. I have attached what I am trying to do here.There are 2 cases init and add. I have enter a string value in the string i/p or string control and click add, it goes to add case where the entered string value goes into the string indicator or output. Now what I am trying to do is if i dont enter any value and I clicked on add, then a preset string constant must go into the output. This is what I am trying to accomplish. The reason why I am doing this is I have done a similar thing as part of another program with 2 cases init and add. But there instead of 1 string i/p there are many i/ps and creating an array output. But the problem is everytime I have to enter every value and press add. I wanted to do it in a way that I enter 1 of the string values and the remaining ones it reads from the constant, Please help me how to do this, by helping me with the below attached program with 1 string control, 1 string indicator and 1 string constant. Thanking You in advance.
Solved! Go to Solution.
03-10-2016 09:49 AM - edited 03-10-2016 09:51 AM
Like this?
As for the second part of your message, it is unclear what you are talking about with respect to arrays and multiple inputs.
03-10-2016 10:08 AM
Or, use Empty String/Path? in place of String Length and =0?
Lynn
03-10-2016 10:39 AM
Thank You very much Johnsold and Ravensfan. The second part is how I can implement this in the main program and I did that and it is working perfectly fine. So thank you very much.