At the moment, I don't see how we could do this.

I almost knew nothing about the compiler and the sources, but this problem forces me to look at the FPC compiler source and I found TextRecBufSize constant declaration within textrec.inc file on FPC's src/rtl/inc folder. Here is the declaration...

-----
const
  TextRecNameLength = 256;
  TextRecBufSize    = 256;
type
  TLineEndStr = string [3];
  TextBuf = array[0..TextRecBufSize-1] of char;
-----

So, is it possible to do such a thing?

-----
const
  TextRecNameLength = 256;

{IFDEF FPC_TP}
  TextRecBufSize    = 256;
{ELSE}
  TextRecBufSize    = 4 * 1024;
{ENDIF}
-----

-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to