Netlinx Quick Sort String/Struct Example

joelwjoelw Junior MemberPosts: 175
This is a Netlinx Quick Sort example that adds command text to global array of structures, and sorts it using an optimized quick sort algorithm.

http://www.indyelectronics.com/QSort.AMX.Example.zip

Be sure to issue "msg on" at telnet prompt to see example output.

Example string to send via Telnet console could be: send c vdvSort,'Hello World'

This will add string, sort list, then display list.

Comments

  • a_riot42a_riot42 AMX Wizard Posts: 1,619
    joelw wrote:
    This is a Netlinx Quick Sort example that adds command text to global array of structures, and sorts it using an optimized quick sort algorithm.

    http://www.indyelectronics.com/QSort.AMX.Example.zip

    Be sure to issue "msg on" at telnet prompt to see example output.

    Example string to send via Telnet console could be: send c vdvSort,'Hello World'

    This will add string, sort list, then display list.

    Is this free to use? At the top of the file it has copyright info that states it can't be.
    Thanks,
    Paul
Sign In or Register to comment.