I found that the documentation of the rtl (objects unit) contains a small error in the Synopsis of the NewStr function.
It says: "Synopsis: Allocate a copy of a SHORTSTRING on the heap." I think you should replace the word SHORTSTRING by STRING. Leonardo M. Ramé http://leonardorame.blogspot.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal