fpc-pascal · 2010-05
- about dynamic array34
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…
- Linking C object against "Pascal runtime"3
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…
- fpDoc Question2
Does fpDoc per chance understand the markup used by pasdoc? Specifically, I used comments like this: {: Particularly useful when applied to THusband or TBoyfriend. }…
- standard unit description -- builtin funcs & procs4
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…
- Is this a reference counting bug?8
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…
- Where is the best place to declare an array?9
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…
- about dynamic array -- PS2
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…
- fpGUI Toolkit v0.7-rc2 for FPC 2.49
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…
- cross platform bluetooh library1
Is there a cross platform (Linux and Windows) Bluetooth library for FPC ? Ido http://ik.homelinux.org/
- identifier scope problem3
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
- How to convert ISO format string in FreePascal6
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,…
- dynamic array contents and system.move61
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…
- Pascal pointer life cycle1
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…
- TCgiApplication in cgiapp unit - mostly deprecated31
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…
- h2pas enum error1
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…
- Re: What project management tool does FPC developers use?6
None, simply because we don't have any time budgets/resources but people are working as soon as they find time. See mantis ;)
- renaming XML element1
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…
- FPC + 64bit Windows => anybody?8
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.…
- optional parameter4
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…
- linked list to criticize8
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,…
- internal error 200604201 ??1
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…
- Is there anyone will answer my questions5
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,…
- method order2
(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…
