Gorkfu wrote: : How would I create a cap to put on the counter, so it doesn't go : higher than 250? Thanks
Can you update us n the code you are using now and how (or why) you would want to add a cap? Two possibilities come to mind. Create an object that checks itself as it changes or just check the value after each increment. I tend to lean toward objects, but they tend to take more time to write. Knowing the context of the limitation (or cap) would help a lot. HTH, Charles K. Clarkson -- Mobile Homes Specialist Free Market Advocate Web Programmer 254 968-8328 http://www.clarksonenergyhomes.com/wordpress/about/