Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

when has my script hundreds lines code !

when one event has been written hundreds' code in pb ,
error occur "fatal error, external overflow ,too large script " without any compile error,and i can not save
to disk ,what' up?
i am very vexatious.please help me !  
0
feckless
Asked:
feckless
  • 2
1 Solution
 
shankoCommented:
The script is too large, just as it says in the error message. Try copying the script into a text file (as a backup) and then try breaking down the script into smaller modules by using functions.
0
 
fecklessAuthor Commented:
i have solved this problem by chance .
now ,i still have not got to know why the error
vanished,for i had not used the functions and
the script still is long ,i am baffled as before .
anyway thank you all
0
 
shankoCommented:
Long time ago when I had this problem (in PB 3.x) I had found out a limit on the number of lines the editor could handle. Just by deleting a few characters (even in the comment lines) I was able to get the error go away.

What ever you may have done may have reduced the number of characters in the script. One easy way to test that is add a few comment lines at the top and see if the problem reappears. You can then mess around till you find the exact threshold, if interested.

But before you do that: backup, backup backup !

Have fun.
0
 
SpideyModCommented:
Force Accepted

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now