Sign in Join

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

Mailing lists / fpc-pascal

fpc-pascal · 2010-05

  1. about dynamic array

    Where can one find information on types like dynamic array? Also, on funcs or procs that apply on them, like setLength & copy. If the answers to the following questions…

    spir ☣, cobines, Doug Chamberlin
    34
  2. Linking C object against "Pascal runtime"

    I have a C file which I want to link statically into my FreePascal application. The C code is mostly self-contained, except for a few simple calls to the C runtime, one…

    Unknown author, Felipe Monteiro de Carvalho, Jonas Maebe
    3
  3. fpDoc Question

    Does fpDoc per chance understand the markup used by pasdoc? Specifically, I used comments like this: {: Particularly useful when applied to THusband or TBoyfriend. }…

    Lee Jenkins, Graeme Geldenhuys
    2
  4. standard unit description -- builtin funcs & procs

    It seems, maybe, that most people using freepascal actually come from a different environment (esp Delphi) with all needed knowledge about (a dialect of) the language…

    spir ☣, Michael Van Canneyt, Tomas Hajny
    4
  5. Is this a reference counting bug?

    I found that the last element of a dynamic array starts with reference count = 2 in FPC, but in Delphi is 1. Is this an FPC bug, or FPC implements reference counting…

    Bihar Anwar, Florian Klaempfl, Jonas Maebe
    8
  6. Where is the best place to declare an array?

    If I remember this correctly, I've formerly ever read somewhere (in my Delphi days) that array should be declared globally (not inside a function or procedure) so that…

    Bihar Anwar, Flávio Etrusco, Jonas Maebe
    9
  7. about dynamic array -- PS

    It seems the actual issue with static array is that the size is part the type. So that one cannot even use a pointer to refer to an array which size is supposed to…

    spir ☣, Henry Vermaak, Matthias K.
    2
  8. fpGUI Toolkit v0.7-rc2 for FPC 2.4

    fpGUI v0.7-rc2 is available --------------------------- An archived source download can be found at the following URL, or the source code could be pulled directly from…

    Graeme Geldenhuys, duilio foschi, Martin
    9
  9. cross platform bluetooh library

    Is there a cross platform (Linux and Windows) Bluetooth library for FPC ? Ido http://ik.homelinux.org/

    ik, leledumbo
    1
  10. identifier scope problem

    consider the following code snippet: <code> unit a; interface type tt = ... tcls = class procedure method(x,y: tt); end; function equals(x,y: tt): boolean; implementation

    leledumbo, David Emerson, Thierry Coq
    3
  11. How to convert ISO format string in FreePascal

    I want to convert a time stamp in yyyy-mm-dd hh:mm:ss format to a TDatetime in FPC but can't find but haven't found a way yet. My attempt is based on the method here,…

    Frank Church, Graeme Geldenhuys, José Mejuto
    6
  12. dynamic array contents and system.move

    I have a class that has a field, f_data : array of byte; // a dynamic array Within a method of this class (which takes as a parameter "src", another instance of the…

    David Emerson, ajv, Aleksa Todorovic
    61
  13. Pascal pointer life cycle

    First, I found a very good introduction material to pointers at http://cslibrary.stanford.edu/. The author, "Nick Parlante" (nickname?) really has a great pedagogical…

    spir ☣, Jonas Maebe
    1
  14. TCgiApplication in cgiapp unit - mostly deprecated

    What about FastCGI, is there an implementation default in FPC? I want codify a web app and I think use FreePascal. You recommend that? Or is better use another language…

    Marcos Douglas, duilio foschi, Graeme Geldenhuys
    31
  15. h2pas enum error

    I try to translate the comedilib to pascal. I use h2pas with the following params: h2pas -e -D -p -w -u comedilib -l comedilib -o comedilib.pas comedilib.h I get the…

    Hartmut Eilers, Henry Vermaak
    1
  16. Re: What project management tool does FPC developers use?

    None, simply because we don't have any time budgets/resources but people are working as soon as they find time. See mantis ;)

    Florian Klaempfl, Frank Church, Jonas Maebe
    6
  17. renaming XML element

    since I'm only rarely using XML and the DOM unit I have to ask: I need to rename an element inside an XML tree. I've learned that elements are immutable in the DOM…

    Marc Santhoff
    1
  18. FPC + 64bit Windows => anybody?

    I often hear of developers using FPC on 64-bit Linux. My development machine is the same. But I can't say I have ever heard of anybody using 64-bit Windows with FPC.…

    Graeme Geldenhuys, Alan Krause, Jonas Maebe
    8
  19. optional parameter

    A few questions on the topic: * Is it possible to define an optional parameter without default value? * Is it at all possible for an optional *argument* not to be the…

    spir ☣, Flávio Etrusco, Martin
    4
  20. linked list to criticize

    Finally did it! Managed to write in Pascal a linked list type, with all common operations (put, change, remove, find & more). If anyone is nice enough to have a look,…

    spir ☣, Felipe Monteiro de Carvalho, Frank Church
    8
  21. internal error 200604201 ??

    hello After installing ubuntu 10 i get an internal error 2000604201 when i compile a program. with previous version of ubuntu there was no problem. the source for error…

    jfj, leledumbo
    1
  22. Is there anyone will answer my questions

    I have some questions when I am using Free Pascal a new line in the IDE. and I think the Free Pascal's ide is not very stable, I am using fpc under a MS-DOS 7.1,…

    彘, Bart, David Emerson
    5
  23. method order

    (Note: I use "method" for "either procedure or function"; if there is a proper term, please tell me --I don't know any.) A short question: Why must a called method be…

    spir ☣, Mattias Gaertner
    2