Oops, sorry, tag on nabble platform cutted my code. :S
On Fri, Dec 12, 2014 at 11:46 PM, silvioprog wrote:
>
> But if you want speed in your conversion, GetEnumName is more fast than
> WriteStr. :3
uses
typinfo;
type
tenum = (e1, e2, e3);
procedure TForm1.Button1Click(Sender: TObject);
c
But if you want speed in your conversion, GetEnumName is more fast than
WriteStr. :3
Result:
00:00:04:336 - 00:00:01:407
--
View this message in context:
http://free-pascal-general.1045716.n5.nabble.com/How-can-you-convert-an-enum-value-to-string-tp2821227p5720613.html
Sent from the Free Pa
Am 12.12.2014 18:44 schrieb "silvioprog" :
>
> Hello,
>
> I need to restrict a generic type to accept specialization only of enum
types. In Delphi, I can do that using "T: record", but, when I try to use
it in FPC (even using mode delphi), I got:
>
> project1.lpr(16,42) Error: Record type expected
On Fri, Dec 12, 2014 at 10:14 AM, silvioprog wrote:
> On Fri, Nov 14, 2014 at 11:18 AM, Fabrício Srdic
> wrote:
>>
>> Hello,
>>
>> What's the current status of the Brook Server Pages project?
>>
>> What's the recommended template engine to use with Brook Framework?
>>
>> Best regards
>
> Hello,
>
On Fri, Nov 14, 2014 at 11:18 AM, Fabrício Srdic
wrote:
> Hello,
>
> What's the current status of the Brook Server Pages project?
>
> What's the recommended template engine to use with Brook Framework?
>
> Best regards
>
Hello,
Just waiting someone to fix this leak problem:
https://github.com/r