String Array - Check for Duplicates and Send Trigger if True
Posted: Tue Mar 30, 2021 1:15 pm
String Array - Check for Duplicates and Send Trigger if True:
Checks for Duplicates in a String Array and if True will send a Trigger to its Output.
I am not certain if the Ruby Code I concocted inside the module is absolutely correct (although it is working as expected).
Therefore I would appreciate it if someone with proper knowledge of Ruby programming would be so kind to check the Ruby code and give me feedback if I am on the right track with the Ruby code.
This was constructed with Flowstone v3.0.8.1 Skylark.
String Array - Check for Duplicates and Send Trigger if True v2 - I made a small alteration to the schematic as this gives better results - Although, at the moment I cannot explain why this gives better results. About the Ruby section of the schematic, I am still not sure if I did it correctly.
For Version 2 I used Flowstone v3.0.6 Pebble.
thank you.
Checks for Duplicates in a String Array and if True will send a Trigger to its Output.
I am not certain if the Ruby Code I concocted inside the module is absolutely correct (although it is working as expected).
Therefore I would appreciate it if someone with proper knowledge of Ruby programming would be so kind to check the Ruby code and give me feedback if I am on the right track with the Ruby code.
This was constructed with Flowstone v3.0.8.1 Skylark.
String Array - Check for Duplicates and Send Trigger if True v2 - I made a small alteration to the schematic as this gives better results - Although, at the moment I cannot explain why this gives better results. About the Ruby section of the schematic, I am still not sure if I did it correctly.
For Version 2 I used Flowstone v3.0.6 Pebble.
thank you.