Results for "Author: bikeguy"
This code demonstrates how to efficiently randomize an array of user defined type (UDT) items. Basically, you include a "randValue" property in definition of the UDT, and any time you want to randomize the order, set this value to rnd() for each element, and then sort on that property. Pretty useful for a lot of applications. For example, I originally wrote this to randomly and repeatedly select 5-10 items from an array of thousands of members. If you like this, please vote. If you don't like it, don't vote. I hope somebody finds something useful in this. To use: 1 - Click on the "Build UDT Data" button and enter the number of items you wish to create. The listbox on the main form will be populated with the UDT items order alphabetically by last name. 2 - To Randomize the items, click on the "Randomize" button. You can do this over and over. 3 - If you want to re-order the UDT items alphabetically, click on the "Alpha" button.
A new Boxxi game. Select groups of blocks to remove. Based loosely on a game I downloaded on Planet several years ago. The person's name was Dvadi I think. This version uses his blocks, but all of the programming is new and completely commented. This code demonstrates the use of arrays of UDA's, and is just a lot of fun to play. The high score is stored in an ASCII text file in the program directory (no messing with the registry!!!) If you like it, please vote.
This code demonstrates how to efficiently randomize an array of user defined type (UDT) items. Basically, you include a "randValue" property in definition of the UDT, and any time you want to randomize the order, set this value to rnd() for each element, and then sort on that property. Pretty useful for a lot of applications. For example, I originally wrote this to randomly and repeatedly select 5-10 items from an array of thousands of members. If you like this, please vote. If you don't like it, don't vote. I hope somebody finds something useful in this. To use: 1 - Click on the "Build UDT Data" button and enter the number of items you wish to create. The listbox on the main form will be populated with the UDT items order alphabetically by last name. 2 - To Randomize the items, click on the "Randomize" button. You can do this over and over. 3 - If you want to re-order the UDT items alphabetically, click on the "Alpha" button.
A new Boxxi game. Select groups of blocks to remove. Based loosely on a game I downloaded on Planet several years ago. The person's name was Dvadi I think. This version uses his blocks, but all of the programming is new and completely commented. This code demonstrates the use of arrays of UDA's, and is just a lot of fun to play. The high score is stored in an ASCII text file in the program directory (no messing with the registry!!!) If you like it, please vote.
This code demonstrates how to efficiently randomize an array of user defined type (UDT) items. Basically, you include a "randValue" property in definition of the UDT, and any time you want to randomize the order, set this value to rnd() for each element, and then sort on that property. Pretty useful for a lot of applications. For example, I originally wrote this to randomly and repeatedly select 5-10 items from an array of thousands of members. If you like this, please vote. If you don't like it, don't vote. I hope somebody finds something useful in this. To use: 1 - Click on the "Build UDT Data" button and enter the number of items you wish to create. The listbox on the main form will be populated with the UDT items order alphabetically by last name. 2 - To Randomize the items, click on the "Randomize" button. You can do this over and over. 3 - If you want to re-order the UDT items alphabetically, click on the "Alpha" button.
A new Boxxi game. Select groups of blocks to remove. Based loosely on a game I downloaded on Planet several years ago. The person's name was Dvadi I think. This version uses his blocks, but all of the programming is new and completely commented. This code demonstrates the use of arrays of UDA's, and is just a lot of fun to play. The high score is stored in an ASCII text file in the program directory (no messing with the registry!!!) If you like it, please vote.
This code demonstrates how to efficiently randomize an array of user defined type (UDT) items. Basically, you include a "randValue" property in definition of the UDT, and any time you want to randomize the order, set this value to rnd() for each element, and then sort on that property. Pretty useful for a lot of applications. For example, I originally wrote this to randomly and repeatedly select 5-10 items from an array of thousands of members. If you like this, please vote. If you don't like it, don't vote. I hope somebody finds something useful in this. To use: 1 - Click on the "Build UDT Data" button and enter the number of items you wish to create. The listbox on the main form will be populated with the UDT items order alphabetically by last name. 2 - To Randomize the items, click on the "Randomize" button. You can do this over and over. 3 - If you want to re-order the UDT items alphabetically, click on the "Alpha" button.
A new Boxxi game. Select groups of blocks to remove. Based loosely on a game I downloaded on Planet several years ago. The person's name was Dvadi I think. This version uses his blocks, but all of the programming is new and completely commented. This code demonstrates the use of arrays of UDA's, and is just a lot of fun to play. The high score is stored in an ASCII text file in the program directory (no messing with the registry!!!) If you like it, please vote.
This code demonstrates how to efficiently randomize an array of user defined type (UDT) items. Basically, you include a "randValue" property in definition of the UDT, and any time you want to randomize the order, set this value to rnd() for each element, and then sort on that property. Pretty useful for a lot of applications. For example, I originally wrote this to randomly and repeatedly select 5-10 items from an array of thousands of members. If you like this, please vote. If you don't like it, don't vote. I hope somebody finds something useful in this. To use: 1 - Click on the "Build UDT Data" button and enter the number of items you wish to create. The listbox on the main form will be populated with the UDT items order alphabetically by last name. 2 - To Randomize the items, click on the "Randomize" button. You can do this over and over. 3 - If you want to re-order the UDT items alphabetically, click on the "Alpha" button.
A new Boxxi game. Select groups of blocks to remove. Based loosely on a game I downloaded on Planet several years ago. The person's name was Dvadi I think. This version uses his blocks, but all of the programming is new and completely commented. This code demonstrates the use of arrays of UDA's, and is just a lot of fun to play. The high score is stored in an ASCII text file in the program directory (no messing with the registry!!!) If you like it, please vote.