Re: [fpc-pascal]exceptions

2003-05-30 Thread Adam Naumowicz
Jonas, Thanks for your response. On Fri, 30 May 2003, Jonas Maebe wrote: > > On vrijdag, mei 30, 2003, at 12:47 Europe/Brussels, Adam Naumowicz > wrote: > > > I found it a bit surprising that byte-variable overflow does not raise > > EIntException... > > I'm using FPC 1.0.6 (with -Co on the comm

Re: [fpc-pascal]exceptions

2003-05-30 Thread Jonas Maebe
On vrijdag, mei 30, 2003, at 12:47 Europe/Brussels, Adam Naumowicz wrote: I found it a bit surprising that byte-variable overflow does not raise EIntException... I'm using FPC 1.0.6 (with -Co on the command line). Also use -Cr. An overflow and a range check are semantically exactly the same (you

[fpc-pascal]exceptions

2003-05-30 Thread Adam Naumowicz
Hi, Where can I find detailed information about all the predefined Exception classes and their semantics? I found it a bit surprising that byte-variable overflow does not raise EIntException... I'm using FPC 1.0.6 (with -Co on the command line). Best regards, Adam Naumowicz =

[fpc-pascal]Dynamic Arrays of objects

2003-05-30 Thread jordi
Thanks for the answers, I have some troubles with the mail provider, I can send but I cannot receive mail and with the webmail i cannot get some mail bodies, so, I'll try to read it tomorrow. Thanks. -- jordi <[EMAIL PROTECTED]> ___ fpc-pascal maill

Re: [fpc-pascal]Dynamic array of objects

2003-05-30 Thread memsom
> Hi, I need something like a dynamic array of objects, > easy to manipulate each object and field. Is TStream > and TCollection what I need, or maybe TList is enough, > maybe another Type? Jordi, the unit called 'contnrs' has a TObjectList class. I would advocate it's use. The main reason is th

Re: [fpc-pascal]Dynamic array of objects

2003-05-30 Thread Michael Van Canneyt
On 30 May 2003, jordi wrote: > Hi, I need something like a dynamic array of objects, > easy to manipulate each object and field. Is TStream > and TCollection what I need, or maybe TList is enough, > maybe another Type? TCollection may be your best option. Michael. ___

[fpc-pascal]Dynamic array of objects

2003-05-30 Thread jordi
Hi, I need something like a dynamic array of objects, easy to manipulate each object and field. Is TStream and TCollection what I need, or maybe TList is enough, maybe another Type? Thanks. -- jordi <[EMAIL PROTECTED]> ___ fpc-pascal maillist - [EM

[fpc-pascal]Warning: TStrings.IndexOf() behaviour changed.

2003-05-30 Thread Michael . VanCanneyt
Hi, A warning: For those using the Classes unit from the FCL. There has been a relatively important change in the behaviour of the TStrings class. The IndexOf() method is from now on case insensitive, as is it in Delphi. Till now it was case sensitive. The IndexOfName() method has been case insen