Re: [fpc-pascal] with statement using mulltiple objects

2014-09-15 Thread johanns
On Sun, Sep 14, 2014 at 02:30:01PM +0200, Marco van de Voort wrote: In our previous episode, J?rgen Hestermann said: - d:=TreeRoot.SubDirs[Low(TreeRoot.SubDirs)]; // local var d d^.DirLogged := true; d^.DirHatFocus

[fpc-pascal] Find/open files in search paths - Exuberant CTags?

2014-07-28 Thread johanns
On Mon, Jul 21, 2014 at 01:15:03AM -0300, Flávio Etrusco wrote: On Sun, Jul 20, 2014 at 7:24 AM, denisgolovan denisgolo...@yandex.ru wrote: Hi all Does anybody know if Lazarus IDE has something similar to View units (Ctrl+F12) tool, but searching in all search paths defined in project

[fpc-pascal] OT: Listing fpc options Was: Using a custom fpc.cfg

2014-07-08 Thread johanns
On Tue, Jul 08, 2014 at 01:21:07PM +0200, Tomas Hajny wrote: On Tue, July 8, 2014 12:07, Mark Morgan Lloyd wrote: Tomas Hajny wrote: Incidentally, how does one get a list of fpc's options? I don't mean fpc -h since that actually shows ppcXXX's options, but how does one get minimal info on

Re: [fpc-pascal] replacement of MARK and RELEASE function in free pascal

2014-06-19 Thread johanns
On Thu, Jun 19, 2014 at 03:28:42PM +0200, Sven Barth wrote: On 19.06.2014 13:29, Karoly Balogh (Charlie/SGR) wrote: So either you use mypointer:=GetMem(size); or GetMem(mypointer, size); both are valid. If you need to allocate heap space for a record, use New/Dispose, or GetMem(myptr,

Re: [fpc-pascal] Thread Safety of String

2014-06-04 Thread johanns
On Wed, Jun 04, 2014 at 01:19:33PM -0400, m...@rpzdesign.com wrote: On 6/4/2014 1:16 PM, Michael Van Canneyt wrote: On Wed, 4 Jun 2014, m...@rpzdesign.com wrote: Hello: Is a string[30] declaration under Linux thread safe? No. Michael. Just as I suspected. So every time a new value is

[fpc-pascal] OT Turbo Pascal REAL type WAS: Documentation, syntax diagrams

2014-01-08 Thread johanns
On Wed, Jan 08, 2014 at 09:01:34PM +0100, Sven Barth wrote: On 08.01.2014 19:40, Howard Page-Clark wrote: On 08/01/2014 18:16, Jürgen Hestermann wrote: Today I found this type definition in some FreePascal sources: TypeReal =type Double; I wondered what the second “type” keyword means here

[fpc-pascal] [OT] which editor - Vim and Exuberant Ctags?

2010-01-13 Thread johanns
On Sun, Jan 10, 2010 at 02:44:46PM +0100, Hans-Peter Suter wrote: I'm on a mac and use TextMate currently. As it doesn't jump between declaration and implementation and ist mac-only, I am looking for a replacement. Is Emacs a good choice? Does it work well with FPC? I do my Pascal