06-23-2014 04:48 AM
No I never read any such examples. I tried as you suggested but didnt suceeded
06-23-2014 04:54 AM
This is what you are missing.
06-23-2014 03:13 PM
Ranjeet,
You've been around the forums long enough that you should've have seen build array and shift registers enough times to have been able to figure this out.
06-23-2014 06:03 PM - edited 06-23-2014 06:11 PM
You don't really need to format the number every iteration, only when it is actually needed. Since we now have a case structure, we can also eliminate the select node. Here's a quick draft.
(Note that this requires the input array to be sorted as you said. If it is not, simply insert a "sort array" in the right place i.e. before the first wire branch of the input array.)
If all array elements are guaranteed to be single character strings, there is an even simpler solution... try it. 😉