Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2019-09

  1. Compatibility problems with fpc > 3.3.1 rev 42375

    Hello everybody and specially Sven Barth. With last trunk of fpc, msegui is no more compatible with fpc. After big fight, it appears that commit of Sven Barth on Jul 13…

    fredvs, Martin Frb, Michael Van Canneyt
    26
  2. Avoiding that terminal window is opened when running a app with allegro.pas graphics?

    If I create a shortcut to the binary and run it from the desktop a terminal window is opened. Is there away to avoid this?

    ture S
    0
  3. It's alive !

    Finally, the moment has come: https://www.youtube.com/watch?v=xos2MnVxe-c Following up on a bounty offered, Dmitry Boyarintsev has accomplished milestone one in the…

    Michael Van Canneyt, Jean SUZINEAU, Joao Schuler
    11
  4. for-in loop cast

    Question I’ve always had. Why do I need to cast “value” to “pointer" otherwise I get: Incompatible types: got "Pointer" expected “TObject” error?. I don’t…

    Ryan Joseph, Ben Grasset, Sven Barth
    4
  5. Printing terminal colors with writeln

    In C I can do: // https://stackoverflow.com/questions/4842424/list-of-ansi-color-escape-sequences printf("\033[31;1;4mHello\033[0m"); and get red text in the terminal…

    Ryan Joseph, geneb, Jonas Maebe
    4
  6. FPC docs about FindFirst

    https://www.freepascal.org/docs-html/rtl/sysutils/findfirst.html 1) add to the list of attribs the value faAnyFile. 2) correct the example: call FindClose only inside…

    AlexeyT, Anthony Walter, Ched
    15
  7. Calculating Pixels to represent 3D coordinates

    I'm curious if Freepascal has any package available that would calculate X,Y screen pixels based on 3D X,Y,Z data at some given rotations. I'm using Agg-Pas with…

    James Richters, Graeme Geldenhuys, Gustavo Enrique Jimenez
    14
  8. Overloading Inc and Dec procedures?

    seems, that overloading of Inc, Dec internal compiler procedures is not allowed. Is it by intention or can it be fixed (adding overload keyword to system function…

    LacaK, Sven Barth
    2
  9. Generics: Error: Can't determine which overloaded function to call

    I have generics record, where one method computes distance between 2 points: function T2DPoint.Distance(P: T2DPoint): Single; begin   Result := Sqrt(Sqr(x-P.x) +…

    LacaK
    1
  10. Read lines into UnicodeString variable from UCS2 (UTF-16) encoded text file

    is there any smart way how to read string data line by line from UCS2 encoded text files (lines delimited by $0A00). Using ReadLn(TextFile, UnicodeStringVariable) does…

    LacaK, Bart, DougC
    26
  11. Illegal counter variable?

    Can someone please tell me why this happens? Var I : Longint = 0; Begin For I := 1 to 6 Do Writeln(I); End. This gives me : initialize.pas(4,5) Error: Illegal counter…

    James Richters, Bart, Bernd Oppolzer
    30
  12. Very vague gettickcount64 description?

    While consulting the online reference about gettickcount https://www.freepascal.org/docs-html/rtl/sysutils/gettickcount64.html I could not know anything about the units…

    Paulo Costa, Alexander Grotewohl, DougC
    31
  13. Challenge accepted

    Few months ago I read somewhere on the fpc-mailinglists that someone stated that FPC is fine, but it could use more additional stuff. I really searched, but I can not…

    Joost van der Sluis, Cyrax, Marco van de Voort
    7
  14. Tests results of several pascal based JSON parsers

    I've posted a new page that tests the speed and correctness of several pascal based JSON parsers. https://www.getlazarus.org/json/tests/ In full disclosure I am the…

    Anthony Walter, Alan Krause, Ben Grasset
    18