Re: [fpc-pascal] IDE and programming woes

2010-05-02 Thread David Emerson
First, a descriptive subject header is much appreciated. As for your IDE troubles, I don't know how many people actually use that old FreeVision-based IDE... many of us use either Lazarus or some other more modern editor. Is there some reason you can't or don't want to try Lazarus? Tirdly,

Re: [fpc-pascal] Is this a reference counting bug?

2010-05-02 Thread Bihar Anwar
Florian Klaempfl: FPC and Delphi handle code generation for ref. counted types slightly different, so there might be cases where the ref. counter differs. As long as there is no memory leak when the vars are properly used, we don't consider it as a bug. I see, well, there should be

Re: [fpc-pascal] dynamic array contents and system.move

2010-05-02 Thread Bihar Anwar
Jürgen Hestermann wrote: Although I would have expected that special procedures exist to insert and remove array elements so that there is no need to do such things manually ... David Emerson wrote: These must be written on a case-by-case basis, for each type of array element. Perhaps I'll

Re: [fpc-pascal] Is this a reference counting bug?

2010-05-02 Thread Jonas Maebe
On 02 May 2010, at 10:30, Bihar Anwar wrote: I see, well, there should be explanation about this in FPC doc. The reference counting logic is considered to be an opaque implementation detail (whose implementation can change at any time). It is undocumented by design.

Re: [fpc-pascal] Is there anyone will answer my questions

