Re: [fpc-pascal] Migrate mantis bugtracker

2014-07-31 Thread Saunders, Rich
On 2014-07-31 12:48, Michael Van Canneyt wrote: I created a FPC program to migrate a mantis bugtracker database from MySQL to Postgres. If someone has interest in such a program : let me know, and I'll send you the sources. I'm interested! I'd love to see your approach because I may have to d

Re: [fpc-pascal] SetLength procedure

2014-07-27 Thread Saunders, Rich
On 2014-07-27 13:28, Andreas Berger wrote: I have noticed quit often here that instead of answering the question people try to reason why in the world the author of the question would even want to do this. I agree that this is an annoying pattern on this list. I would suggest everyone at least

Re: [fpc-pascal] Thread Safety of String

2014-06-04 Thread Saunders, Rich
On 2014-06-04 14:42, m...@rpzdesign.com wrote: For anybody who has followed this thread, there is some disagreement over the thread safety of shortstrings. And in this case, a shortstring with a clearly defined maximum length. Some have clearly said string[30] is NOT thread safe. Rich indica

Re: [fpc-pascal] Thread Safety of String

2014-06-04 Thread Saunders, Rich
On 2014-06-04 13:22, m...@rpzdesign.com wrote: I guess what I was really asking is: Is there a way to treat an array of chars as a string. I like the string handling patterns of freepascal but I want the memory stability of a static array of chars so I can be used in multi-thread operations wit

Re: [fpc-pascal] Ping problems - OS/X

2014-05-21 Thread Saunders, Rich
On 2014-05-21 15:44, Peter Brooks wrote: I took AStringList.Add() to mean that it added the string to the list of strings - I was wrong.. How were you wrong about that? That's exactly what it does. Looks to me you were wrong about LoadFromStream. -- Cheers! Rich Saunders

Re: [fpc-pascal] High() and Low() for empty dynamic arrays

2014-02-09 Thread Saunders, Rich
On 2014-02-09 04:11, Jürgen Hestermann wrote: Am 2014-02-08 19:53, schrieb Florian Klämpfl: You didn't have only a question but you made also a proposal for a language change. And when proposing a change it is very usefull to have an example which demonstrates the reason for the change. [sni

Re: [fpc-pascal] Very odd case parsing problem

2013-12-29 Thread Saunders, Rich
On 2013-12-28 15:47, Mark Morgan Lloyd wrote: I can fix that either by putting a semicolon before the else- which I believe is strictly incorrect- or by putting begin/end around that conditional, or by inserting a dummy statement before the else like quit_: if High(lexemeListArray) =