How do you determine if a series of ordered numbers is in sequential order?
Balvamar
Member, PRO Posts: 117
I have a table that I have bubble sorted, and now I want to determine if the are in sequential order. The project is a poker game, and I want to determine if the player has made a straight. Any help much appreciated. Cheers
Comments
What I did in my poker template was pretty simple. If number1=number2+1 and number2=number3+1 and number 3=number4+1 and number4=number5+1.
This was before all the string functions, though.
Contact me for custom work - Expert GS developer with 15 years of GS experience - Skype: armelline.support