HA, just narrowed it down because of your information and build a test app reproducing the error!
Will now attach it to the feedback

MANY MANY THANX!!!

Am 20.04.2006 um 14:17 schrieb Andre Tracksdorf:


Hi Carsten,

We have the same problem with a 20meg-Project
We tried to narrow down the problem, so we build a very ugly test-method:

- a method with 2700 lines works and compiles fine
- a method having 2760 lines yelds an error "method too long"
- a method having 2700 lines between while..wend, do..loop, if..elseif..else..end if works fine - same method using for..next or select case says "method too long" or method is 47k in size...

i found today the cause of this problem in our project:
It was not a too long method or line continuations in source code, but a nested if-statement as follows:

  for each...
    if (...) then
      if (...) then
        select case ...
        case ...

        case ...

        case ...

        case ...
          if (...) then   <<<< THIS BLOCK CAUSES THE ASSERTION 1815

          end if
        end select
      end if
    end if
  next


The entire method has 123 lines. After 'outsourcing' the mentioned if-block in a extenal method the problem was solved!
Perhaps helps you...

--
André

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to