2010-05-02 Thread Bart
This is the very last time I will answer your post. This is now the third time you post exactly the same question. Jürgen Hestermann and I have tried answering your questions in your very first post (see: http://lists.freepascal.org/lists/fpc-pascal/2010-April/024652.html and follow the thread).

Fwd: [fpc-pascal] Is there anyone will answer my questions

2010-05-02 Thread Jonas Maebe
If you post messages to a mailing list without mentioning that you are not subscribed, it's normal that people only reply to the mailing list without CC'ing you (because there is no way that they can know that you won't see their answers to the mailing list). You can read the answers by

Re: [fpc-pascal] Is there anyone will answer my questions

2010-05-02 Thread Graeme Geldenhuys
On 2 May 2010 12:21, Jonas Maebe jonas.ma...@elis.ugent.be wrote: If you post messages to a mailing list without mentioning that you are not subscribed, it's normal that people only reply to the mailing list without CC'ing you (because there is no way that they can know that you won't see

Re: [fpc-pascal] Is there anyone will answer my questions

2010-05-02 Thread Jonas Maebe
On 02 May 2010, at 12:41, Graeme Geldenhuys wrote: On 2 May 2010 12:21, Jonas Maebe jonas.ma...@elis.ugent.be wrote: If you post messages to a mailing list without mentioning that you are not subscribed, it's normal that people only reply to the mailing list without CC'ing you (because

Re: [fpc-pascal] Is this a reference counting bug?

2010-05-02 Thread Bihar Anwar
On May 2, 2010 4:24:37 PM, Jonas Maebe wrote: The reference counting logic is considered to be an opaque implementation detail (whose implementation can change at any time). It is undocumented by design. In fact, it was already documented in detail in FPC Language Reference Guide: 3.2.4

Re: [fpc-pascal] Is this a reference counting bug?

2010-05-02 Thread Jonas Maebe
On 02 May 2010, at 13:46, Bihar Anwar wrote: On May 2, 2010 4:24:37 PM, Jonas Maebe wrote: The reference counting logic is considered to be an opaque implementation detail (whose implementation can change at any time). It is undocumented by design. In fact, it was already documented

Re: [fpc-pascal] Is this a reference counting bug?

2010-05-02 Thread Jonas Maebe
On 02 May 2010, at 14:05, Jonas Maebe wrote: I know, we've had bug reports about that in the past. Such code is simply broken. See e.g. http://bugs.freepascal.org/view.php?id=15526 andhttp://bugs.freepascal.org/view.php?id=9472 And the thread starting with

Re: [fpc-pascal] Is this a reference counting bug?

2010-05-02 Thread Bihar Anwar
From: Jonas Maebe, May 2, 2010 7:05:46 PM And the last one explicitly states No assumptions should be made about the number of temporary variables or the time when they are finalized. I see, thanks Jonas for noting that statements. I know, we've had bug reports about that in the past. Such

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Marcos Douglas
Hi Graeme, On Fri, Apr 30, 2010 at 6:22 PM, Graeme Geldenhuys graemeg.li...@gmail.com wrote: I haven't used FastCGI yet, but there seems to be an implementation included with FPC.  fpc_src/packages/fastcgi/* I wanted know if many people here use that implementation of FastCGI. Free

[fpc-pascal] internal error 200604201 ??

2010-05-02 Thread jfj
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 line seems ok: if (p3[0] 0) and (p3[0] 100) then any Idea? thanks in advance for any help

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Lee Jenkins
Frank Church wrote: I am having some problems with XPath. EvaluateXPathExpression raises exceptions with some search strings and I am not sure if it is my limited knowledge of XPath, or a buggy XPath implementation. The attached demo uses the example from

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Graeme Geldenhuys
On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app, coded in Delphi 7, to Web. The options: PHP, Java, C# and Pascal. For me, FreePascal would be a good Some reasons: * Free Pascal is open source (always available and no vendor lock-in) * Free Pascal

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Rainer Stratmann
Am Sunday 02 May 2010 19:29:36 schrieb Graeme Geldenhuys: On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app, coded in Delphi 7, to Web. The options: PHP, Java, C# and Pascal. For me, FreePascal would be a good Some reasons: * Free Pascal is open

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread Lee Jenkins
Graeme Geldenhuys wrote: On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app, coded in Delphi 7, to Web. The options: PHP, Java, C# and Pascal. For me, FreePascal would be a good Some reasons: * Free Pascal is open source (always available and no

[fpc-pascal] linked list to criticize

2010-05-02 Thread spir ☣
Hello, 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, comment, and criticize: http://spir.wikidot.com/pascal-doubly-linked-list (There's an extensive intro text, and a test

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Frank Church
I have run it with some success. What I find missing now is the ability to give the correct output for a an index value, such as //bookstore/book[1]/title. It works on the w3schools version but not in the FPC one. Are we on the same versions of Lazarus and XPath? On 2 May 2010 17:37, Lee

Re: [fpc-pascal] linked list to criticize

2010-05-02 Thread Felipe Monteiro de Carvalho
Hello, I think it would be good if you add a link to your package here: http://wiki.lazarus.freepascal.org/Components_and_Code_examples -- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Lee Jenkins
Frank Church wrote: I have run it with some success. What I find missing now is the ability to give the correct output for a an index value, such as //bookstore/book[1]/title. It works on the w3schools version but not in the FPC one. Try changing to only using one front slash instead of

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Frank Church
When I try it the /bookstore/book[price35.00]/title I get the error Conversion from node set to number not possible. The error is the same whether I use a // or a / . Are we using the same version? Marco's notes refer to updates made in FPC 2.4.1 and I am using 2.2.4 with Lazarus 0.9.28 On 2

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Lee Jenkins
Frank Church wrote: When I try it the /bookstore/book[price35.00]/title I get the error Conversion from node set to number not possible. The error is the same whether I use a // or a / . Are we using the same version? Marco's notes refer to updates made in FPC 2.4.1 and I am using 2.2.4

Re: [fpc-pascal] linked list to criticize

2010-05-02 Thread Graeme Geldenhuys
2010/5/2 spir ☣ denis.s...@gmail.com: (There's an extensive intro text, and a test suite with output.) Did you know FPC comes with a unit testing framework called fpcUnit? fpc/src/packages/fcl-fpcunit/src Alternatively you can also use DUnit2 which I ported to Free Pascal a while back, and

Re: [fpc-pascal] TCgiApplication in cgiapp unit - mostly deprecated

2010-05-02 Thread duilio foschi
how do I build a minimal 'hello world' CGI application under Free Pascal ? Where do I find 'instructions for dummies' ? Peppe 2010/5/2 Lee Jenkins l...@datatrakpos.com: Graeme Geldenhuys wrote: On 2 May 2010 17:17, Marcos Douglas m...@delfire.net wrote: I need to rewrite a Desktop app,