Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal

fpc-pascal · 2011-12

  1. Re: Why is Random(255) some 529x slower compared to Delphi 7?

    true, (but) looking at the code again, it seems that you always have a predictable sequence when using the same algorithm. Not sure if that is a good thing or a bad one…

    Dimitri Smits
    0
  2. Re: Why is Random(255) some 529x slower compared to Delphi7?

    I would agree, if this is about "bloatware", but this is a completely different case. We talk about a more accurate method, which is too expensive for your application…

    Schindler Karl-Michael, DaWorm, Dimitrios Chr. Ioannidis
    15
  3. Re: Why is Random(255) some 529x slower compared

    Why don't refactoring the slow RTL random to MyRandom so you can switch? You can do it in a few miniutes. In my opinion the current RTL random function should not…

    lyh1
    0
  4. Re: Why is Random(255) some 529x slower compared to Delphi 7?

    just my 2cts, but... The Delphi 7 help states about "function System.Random [ ( Range: Integer) ];" the following In Delphi code, Random returns a random number within…

    Dimitri Smits
    0
  5. Abbrevia 5.0 released

    Abbrevia 5.0 is now available. Abbrevia is a data compression toolkit for Embarcadero Delphi, C++ Builder, and Kylix, and FreePascal. It supports PKZip, Microsoft CAB,…

    Craig Peterson
    0
  6. range check error while evaluating constant (number literals larger than$7fffffffffffffff)

    var x : QWord; begin x := $ffffffffffffffff; writeln(IntToHex(x, 16)); end. this happens at compile time when trying to evaluate the literal $ffffffffffffffff…

    Bernd, Jonas Maebe
    1
  7. Markdown parser?

    Hi, does anyone knows if there is a Markdown parser already developed for FreePascal?.   Leonardo M. Ramé http://leonardorame.blogspot.com

    Leonardo M. Ramé, Graeme Geldenhuys
    4
  8. WideString and TRegexpr

    Has anybody with experience of WideStrings tried compiling the "new" Regexpr unit to support them? I'm in a position where I could very much benefit from using these, but

    Mark Morgan Lloyd, Felipe Monteiro de Carvalho, Frank Church
    9
  9. How to read TDOMNode attributes

    Is there a way of knowning the attribute count of a TDOMNode as well as reading the value of an attribute if it exists? Frank Church =======================…

    Frank Church, Graeme Geldenhuys, Marco van de Voort
    9
  10. i386: strange code generated in simple for loop

    Hello, I have observed something I do not understand. The following is a series of for-loops and the generated code looks strange to me. There always appears an inc…

    Bernd, Florian Klämpfl, Jonas Maebe
    3
  11. SQLdb :: Commit, Rollback, etc.

    Why TSQLTransaction.Commit calls CloseDataSets? Always that I call StartTransaction and Commit/Rollback and I have to reopen my DataSets?! Marcos Douglas

    Marcos Douglas, Ludo Brands, Sven Barth
    6
  12. CGI JSON RPC

    i surely need some help regarding the use of cgi with json rpc. I looked at the demo1 example and tested it with testcgi app from the command line. All was fine. Then i…

    Dimitrios Chr. Ioannidis, Unknown author
    1