If you've ever needed to sort tables in PAC Control—string, float, or integer tables—here are 4 new helpful subroutines contributed by forum member Philip in Code Samples and Tips.
Philip developed these subs for faster table sorting using "an iterative implementation derived from Robert Sedgewick and Jon Bentley's 3-way partition quick-sort algorithm." And in addition to their speed, the subroutines have little impact on memory.
The subs will work for PAC Control Basic R9.3 and higher.
Check out other samples or ask and answer questions on all kinds of Opto 22 products in the OptoForum.
See the Faster table sorting thread and download Philip's sample subs now.