If you want to avoid "Out of memory errors" later.........

by Clippy (Login burger2227)
R

 

You should use "real" SUB routines. Look in the Edit Menu and make up a name. You can pass values to them or DIM SHARED all of the variables used in each. QB will make the DECLARE statement once a SUB is called and you save the module. Paste your module sub code into the new SUB screen. The View Menu lists your QB made Subs.

SUB calls leave the main module and use their own memory until exited. I have been able to create BAS modules over 170K. They will not compile however. Most I ever got to compile was a BAS module size of 100K.

If you need help, post back.

Ted

Posted on Jan 26, 2009, 1:33 PM

Respond to this message   

Goto Forum Home

Response TitleAuthor and Date
yes, i have tons of subsmike on Jan 26
 * Just use DIM SHARED if you want. COMMON SHARED is for linked modules.Clippy on Jan 26

 Copyright © 1999-2014 Network54. All rights reserved.   Terms of Use   Privacy Statement