Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Implemented: Cocktail Sort

Author
Message
anwserman
12
Years of Service
User Offline
Joined: 20th May 2011
Location: Wisconsin
Posted: 10th Jan 2012 19:36 Edited at: 10th Jan 2012 19:40
Hey everyone,
I made a demo of the "Cocktail Sort". I have attached the project, as well as included the source code here.

Figure it might help individuals who need to figure out how to do sorting on User-Defined Types in AppGameKit (also Dark Basic too!)

To run, copy-paste this entire code into the "main.agc" file of a new blank project. This code, as is, sorts the X and Y fields of the generic type - the X is the primary sorting field whereas the Y is secondary.



Hi there. My name is Dug. I have just met you, and I love you.

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-04-24 05:45:10
Your offset time is: 2024-04-24 05:45:10