optional keyword with for sortarray()

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
User avatar
blueznl
PureBasic Expert
PureBasic Expert
Posts: 6166
Joined: Sat May 17, 2003 11:31 am
Contact:

optional keyword with for sortarray()

Post by blueznl »

very useful: multiple arrays sorted at once:

sortarray() normally sorts one array

sortarray(x1()) with x2(), x3(), x4() would sort the arrays x2() x3() and x4() based on the sequence in x1()

alternative syntax:

multisort(x1(),,,x2(),x3(),x4())

or something along those lines...
( PB6.00 LTS Win11 x64 Asrock AB350 Pro4 Ryzen 5 3600 32GB GTX1060 6GB)
( The path to enlightenment and the PureBasic Survival Guide right here... )