Thread: exceeding the amount of max lines in borland...

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    106

    exceeding the amount of max lines in borland...

    i remember some time ago someone asking this same question. in my program ive hit the max number of lines borland will let me have in my program (im using borland 5.02). i was wondering if anyone knew how to bypass this problem? thanks a lot to any help in advance, and let me know if you need anymore specifics.
    thanks!

  2. #2
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    hmm... maybe per source file there might be a limit, but how about seperating your project in to various headers or even modules. maybe there is some setting in bc5.02 that you can check out. i've heard this question before, but don't recall the answer, nor any explaination as to why such a limit would exist. [personally when i was using borland (4.5) i never ran into that problem, but my programs were <1000 lines at the time, and now that i'm using DJGPP with multiple thousand lines in my program i still don't get any problems at all...] this is a good question...

    hth
    hasafraggin shizigishin oppashigger...

  3. #3
    "The Oldest Member Here" Xterria's Avatar
    Join Date
    Sep 2001
    Location
    Buffalo, NY
    Posts
    1,039
    is it the table limit or line?

  4. #4
    Registered User
    Join Date
    Aug 2001
    Posts
    106
    table, i believe. i'm not sure becuse i'm not currently at my computer. i managed to optimize a bit of my code so i've got a few hundred more lines to work with before i hit the limit again.
    thanks

  5. #5
    Linguistic Engineer... doubleanti's Avatar
    Join Date
    Aug 2001
    Location
    CA
    Posts
    2,459
    Also, depending on your platform [if it's 16-bit] you might have exceeded the code segment [64 K], so if that applies, you might want to change the memory module to large or huge.
    hasafraggin shizigishin oppashigger...

  6. #6
    Registered User samGwilliam's Avatar
    Join Date
    Feb 2002
    Location
    Newport
    Posts
    382
    Or if you use dynamic allocation, use far pointers for some of the non time-critical data.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Line Counting
    By 00Sven in forum C Programming
    Replies: 26
    Last Post: 04-02-2006, 08:59 PM
  2. More Windows Trouble
    By samGwilliam in forum Windows Programming
    Replies: 9
    Last Post: 04-12-2005, 10:02 AM
  3. Game of life
    By JoshR in forum C++ Programming
    Replies: 30
    Last Post: 04-03-2005, 02:17 PM
  4. I need some help debugging homework.
    By sillyrabbit in forum C Programming
    Replies: 7
    Last Post: 03-15-2004, 01:47 AM
  5. Contest Results - May 27, 2002
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 18
    Last Post: 06-18-2002, 01:27 PM