Sign in Join

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

Mailing lists

fpc-pascal

Subscribe to this list Your subscription

All words must match. Use "exact phrase", -word, -"phrase", from:name, from:"first last", list:fpc-devel, year:2011, before:2012-03, after:2010, in:subject.

Latest threads

  1. Linux, keypressed, readkey

    Is it possible to do keypressed and readkey directly with a systemcall in linux without unit crt?

    Rainer Stratmann, Kiên Nguyễn Tiến Trung, leledumbo
    6
  2. unit crt linux CR LF

    When using the crt unit the CR LF is not working properly as I understand. Is it possible to change this behaviour? So that the CR LF is working? For examlpe when…

    Rainer Stratmann, leledumbo
    1
  3. file identification and metadata retrieval

    currently I'm searching for a library for use with fpc to handle arbitrary files. My goal is to check if file extension corresponds with content (e.g. a .gif named .png)…

    Marc Santhoff
    0
  4. multi-platform and filesystem case sensitivity

    what is the recommended way of handling filesystem case sensitivity when users can provide a filename mask for use in processing? i'm not sure what the best or…

    waldo kitty, Bart
    1
  5. Which gdb version to use?

    Since some versions gdb crashes with FPC programs if the "print" command is called with a query of pointer to not existing record fields for example, it triggers an…

    Martin Schreiber, Pierre Free Pascal, Tony Whyman
    8
  6. Size of a partition

    How to get the total size of an unmounted partition in Linux? For example "/dev/sdb1"

    Rainer Stratmann, Bart, David W Noon
    15
  7. When loading a TComponent from file, method Loaded fired but method Loading not.

    Could you please explain this problem? I think that Loading method should be called by streaming system.

    Kiên Nguyễn Tiến Trung, Michael Van Canneyt
    2
  8. Generic: record type restriction

    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…

    silvioprog, Sven Barth
    1
  9. else and otherwise in a case statement

    I've been doing a bulk replace of 'case..else' to 'case..otherwise' to eliminate possible ambiguities that have bitten me in the past, and have noticed something…

    Mark Morgan Lloyd, Ewald, Howard Page-Clark
    3
  10. compare currency and double

    I have the following code: var val: Currency; res: Double; begin val := 2345.67; res := 1e300; if val >= res then WriteLn('val >=res') else WriteLn('val < res'); end;…

    Xiangrong Fang, Jonas Maebe, Joost van der Sluis
    4
  11. AnsiStrLComp AnsiStrLIComp

    According to the docs AnsiStrLComp treats #0 as normal characters, which sounds as if it does not stop at #0. Does it stop at #0 or does it not?…

    Mattias Gaertner, Jonas Maebe, Michael Van Canneyt
    4
  12. findfirst wildcards...

    how do you process for multiple filemasks? eg: find ts??????.sel and t???.sel for the same processing run ====== snip filemask.pas ====== Program Filemasks; Uses…

    waldo kitty, Bart, Graeme Geldenhuys
    24
  13. node.js-like system using pascal

    Is there anyone out there making node.js-like system using FreePascal? Thank you. -Bee-

    Bee, Michael Van Canneyt
    2
  14. red( clGrayText)

    using -Cr (Range Check) option, red( clGrayText) as example, throw an exception! how should I program "red" (or green, blue and may be some others) functions to avoid…

    Philippe, Mattias Gaertner
    4
  15. Helper type and class fields

    "A helper type may not declare instance data, but class fields are allowed." ( http://docwiki.embarcadero.com/RADStudio/XE7/en/Class_and_Record_Helpers_(Delphi) ). In…

    silvioprog, Sven Barth
    2
  16. -CR option and simplehtmltreeparser

    compiling simplehtmltreeparser with -CR option I get: F:lazaruscomponentsinternettoolsdatasimplehtmltreeparser.pas(591,13) Error: Incompatible type for arg no. 2: Got…

    Philippe
    0
  17. SameValue and +-Infinity

    today I discovered that SameValue(infinity, neginfinity) returns TRUE. Why? It should be FALSE. Or not? Free Pascal Compiler version 2.6.2-8 [2014/01/22] for x86_64…

    Valdas Jankūnas
    0
  18. mORMot

    Discussion elsewhere has mentioned mORMot as a development framework. It claims to work with both Delphi and FPC: is anybody actively using it "in anger", so that I can…

    Mark Morgan Lloyd, Alan Krause
    1
  19. FPC macros

    for several Pascal headers for C libraries it would be very nice, when macros defined in the interface section would be globally avaible. E.g. in Assimp there are macros…

    Tim Blume, leledumbo
    1
  20. Type used to specialize a generic

    Hello list, is there a safe way to know the PTypeInfo, or at least the string literal of the type(s) used to specialize a generic? Eg: TBarList = specialize…

    Joao Morais, silvioprog, Sven Barth
    4
  21. Default value resourcestring

    How can I get the defaultvalue of a single resourcestring? Mattias

    Mattias Gaertner
    0
  22. MSEide+MSEgui version 3.6

    MSEide+MSEgui 3.6 has been released: https://sourceforge.net/projects/mseide-msegui/ New target: arm-linux (Raspberry Pi). MSEide runs amazingly fast on the Raspberry Pi.

    Martin Schreiber
    0
  23. Cross compiler for Raspberry Pi

    I try to build a fixes_2_6 cross compiler i386-linux -> arm-linux-eabihf. " make crossinstall CPU_TARGET=arm OS_TARGET=linux CROSSBINDIR=$CROSSBINDIR OPT=-dFPC_ARMHF…

    Martin Schreiber, Jonas Maebe
    4
  24. TurboPower FlashFiler for Free Pascal

    Yeah, a catchy title! ;-) I want to know if anybody here has ever used FlashFiler in Delphi. Was it a good product, and do you think it would be worth the effort porting

    Graeme Geldenhuys, geneb, julioferval
    18
  25. Linker problems FPC 2.6.4

    I am just getting back into Pascal after a number of years -- I installed 2.6.4 from the tarball. To try it out I copied the browser demo (browserall.pp) into my home…

    Frank McCormick, Jonas Maebe
    3
  26. date formating dificulty

    I wrote a program: - windows 8 32 bits - lazarus 1.2.4 ... fpc 2.6.4 then I copied it to another computer - windows 7 64 bits - lazarus 1.0.14 .... fpc 2.6.2 and got…

    Philippe, Graeme Geldenhuys, Michael Van Canneyt
    10
  27. Mixing PIC non-PIC code/variables when linking a shared library

    Why would a global variable cause an issue when linking a shared library (specifically 64-bit linux)? The more detailed description is here:…

    Dmitry Boyarintsev, Jonas Maebe, Mattias Gaertner
    8
  28. Is it possible to specialize a generic class more than once, with different types, in the same unit?

    I just started investigating the generics classes in fcl-stl for a program that I'm writing. I haven't written anything using generics in Free Pascal before, so this is…

    Noel Duffy, leledumbo, silvioprog
    4
  29. Generic specialization using $mode objfpc

    How to use this code below in mode objfpc?: TMyGeneric<T> = class(TObject) private FValue: T; public property Value: T read FValue write FValue; end; ... var…

    silvioprog, Kiên Nguyễn Tiến Trung, leledumbo
    8
  30. Generics: constructor restriction fail

    Following this article: http://alex.ciobanu.org/?p=51 The compiler does not check the constructor restriction. Try this test: {$mode delphi} TTest = class private //…

    silvioprog, Chriss Kalogeropoulos, Sven Barth
    4

Browse by month

2026
2025
2024
2023
2022
2021
2020
2019
2018
2017
2016
2015
2014
2013
2012
2011
2010
2009
2008
2007
2006
2005
2004
2003
2002
2001
2000
1999