[Lazarus] LongString does not work?

Xiangrong Fang xrfang at gmail.com
Sun Mar 3 09:35:22 CET 2013


Hi All,

This does not work:

  TConfiguration = record
    DataFolder: string[MaxPathLen];
  end

Error: string length must be a value from 1 to 255

I already have this on the top of my uinit file: {$mode
objfpc}{$H+}{$LONGSTRINGS ON}

Working with Lazarus 1.0.6/FPC2.6.0 on Linux 3.5/x86_64

Any hint please? Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130303/69f19f3a/attachment-0002.html>


More information about the Lazarus mailing list