Posts: 23
Threads: 8
Joined: Feb 2004
What are some of the basic things to do, ie is it my codes are too long or too many variables/arrays/SUBs/ etc.
Instead of bore you with the LONG codes. please give some general suggestions.
Thanks
kc
Posts: 6,419
Threads: 74
Joined: Mar 2002
Reduce number of shared arrays. Use $DYNAMIC. Modularize your code. Be sure that you are not wasting data space.
http://faq.qbasicnews.com/?blast=PushingTheLimitsOfQb
Posts: 3,368
Threads: 195
Joined: Jan 2003
use integers.
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."
Visit www.neobasic.net to see rubbish in all its finest.
Posts: 1,845
Threads: 44
Joined: Aug 2002
Huh?
If you have many 'boolean' variables you can also use one INTEGER to store up to 16 boolean variables, instead of declaring 16 INTEGERs which can only hold 0 or FFFFh. Especially when making arrays of boolean-integers.