Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Too large to compile ?

Status
Not open for further replies.

prodtest

Technical User
Aug 29, 2003
55
GB
Help.
I have written a script for automatically testing a product we build. Unfortunantley after hours writing the script. When I tried compiling it I get this error appear.
Is there anyway of increasing the size you can compile ?


FULL SUITE.WAS:
Error C505 Line 4155: Procedure too large to compile: MAIN

Cheers
 
I've never run into that error message as far as I can recall. I assume you are using version 4.8, is that correct? If so, here are a couple things to try:

1. Add /O (that's the letter oh not a zero) to the compiler options. To do this, select the Tools | Compiler Options menu item in the ASPECT Editor and add /O to the Additional Options and Macro Definitions (saved) edit field.
2. If that doesn't work, try adding /F as well.
3. Try making some of the variables in main globals by declaring them before the proc main statement, or break your main procedure into several smaller procedures that can be called by main.


aspect@aspectscripting.com
 
Thanks for your help.
I sorted it out lastnight by seperating the script into several smaller ones and using the call command.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top