Re: [fpc-pascal] Generics - how to rewrite TOjectDictionary

2013-04-07 Thread Dimitri Smits
Hi, Ever tried TStringList with Strings[] and Objects[] properties? kind regards, Dimitri Smits - Oorspronkelijk e-mail - Van: Marius mar...@lmspathologie.nl Aan: fpc-pascal@lists.freepascal.org Verzonden: Zondag 7 april 2013 18:48:02 Onderwerp: [fpc-pascal] Generics - how

Re: [fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-03-05 Thread Dimitri Smits
still be written in pascal. as a matter of fact, when you use the binutils and ld etc, you aren't exactly using a full pascal toolchain either, no? kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Object pascal language compatiblity - was: Does FPC 2.8.0 can actually still be called Pascal ?

2013-03-03 Thread Dimitri Smits
if they also support Android with a cross-platform library/interface between iOS and Android for common features, like they 'promised' last fall on a conference. (BE-Delphi last november) full disclosure: yes, paying owner of a licence DXE3 kind regards, Dimitri Smits

Re: [fpc-pascal] converting c code

2012-05-13 Thread Dimitri Smits
variables on the fly et voila, on next iteration you return. at least, that was what we were told in our CS courses, comparing C(++) vs Pascal/Modula/Oberon (almost 2 decades ago). kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-09 Thread Dimitri Smits
broken by standard frequency analysis. -- kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-09 Thread Dimitri Smits
on the (index div 8) octet. hardly encrypted ;-) kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-09 Thread Dimitri Smits
randoming and your distribution does not change much with a lcg. Not the fault of the algorithm itself, just your mistake of doing the randomize in the loop itself (like you mentioned yourself). kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] Why is Random(255) some 529x slower compared to Delphi 7?

2011-12-07 Thread Dimitri Smits
number generatorcall like the memorymanagers. like I said, just my 2cts... kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Class reference doubt

2011-11-25 Thread Dimitri Smits
pattern before. It has nothing and everything to do with RTTI. No, the new D2010+ RTTI does not give access to the default constructor (I think), but it IS part of the TClass-alike-structure that is generated for the TObject descendant. kind regards, Dimitri Smits

Re: [fpc-pascal] Linux - ExecuteProcess versus fpSystem

2011-09-08 Thread Dimitri Smits
valid reasons for doing so, have you tried to put that flow (calling of the 2 commands) into a single shell script and executing that instead? kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Re: Library for network calculation

2011-07-27 Thread Dimitri Smits
don't have a Delphi in reach for the moment to verify, but you could do that to a const (if you enable the assignable constants setting) procedure SomeProc; const someconst: Integer = 22; begin //blabla someconst := 42; //yadda yadda end; - Sven Barth pascaldra...@googlemail.com

Re: [fpc-pascal] The new Delphi 2010 RTTI

2011-01-10 Thread Dimitri Smits
that statement? kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-22 Thread Dimitri Smits
upgrade :-). kind regards, Dimitri Smits - Thierry Coq t...@free.fr schreef: Hello, Delphi 2010 has changed the RTTI mechanism, and it is said to be much more usable than the previous one. (see here for example: http://www.malcolmgroves.com/blog/?p=476) Some interesting tools are using

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-22 Thread Dimitri Smits
on = reimplement, reinstate interface, change rtti again on types (if still possible). kind regards, Dimitri Smits - Michael Van Canneyt mich...@freepascal.org schreef: On Wed, 22 Dec 2010, Dimitri Smits wrote: Hi, what is so different on this mail than the one I sent a few months ago

Re: [fpc-pascal] Re: Can variables be declared within a block?

2010-10-18 Thread Dimitri Smits
-ism in a pascal language (although I've used it plenty in c++, java, C#, php, ... over the years). kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Nesting

2010-09-13 Thread Dimitri Smits
it is about writing the correct control-statement. kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: fpc-pascal Digest, Vol 72, Issue 12

2010-06-03 Thread Dimitri Smits
not work with containers like TPanel/TGroupbox/... and does not allow to inject extra visual controls on another form? kind regards, Dimitri Smits ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo