[fpc-pascal] Re: Errors using Extended Class Syntax

2012-11-24 Thread bsquared
On 11/24/2012 09:06 AM, Jonas Maebe wrote: On 24 Nov 2012, at 17:55, bsquared wrote: I followed the example on the wiki page, but the compiler disallowed both of the following attempts. On which wiki page did you find this code? The code on the wiki does conform to your helpful comments.

Re: [fpc-pascal] "Case of" documentation

2012-11-24 Thread Michael Van Canneyt
On Sat, 24 Nov 2012, Howard Page-Clark wrote: Describing the Case statement The FPLanguageReference.pdf 10.2.2 says: The constants appearing in the various case parts must be known at compile-time, and can be of the following types : enumeration types, Ordinal types (except boolean), and ch

[fpc-pascal] "Case of" documentation

2012-11-24 Thread Howard Page-Clark
Describing the Case statement The FPLanguageReference.pdf 10.2.2 says: The constants appearing in the various case parts must be known at compile-time, and can be of the following types : enumeration types, Ordinal types (except boolean), and chars. Why the "except boolean"? I find the compil

Re: [fpc-pascal] Errors using Extended Class Syntax

2012-11-24 Thread Jonas Maebe
On 24 Nov 2012, at 17:55, bsquared wrote: > I followed the example on the wiki page, but the compiler disallowed both of > the following attempts. On which wiki page did you find this code? > {$mode objfpc}{$H+} > > TExample1 = class > private > const >CN_CONST = 'EXAMPLE CONSTANT'; > pu

[fpc-pascal] Errors using Extended Class Syntax

2012-11-24 Thread bsquared
Hello, I followed the example on the wiki page, but the compiler disallowed both of the following attempts. {$mode objfpc}{$H+} TExample1 = class private const CN_CONST = 'EXAMPLE CONSTANT'; published property Example: string read CN_CONST; end; Error: Unknown class field or meth

Re: [fpc-pascal] Fwd: [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread luciano de souza
I am really enthusiastic on RSS readers. I don't like to be searching hours for some feature in the web. The more complete is Freepascal, the more I like it. So my vote is to include Eazy RSS as a standard package. It's really well useful and well implemented. 2012/11/24, silvioprog : > Hello, > >

[fpc-pascal] Fwd: [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread silvioprog
Hello, This topic has started in FPC-Devel, but I regard more people wile can be interested. Is EazyRSS useful for anyone? Should it be included in the standard units of Free Pascal since the web development has been a trend? -- Forwarded message -- From: silvioprog Date: 2012/11

Re: [fpc-pascal] A simple HTTP request with FPC standard units

2012-11-24 Thread silvioprog
2012/11/24 Luciano de Souza > ** > Unfortunately, I don't have enough knowledlge even to start a task like > that. But observing the firm journey of Freepascal, I am sure we will have > it soon. > Em 24-11-2012 06:52, Michael Van Canneyt escreveu: > > On Fri, 23 Nov 2012, luciano de souza wrote:

Re: [fpc-pascal] A simple HTTP request with FPC standard units

2012-11-24 Thread Luciano de Souza
Unfortunately, I don't have enough knowledlge even to start a task like that. But observing the firm journey of Freepascal, I am sure we will have it soon. Em 24-11-2012 06:52, Michael Van Canneyt escreveu: On Fri, 23 Nov 2012, luciano de souza wrote: Among its hundreds of units, the Freep

Re: [fpc-pascal] A simple HTTP request with FPC standard units

2012-11-24 Thread Michael Van Canneyt
On Fri, 23 Nov 2012, luciano de souza wrote: Among its hundreds of units, the Freepascal always keeps surprises for us. FPHTTPClient was a pleasant surprise. The talk has followed freely and perhaps my question has been skipped: is there Freepascal native routines to deal with SMTP protocol? I