5
« on: December 16, 2022, 02:50:16 PM »
Thanks for all the info.
If the second code was work for you, it is easy to shorten all you codes without an math or regec or what ever.
The only thing you have to do - take a look where is the large number is and cut it out to the last number before the next similar large number starts (include thecomma at the end).
example:
123,41,121,41,120,122,41,41,120,122,41,41,120,122,41,121,41,41,121,42,120,42,120,43,119,43,120,123,40,42,120,43,120,42,1201,57,106,53,110,128,36,125,38,124,39,123,40,122,41,41,121,42,120,43,119,123,40,42,120,122,41,42,120,122,41,121,42,41,121,42,120,42,120,42,120,43,119,123,40,42,120,42,120,42,1201,56,107,53,110,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,42,120,122,41,41,120,122,41,121,42,41,121,41,121,42,120,42,120,42,120,122,41,42,120,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,122,40,122,41,41,121,42,120,42,120,122,41,41,120,122,41,41,121,122,41,121,42,40,121,41,121,42,120,42,120,42,120,122,41,41,120,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,123,40,122,41,41,121,42,120,42,120,122,41,42,120,122,41,41,121,121,41,121,42,41,121,41,121,42,120,42,120,42,120,122,41,41,121,42,120,42,1201,56,107,52,111,128,36,125,38,124,39,122,40,122,41,41,121,42,120,42,120,122,41,41,121,122,41,41,121,121,41,121,42,40,121,41,121,42,121,42,120,42,120,122,41,41,121,42,121,42,1201,56,107,52,111,128,36,125,38,124,39,123,40,122,41,41,
This is your posted raw code and you can see the correct sequence ist starting at green and repeatedly continuous - the red marked is the code is not needed.
Kalle