Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread Vinzent Hoefler
On Tuesday 22 January 2008 21:36, Marco van de Voort wrote: > > > type tmyopaguetype = type pointer; > > > > > > Since the interface must 100% define the interface so that it can > > > be used, which is a hard rule with Pascal and Modula2. > > > > Hmm, what if > > > > --- 8< --- > > > > interface

[fpc-pascal] Re: [ann] AggPas 2.4 RM3 update

2008-01-22 Thread Milan Marusinec
For those PASCAL users, who doesn't have a clue about which C/C++ programmers I am talking about in the rest of my announcement, I must admit that I have made a mistake in the content of the message (which was originally addressed to other discussion group). Again, sorry. It's 2.00 am here and I

[fpc-pascal] [ann] AggPas 2.4 RM3 update

2008-01-22 Thread Milan Marusinec
Dear Ladies & Gentleman, I am proud to announce I have just released a new version of AggPas, the Object Pascal port of the wonderful AGG. http://www.aggpas.org A New version of AggPas 2.4 Release Milano 3 is now capable of doing same things it's master library in C/C++ does. On top of that,

[fpc-pascal] Populate the Format function

2008-01-22 Thread Joao Morais
Hello, I need to send an unknown amount of elements to the Format function (actually objects within a tlist decendant). I apparently cannot create a dynamic array of const, is there another way that I am missing? Currently I am parsing the Fmt param. Thanks. -- Joao Morais

Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread Tony Pelton
On Jan 21, 2008 12:05 PM, John Stoneham <[EMAIL PROTECTED]> wrote: > On Jan 21, 2008 1:05 AM, Vinzent Hoefler <[EMAIL PROTECTED]> wrote: > > On Friday 18 January 2008 20:12, John Stoneham wrote: > > Perhaps that's true with regard to name resolution, but Ada's package > system has a significant fea

Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread Marco van de Voort
> > type tmyopaguetype = type pointer; > > > > Since the interface must 100% define the interface so that it can be > > used, which is a hard rule with Pascal and Modula2. > > > Hmm, what if > > --- 8< --- > > interface > > type >tMyOpaqueType; // Incomplete. > > private > > type >/

Re: [fpc-pascal] Heterogenous list of objects

2008-01-22 Thread Damien Gerard
On Jan 22, 2008, at 6:23 PM, [EMAIL PROTECTED] wrote: Hi all, thanks for your kind and fast answer. Effectively, TObjectList is what I need. Thanks to Damien, I understand a bit better how it works. But in my case I believe that I need to use some kind of TList of TObjectList. So is it

Re: Re: [fpc-pascal] Heterogenous list of objects

2008-01-22 Thread g . marcou
Hi all, thanks for your kind and fast answer. Effectively, TObjectList is what I need. Thanks to Damien, I understand a bit better how it works. But in my case I believe that I need to use some kind of TList of TObjectList. So is it possible to build a class that will have TObjecList mem

Re: [fpc-pascal] FreePascal Coding style

2008-01-22 Thread Vinzent Hoefler
On Tuesday 22 January 2008 15:18, mm wrote: > Vinzent Hoefler a écrit : > > 2) If I put the tabstop "typographically correct" as it should be > > (that means: right before the parentheses)[1], > > [...] > > > > [1] In normal text( you don't write parentheses like that ), do > > you? > > And what ab

Re: [fpc-pascal] FreePascal Coding style

2008-01-22 Thread mm
Vinzent Hoefler a écrit : 2) If I put the tabstop "typographically correct" as it should be (that means: right before the parentheses)[1], [...] [1] In normal text( you don't write parentheses like that ), do you? And what about math functions? Is "f (x)" more typographically correct than "f(

Re: [fpc-pascal] FreePascal Coding style

2008-01-22 Thread Mattias Gärtner
Zitat von Vinzent Hoefler <[EMAIL PROTECTED]>: > On Monday 21 January 2008 13:54, Marco van de Voort wrote: > > > On Monday 21 January 2008 11:59, Marco van de Voort wrote: > > > > > > > Nor does an editor. It can only help. I also think being to focussed > > on coding standards (to the point of e

Re: [fpc-pascal] Heterogenous list of objects

2008-01-22 Thread Michael Van Canneyt
On Tue, 22 Jan 2008, [EMAIL PROTECTED] wrote: > Hi, > > I'd like to manage a list of heterogenous objects. For instance, I have a list > of objects to buy in store: cheeses (of class TCheese), soaps (of class > TSoap), flowers (of class TFlower), etc... > > I thought to gather pointers to diff

Re: [fpc-pascal] Heterogenous list of objects

2008-01-22 Thread Damien Gerard
On Jan 22, 2008, at 11:22 AM, [EMAIL PROTECTED] wrote: Hi, I'd like to manage a list of heterogenous objects. For instance, I have a list of objects to buy in store: cheeses (of class TCheese), soaps (of class TSoap), flowers (of class TFlower), etc... I thought to gather pointers to dif

Re: [fpc-pascal] Re: beginner in pascal for Mac

2008-01-22 Thread Jonas Maebe
On 22 Jan 2008, at 11:06, Ezequiel Tacsir wrote: I am a beginner in Pascal on Mac. I would like to know where my things are after being build and run. How are you building and running them? Jonas ___ fpc-pascal maillist - fpc-pascal@lists.free

[fpc-pascal] Re: beginner in pascal for Mac

2008-01-22 Thread Ezequiel Tacsir
I am a beginner in Pascal on Mac. I would like to know where my things are after being build and run. Also, since I have never use the console/terminal I would like to get some advice to know how to start with it (speacially since I simply want to be able to export some results made from teh pascal

Re: [fpc-pascal] FreePascal Coding style

2008-01-22 Thread zaher dirkey
On Jan 21, 2008 10:15 AM, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > No, there isn't. I follow Borland coding style, but some others don't. > You cannot force everyone to use the same style. And you should not. > > Michael. I use Borland style also, but for Tabs i like to convert tabs

[fpc-pascal] Heterogenous list of objects

2008-01-22 Thread g . marcou
Hi, I'd like to manage a list of heterogenous objects. For instance, I have a list of objects to buy in store: cheeses (of class TCheese), soaps (of class TSoap), flowers (of class TFlower), etc... I thought to gather pointers to different objects of these classes in a TList. But, when it

Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread John Stoneham
On Jan 22, 2008 2:48 AM, Marco van de Voort <[EMAIL PROTECTED]> wrote: > [snip] > ... an import of complexnumbers in one place might suddenly react > differently due to the partial module/classhelper) Then you misunderstand the concept. While it's true that child packages are similar to nested pac

Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread Vinzent Hoefler
On Tuesday 22 January 2008 09:48, Marco van de Voort wrote: > Maybe. Keep in mind that opague is roughly comparable with > > type tmyopaguetype = type pointer; > > Since the interface must 100% define the interface so that it can be > used, which is a hard rule with Pascal and Modula2. Hmm, what

Re: [fpc-pascal] child units (was: dot within unit file name)

2008-01-22 Thread Marco van de Voort
> On Monday 21 January 2008 18:45, Marco van de Voort wrote: > > I have missed opague types and forcedly qualified importing (from > > M2) > > Well, I miss them too. As I'll show you in a moment that they even go > hand in hand with child packages. > > M2 doesn't have the nested module "put i