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...
Thats all no problem, as long as we get an error
But only throwing an error while compiling/debugrunning without showing
where to find the bug is a BUG
I did not post this to feedback, because realsoftware wants us to
"narrow down the problem" - ha, it is a 20meg-Projekt, so where to
start narrowing down? We cannot tell how to reproduce, we have only one
workaraound: Use 2006r1
- We shortened most methods - did not help
- We eliminated a lot of nested If..End If, produces ugly
"linenumberbasic-style" code, but does not help at all
- We startet reducing the number of methods per class
BUT: We have no time for this any more, we have to design our project,
our customers are waiting
Hey REALsoftware, whats the limit? What are the limits in general?
Size? Number of Methods,, CLasses, Methods per Class etc.
We also need more information!
Is REALbasic the wrong approach for a big project? Is it only designed
for small tools?
So please: it is okay, if there is a bug, but don't let us wait three
month to get this one fixed!
Am 12.04.2006 um 15:39 schrieb Tehenne:
Hello,
After several hours, I localized the cause of the message.
Where is error?
If I compile with these 4 lines (without the target condition), the
message appears.
qurseur=db.SQLSelect("SELECT ... FROM individus WHERE id="+id)
if qurseur<>nil then
...
dateN=trim( left(qurseur.idxfield(5).getString,4) )
if dateN="0000" then dateN=""
#if not targetMacOS
dateM=trim( left(qurseur.idxfield(6).getString,4) )
if dateM="0000" then dateM=""
dates=""
if dateN<>"" or dateM<>"" then dates="("+dateN+"-"+dateM+")"
#endif
...
end
Thank you to every person who could give me a solution.
I clarify that this code works finewith RB 2005Rr as well as with ...
RB 2006r2, in another method !
--
Thierry NAUZE Saint-Denis de la Réunion
Comparatif Import-Export Gedcom : http://perso.wanadoo.fr/cajun/
Logiciel de généalogie ohmiGene : http://www.nauze.com/
_______________________________________________
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>