[fpc-pascal] Is it only properties that can have defaults in type definitions?

2013-03-14 Thread Frank Church
write FBoolean default false; end; -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Is it only properties that can have defaults in type definitions?

2013-03-14 Thread Frank Church
On 14 March 2013 15:38, Martin laza...@mfriebe.de wrote: On 14/03/2013 15:35, Frank Church wrote: Is it only properties that can have defaults in type definitions? ie can private fields be only initialized after creation, eg in the constructor? Is something like this allowed TSomeObject

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-18 Thread Frank Church
On 17 February 2013 13:54, Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote: Frank Church wrote: And sometimes, having a high-profile blogger pushing one particular product can be counterproductive since he ends up a figure of fun. Would the said high-profile blogger be Zarko

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-18 Thread Frank Church
On 18 February 2013 11:19, Graeme Geldenhuys gra...@geldenhuys.co.uk wrote: On 2013-02-17 13:40, Frank Church wrote: My beef is mostly with Lazarus developers. They are more at fault here as a lot of the new features which make a good difference to productivity tend go unannounced

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread Frank Church
- fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread Frank Church
their outlook, but a bit of info from the leading lights of FPC every now and then would be appreciated :) My beef is mostly with Lazarus developers. They are more at fault here as a lot of the new features which make a good difference to productivity tend go unannounced or unnoticed. -- Frank

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread Frank Church
and documentation in, which is compiled to machine code after, not because Lazarus is not good enough, but turnaround times need to be fast for a hobbyist and volunteer driven project. -- Frank Church === http://devblog.brahmancreations.com

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread Frank Church
On 17 February 2013 19:35, Florian Klämpfl flor...@freepascal.org wrote: Am 17.02.2013 20:31, schrieb Frank Church: One more thing lest I forget. The official FPC documentation is very good, especially for documents created by volunteers and hobbyists. That it is not accompanied by examples

Re: [fpc-pascal] OT a bit - Planet Object Pascal

2013-02-17 Thread Frank Church
On 17 February 2013 20:30, ik ido...@gmail.com wrote: On Sun, Feb 17, 2013 at 9:31 PM, Frank Church vfcli...@gmail.com wrote: On 17 February 2013 17:10, ik ido...@gmail.com wrote: On Sun, Feb 17, 2013 at 5:05 PM, Florian Klämpfl flor...@freepascal.org wrote: Am 17.02.2013 15:36, schrieb ik

Re: [fpc-pascal] Re: what happened to the contributed units listing?

2013-02-08 Thread Frank Church
On 7 February 2013 21:23, Michael Van Canneyt mich...@freepascal.org wrote: On Thu, 7 Feb 2013, Frank Church wrote: On 7 February 2013 12:35, leledumbo leledumbo_c...@yahoo.co.id wrote: Bye2 PHP based list, welcome fpweb + ExtJS based list :) -- Do we get the chance to view the code

Re: [fpc-pascal] what happened to the contributed units listing?

2013-02-07 Thread Frank Church
and selectively enable them, and even them for the majority of the sites it is temporary. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] Re: what happened to the contributed units listing?

2013-02-07 Thread Frank Church
/Lazarus will take off if code samples are not freely available, especially if there are no commercial confidentiality issues involved. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] Can property setters be procedures only?

2013-02-06 Thread Frank Church
a function to set that property, but I wonder why a setter can't be a function? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Can property setters be procedures only?

2013-02-06 Thread Frank Church
On 6 February 2013 09:07, Michael Van Canneyt mich...@freepascal.org wrote: On Wed, 6 Feb 2013, Frank Church wrote: When I try to set a property using a function I get the error: form001.pas(28,64) Error: Illegal symbol for property access form001.pas(34,1) Fatal: There were 1 errors

[fpc-pascal] Is it possible to redefine FreePascal types?

2012-11-21 Thread Frank Church
string as a parameter to functionNewString the compiler declares an error. If c is string and b is newString and I do b := c the compiler should generate an error unless I do b := newString(c); Is this possible? -- Frank Church === http://devblog.brahmancreations.com

[fpc-pascal] Is there some runtime variable informs whether a program is running in a debugger or contains debugging information?

2012-11-21 Thread Frank Church
Is there some runtime variable informs whether a program is running in a debugger or contains debugging information? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Re: Yet more make file problems: make works, make install fails

2012-10-29 Thread Frank Church
not discussed in private, that way everyone could learn from it. Too late though :( -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

Re: [fpc-pascal] Best way to transfer data between applications?

2012-10-29 Thread Frank Church
://lists.freepascal.org/mailman/listinfo/fpc-pascal I have to second Michael's response. Inoussa discussed on some thread some time back and in fact I am lookiing to read it again. Does anyone recall that thread? -- Frank Church === http://devblog.brahmancreations.com

Re: [fpc-pascal] problems compiling FPC

2012-10-16 Thread Frank Church
@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal As the solution doesn't seem to be too difficult which file or files can we zoom in on to fix it? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal

[fpc-pascal] Library with XMLHttpRequest functionality?

2012-04-02 Thread Frank Church
Is there some library in FPC/Lazarus which implements XMLHTTPRequest functionality? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

[fpc-pascal] Re: Is there a function that returns UTC time in FPC or Lazarus?

2012-03-31 Thread Frank Church
On 30 March 2012 15:05, Frank Church vfcli...@gmail.com wrote: When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of timezone? -- Frank

[fpc-pascal] Is there a function that returns UTC time in FPC or Lazarus?

2012-03-30 Thread Frank Church
When I get the time via the DateTime function result is adapted for the timezone, making it an hour ahead now? Is there a function that returns the UTC time, either as a UnixTime or TDateTime irregardless of timezone? -- Frank Church === http://devblog.brahmancreations.com

Re: [fpc-pascal] Spam

2012-03-11 Thread Frank Church
on this mailing list in a long while. Give it some more time and moderate it if the amount of spam increases to an annoying level. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Re: Where and how is the FPC documentation created?

2012-03-01 Thread Frank Church
On 29 February 2012 19:52, Michael Van Canneyt mich...@freepascal.orgwrote: On Wed, 29 Feb 2012, Reinier Olislagers wrote: On 29-2-2012 17:07, michael.vancanneyt-**0is9kj9s...@public.gmane.orgmichael.vancanneyt-0is9kj9s...@public.gmane.orgwrote: On Wed, 29 Feb 2012, Frank Church wrote

[fpc-pascal] Where and how is the FPC documentation created?

2012-02-29 Thread Frank Church
about Lazarus -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Where and how is the FPC documentation created?

2012-02-29 Thread Frank Church
On 29 February 2012 15:44, michael.vancann...@wisa.be wrote: On Wed, 29 Feb 2012, Frank Church wrote: A few months ago I inquired and got some info about FPC docs - discussed in this thread http://lists.lazarus.**freepascal.org/pipermail/** lazarus/2011-November/068595.**htmlhttp

Re: [fpc-pascal] Where and how is the FPC documentation created?

2012-02-29 Thread Frank Church
On 29 February 2012 16:07, michael.vancann...@wisa.be wrote: On Wed, 29 Feb 2012, Frank Church wrote: I am asking because if there some changes to some of the pages because of new language facilities etc, some features, deprecated etc commit messages would make it easier to track what

Re: [fpc-pascal] Re: Where and how is the FPC documentation created?

2012-02-29 Thread Frank Church
On 29 February 2012 18:10, Reinier Olislagers reinierolislag...@gmail.comwrote: On 29-2-2012 17:07, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote: On Wed, 29 Feb 2012, Frank Church wrote: Another question, are you and Florian Klaempfl the main or only contributors? I am

Re: [fpc-pascal] Re: Where and how is the FPC documentation created?

2012-02-29 Thread Frank Church
On 29 February 2012 18:10, Reinier Olislagers reinierolislag...@gmail.comwrote: On 29-2-2012 17:07, michael.vancanneyt-0is9kj9s...@public.gmane.org wrote: On Wed, 29 Feb 2012, Frank Church wrote: Another question, are you and Florian Klaempfl the main or only contributors? I am

[fpc-pascal] What is the most widely used Pascal on Linux and other Unix variants?

2012-02-27 Thread Frank Church
What is the most widely used Pascal on Linux and other Unix variants? Is it Free Pascal? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] Re: What is the most widely used Pascal on Linux and other Unix variants?

2012-02-27 Thread Frank Church
On 27 February 2012 10:15, Frank Church vfcli...@gmail.com wrote: What is the most widely used Pascal on Linux and other Unix variants? Is it Free Pascal? -- Frank Church What license are FPC and Lazarus, are they GPL? I think somehow a way must be found of getting Pascal identified

Re: [fpc-pascal] possible json parser memory leak

2011-12-18 Thread Frank Church
-- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Frank Church
://regexpstudio.com/. There isn't much info about regular expressions on the wiki itself -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

[fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
Is there a way of knowning the attribute count of a TDOMNode as well as reading the value of an attribute if it exists? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
On 2 December 2011 19:09, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Fri, 2 Dec 2011 18:59:25 + Frank Church vfcli...@gmail.com wrote: Is there a way of knowning the attribute count of a TDOMNode as well as reading the value of an attribute if it exists? HasAttribute:=(Node

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
On 2 December 2011 19:45, Mattias Gaertner nc-gaert...@netcologne.dewrote: On Fri, 2 Dec 2011 19:30:17 + Frank Church vfcli...@gmail.com wrote: On 2 December 2011 19:09, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Fri, 2 Dec 2011 18:59:25 + Frank Church vfcli

Re: [fpc-pascal] How to read TDOMNode attributes

2011-12-02 Thread Frank Church
On 2 December 2011 20:43, Sven Barth pascaldra...@googlemail.com wrote: On 02.12.2011 21:26, Frank Church wrote: On 2 December 2011 19:45, Mattias Gaertner nc-gaert...@netcologne.de mailto:nc-gaertnma@**netcologne.de nc-gaert...@netcologne.de wrote: On Fri, 2 Dec 2011 19:30:17 +

Re: [fpc-pascal] Re: Indy example returns Runtime Error (211)

2011-11-22 Thread Frank Church
On 22 November 2011 08:18, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Frank Church said: Any ideas? Any updates? I don't know if I have to subclass or derive something to avoid this error. I will post some sample code for testing. Did you look into my

Re: [fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-21 Thread Frank Church
/mailman/listinfo/fpc-pascal -- Frank Church === http://devblog.brahmancreations.com 330.gif___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Indy example returns Runtime Error (211)

2011-11-21 Thread Frank Church
On 20 November 2011 16:57, Frank Church vfcli...@gmail.com wrote: I am trying to use an Indy example from stackoverflow - http://stackoverflow.com/questions/576538/delphi-how-to-get-all-local-ipsand I always get Runtime Error (211). It is more of a language issue than a network related

[fpc-pascal] Indy example returns Runtime Error (211)

2011-11-20 Thread Frank Church
? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Is there a bug in TStrings.Delimiter handling?

2011-11-20 Thread Frank Church
? If the delimiter is set to a comma it shouldn't treat a space as a delimter as well. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman

[fpc-pascal] Is there an online tool for browsing library documentation and source code for FPC and Lazarus?

2011-11-12 Thread Frank Church
Is there an online tool for browsing library documentation and source code for FPC and Lazarus? I am looking for something along these lines - http://stdlib.rubyonrails.org/, http://htmlunit.sourceforge.net/apidocs/index.html. Doesn't the FPC community have something similar? -- Frank Church

[fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Frank Church
What is the difference between field declarations at the beginning of a class and those declared in the public section? They are all visible aren't they, what is the conceptual difference between them? -- Frank Church === http://devblog.brahmancreations.com

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Frank Church
On 6 November 2011 14:43, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 06 Nov 2011, at 15:34, Frank Church wrote: What is the difference between field declarations at the beginning of a class and those declared in the public section? There is no the public section. You can declare

Re: [fpc-pascal] What is the difference between the declarations at the beginning of a class and those declared in the public section?

2011-11-06 Thread Frank Church
On 6 November 2011 18:33, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 06 Nov 2011, at 19:26, Frank Church wrote: So it means that unless a field or method is in the private or protected section or published, strict private or strict protected section it is automatically public

Re: [fpc-pascal] How are Assigned, Free, Nil and Destroy related?

2011-10-22 Thread Frank Church
. So what I want to know is whether Assigned remains true when Free is executed. In the mean time instead of using Free in FreeVars I will set the text property to the blank string to release the memory used by the strings. -- Frank Church === http

Re: RE : [fpc-pascal] How are Assigned, Free, Nil and Destroy related?

2011-10-22 Thread Frank Church
://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] How are Assigned, Free, Nil and Destroy related?

2011-10-21 Thread Frank Church
like a newbie, or does it? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: How are Assigned, Free, Nil and Destroy related?

2011-10-21 Thread Frank Church
On 21 October 2011 18:19, Frank Church vfcli...@gmail.com wrote: This is one question I have wanted to ask for a long time. How are Assigned, Free, Nil and Destroy related, and when is one or another appropriate? What other procedure have I missed? There are so many articles and mailing

[fpc-pascal] Does FPC support fields which are only accessible from the object itself, eg. some kind of super private fields

2011-10-04 Thread Frank Church
Private allows access to procedures which the unit, even if they belong to a separate object. Does FPC support fields which are only accessible from the object itself, not accessble by other objects even if they are in the same unit? -- Frank Church === http

[fpc-pascal] How to get a data module to notify of events?

2011-09-15 Thread Frank Church
the procedures for the objects which require notification need to be constructed in some way? Am I on the right track here? I am particularly interested in what happens when the objects passing the routines are destroyed without the data module knowing about it. -- Frank Church === http

Re: [fpc-pascal] How to get a data module to notify of events?

2011-09-15 Thread Frank Church
On 15 September 2011 15:48, Martin Schreiber mse00...@gmail.com wrote: On Thursday 15 September 2011 16:28:29 Frank Church wrote: I have a form with some threaded objects that notify another form of events by calling one of that forms events. I want to convert to a data module and any

Re: [fpc-pascal] How to get a data module to notify of events?

2011-09-15 Thread Frank Church
On 15 September 2011 16:26, Martin Schreiber mse00...@gmail.com wrote: On Thursday 15 September 2011 16:53:35 Frank Church wrote: Are there some examples of that somewhere? or http://svn.berlios.de/viewvc/mseide-msegui/trunk/lib/common/kernel/msegui.pas?view=markup tmethodlist. Warning

[fpc-pascal] Should Lazarus and FPC release library updates separately from product updates?

2011-08-12 Thread Frank Church
know if it is something already done that is not explained well enough or is not done at all? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

[fpc-pascal] What are the changes between FPC 2.4.4 and 2.4.5?

2011-08-06 Thread Frank Church
What are the changes between FPC 2.4.4 and 2.4.5? I haven't seen the announcement on 2.4.5. Is 2.4.5 for bug fixes, additional library facilities or both? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal

[fpc-pascal] Re: What is the syntax for generating fpc.cfg from a new compiler stored at location xxxx with fpcmkcfg ?

2011-05-10 Thread Frank Church
-4use built in fppkg default compiler template The fpcmkcfg that comes with 2.4.2 has a problem, so I modified my script, copying the newly built version samplecfg into my on ~/bin directory for the build to succeed. On 9 May 2011 20:43, Frank Church vfcli...@gmail.com wrote: I

[fpc-pascal] What is the syntax for generating fpc.cfg from a new compiler stored at location xxxx with fpcmkcfg ?

2011-05-09 Thread Frank Church
the normal installation script create the proper fpc.cfg? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Library for network calculations

2011-04-03 Thread Frank Church
Is there an fpc library for TCP/IP network calculations, like computing subnets, broadcast address etc. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Free Pascal 2.4.4 RC1 available

2011-03-21 Thread Frank Church
more in line with the versions in 2.5.1, are they sync? I remember they were not quite the same -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http

Re: [fpc-pascal] Re: Name of the programming language used in/with FPC

2011-02-17 Thread Frank Church
. Let the voting begin!! -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Name of the programming language used in/with FPC

2011-02-16 Thread Frank Church
-- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Error compiling freepascal on Windows- make -C pasjpeg distclean

2011-01-20 Thread Frank Church
I am trying to compile Freepascal 2.5.1 on Windows and I get the error make -C pasjpeg distclean make: *** pasjpeg: No such file or directory. Stop the version is 16795M Has that directory been removed? -- Frank Church === http://devblog.brahmancreations.com

Re: [fpc-pascal] Error compiling freepascal on Windows- make -C pasjpeg distclean

2011-01-20 Thread Frank Church
On 20 January 2011 13:09, Sven Barth pascaldra...@googlemail.com wrote: Am 20.01.2011 14:08, schrieb Sven Barth: Am 20.01.2011 11:13, schrieb Frank Church: I am trying to compile Freepascal 2.5.1 on Windows and I get the error make -C pasjpeg distclean make:*** pasjpeg: No such file

Re: [fpc-pascal] How to convert a large integer to base64

2011-01-17 Thread Frank Church
On 15 January 2011 18:52, Henry Vermaak henry.verm...@gmail.com wrote: On 15 January 2011 17:52, Frank Church vfcli...@gmail.com wrote: Is there a FCL library that can be used to convert a large integer into base64 format? Do you know about the base64 unit? I have it working now

[fpc-pascal] How to convert a large integer to base64

2011-01-15 Thread Frank Church
Is there a FCL library that can be used to convert a large integer into base64 format? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org

Re: [fpc-pascal] How to convert a large integer to base64

2011-01-15 Thread Frank Church
On 15 January 2011 18:31, Andreas Schneider ak...@gmx.de wrote: On Saturday, January 15, 2011 18:52 Frank Church wrote: Is there a FCL library that can be used to convert a large integer into base64 format? Define large integer ... in case you mean a normal integer/int64: IntToHex

[fpc-pascal] I need some help with using Rijndael encryption algorithm

2010-12-26 Thread Frank Church
:= Cipher.EncryptString(edtInputText.Text); Cipher.Burn; Cipher.Free; end; initialization {$I testform.lrs} end. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] Is there an HMAC digest implementation that works with the FCL?

2010-12-26 Thread Frank Church
Is there an HMAC digest implementation that works with the FCL, ie with the code fpc\2.4.0\source\packages\hash? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] When do I need a component rather than a plain object?

2010-11-14 Thread Frank Church
as Delphi's, or are there some major differences? PS. I asked this question in the Lazarus forum, but on reflection it is a FreePascal question and belongs here instead. -- Frank Church === http://devblog.brahmancreations.com ___ fpc

[fpc-pascal] Precision of timestamp values.

2010-10-22 Thread Frank Church
How accurate can a timestamp be calculated in FreePascal? Is the the Now() function accurate to more than a millisecond? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-18 Thread Frank Church
On 18 October 2010 07:49, Florian Klaempfl flor...@freepascal.org wrote: Am 18.10.2010 08:17, schrieb Zaher Dirkey: On Thu, Oct 14, 2010 at 11:21 AM, Michael Van Canneyt mich...@freepascal.org mailto:mich...@freepascal.org wrote: On Thu, 14 Oct 2010, Frank Church wrote

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-18 Thread Frank Church
On 18 October 2010 14:42, Florian Klaempfl flor...@freepascal.org wrote: Am 18.10.2010 14:58, schrieb Frank Church: On 18 October 2010 07:49, Florian Klaempfl flor...@freepascal.org mailto:flor...@freepascal.org wrote: Am 18.10.2010 08:17, schrieb Zaher Dirkey

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-18 Thread Frank Church
On 18 October 2010 14:55, Frank Church vfcli...@gmail.com wrote: On 18 October 2010 14:42, Florian Klaempfl flor...@freepascal.org wrote: Am 18.10.2010 14:58, schrieb Frank Church: On 18 October 2010 07:49, Florian Klaempfl flor...@freepascal.org mailto:flor...@freepascal.org wrote

[fpc-pascal] What are the issues involved in threads sharing variables?

2010-10-15 Thread Frank Church
application to update the UI. What are the issues involved in making sure that the 2 threads don't conflicted over access to the list? This is my first foray into using threads that share memory structures. -- Frank Church === http://devblog.brahmancreations.com

[fpc-pascal] Can variables be declared within a block?

2010-10-14 Thread Frank Church
Can variables be declared within a begin end block? eg. if y = xxx then begin var xxx; var yyy; end There are there as shortnames for long expressions -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal

[fpc-pascal] Re: Build scripts for Freepascal and Lazarus compilation from source

2010-10-07 Thread Frank Church
On 3 October 2010 10:25, Frank Church vfcli...@gmail.com wrote: I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at http://devblog.brahmancreations.com/content/build-scripts-for-installing-freepascal-and-lazarus-from-source

Re: [fpc-pascal] lNet getting the local IP

2010-10-07 Thread Frank Church
not work. :o -- Silvio Clécio, *programmer* *ObjectPascal* ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Frank Church === http

[fpc-pascal] Build scripts for Freepascal and Lazarus compilation from source

2010-10-03 Thread Frank Church
I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at http://devblog.brahmancreations.com/content/build-scripts-for-installing-freepascal-and-lazarus-from-source . Any comments and tips are well come. -- Frank Church

Re: [fpc-pascal] Build scripts for Freepascal and Lazarus compilation from source

2010-10-03 Thread Frank Church
On 3 October 2010 10:48, Honza befelemepesev...@gmail.com wrote: 2010/10/3 Frank Church vfcli...@gmail.com: I have posted an article and some code on some bash scripts I have developed to install FPC and Lazarus from source at http://devblog.brahmancreations.com/content/build-scripts

[fpc-pascal] Re: How can you convert an enum value to string?

2010-09-12 Thread Frank Church
On 30 August 2010 11:30, Frank Church vfcli...@gmail.com wrote: Is there a subroutine that can convert an enum value to a strings, so that I can do something like ShowMessage(EnumToStr(enumValue))? -- program testnums; //{$APPTYPE CONSOLE} uses Classes, SysUtils; type stType = (stLite

[fpc-pascal] What is wrong with this enum and array related code

2010-09-12 Thread Frank Church
(stType)) do begin d := stTypes[i - Ord(low(stType))]; writestr(s,d); writeln(d + ' ' + IntToStr(Integer(i))); end; readln; end. -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

[fpc-pascal] Re: What is wrong with this enum and array related code

2010-09-12 Thread Frank Church
be the correct way? On 12 September 2010 12:51, Frank Church vfcli...@gmail.com wrote: program testnums; //{$APPTYPE CONSOLE} uses Classes, SysUtils; type stType = (stLite := -100, stDb, stBothLite, stBothDb); //settings location Type stTypes = Array [stType] of integer; var d

Re: [fpc-pascal] Re: What is wrong with this enum and array related code

2010-09-12 Thread Frank Church
On 12 September 2010 13:05, Vincent Snijders vincent.snijd...@gmail.comwrote: 2010/9/12 Frank Church vfcli...@gmail.com: I need to elaborate more on this code On this line d := stTypes[i - Ord(low(stType))]; since stTypes is an array, I expect stTypes[n], with n being 1 to 4

[fpc-pascal] Can freepascal use negative enum values

2010-09-11 Thread Frank Church
Can freepascal use negative enum values, eg type anyType = ( a:= -10, b, c,d,e) so that b,c,d,e are -9 to -6 ? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org

[fpc-pascal] How do you test for set membership?

2010-09-05 Thread Frank Church
dbgRemoteLinks if [dbgRemoteLinks] in dbgActiveOptions then mmoURLPageContent.Lines.AddStrings(procList); Is that the wrong syntax in FreePascal? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist

Re: [fpc-pascal] How do you test for set membership?

2010-09-05 Thread Frank Church
On 5 September 2010 14:48, Jonas Maebe jonas.ma...@elis.ugent.be wrote: On 05 Sep 2010, at 15:05, Frank Church wrote: Running the code below produces this error message: rcacsbilling.pas(3660,25) Error: Identifier not found dbgRemoteLinks if [dbgRemoteLinks] in dbgActiveOptions

[fpc-pascal] How can you convert an enum value to string?

2010-08-30 Thread Frank Church
Is there a subroutine that can convert an enum value to a strings, so that I can do something like ShowMessage(EnumToStr(enumValue))? -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal

Re: [fpc-pascal] How can you convert an enum value to string?

2010-08-30 Thread Frank Church
On 30 August 2010 11:37, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Op 2010-08-30 12:30, Frank Church het geskryf: Is there a subroutine that can convert an enum value to a strings, so that I can do something like ShowMessage(EnumToStr(enumValue))? eg: function ObjectStateToString

[fpc-pascal] Is this if /else syntax wrong?

2010-07-01 Thread Frank Church
. Color := clBlue; end; end; end; end; -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: Is this if /else syntax wrong?

2010-07-01 Thread Frank Church
. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal

Re: [fpc-pascal] Re: Is this if /else syntax wrong?

2010-07-01 Thread Frank Church
It is working now on 2.2.4. I think it was a temporary IDE glitch, which is what I suspected. Adding the ; made it go away, but it wasn't really the problem 2010/7/1 Mattias Gärtner nc-gaert...@netcologne.de Zitat von Frank Church vfcli...@gmail.com: I will be upgrading to 2.4.0 soon

Re: [fpc-pascal] What project management tool does FPC developers use?

2010-05-05 Thread Frank Church
, but I guess you have to get used to it and be able to migrate your data as well. On 5 May 2010 07:29, Zaher Dirkey parm...@gmail.com wrote: On Tue, Apr 27, 2010 at 6:05 PM, Frank Church vfcli...@googlemail.comwrote: What project management tool does FPC and Lazarus developers use? I mean

Re: [fpc-pascal] How to convert ISO format string in FreePascal

2010-05-05 Thread Frank Church
Is the an LCL routine that can get the timezone from the computer on both Windows and Linux? None of the examples mention a way of getting the computer's time zone. On 27 April 2010 20:57, Marco van de Voort mar...@stack.nl wrote: In our previous episode, Frank Church said: attempt is based

Re: [fpc-pascal] linked list to criticize

2010-05-03 Thread Frank Church
-- Felipe Monteiro de Carvalho ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Frank Church === http://devblog.brahmancreations.com

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Frank Church
Jenkins l...@datatrakpos.com wrote: 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 XPath implementation works flawlessly

Re: [fpc-pascal] XML Iteration

2010-05-02 Thread Frank Church
May 2010 21:30, Lee Jenkins l...@datatrakpos.com wrote: 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

[fpc-pascal] Re: What project management tool does FPC developers use?

2010-04-29 Thread Frank Church
like that on a personal basis. On 27 April 2010 17:05, Frank Church vfcli...@googlemail.com wrote: What project management tool does FPC and Lazarus developers use? I mean besides mantis for bug tracking? I am thinking along the lines of JIRA, Redmine, Fogbugz etc. It is hard to get a view

Re: [fpc-pascal] XML Iteration

2010-04-28 Thread Frank Church
...@oi.com.br wrote: Frank Church escreveu: Thanks for the link. What is WST? My searches turn up something related to eclipse. Web Services Toolkit: http://wiki.lazarus.freepascal.org/Web_Service_Toolkit Luiz ___ fpc-pascal maillist  -  fpc-pas

[fpc-pascal] How to convert ISO format string in FreePascal

2010-04-27 Thread Frank Church
gives 2010-04-27 14:50:59 instead of 2010-04-27 15:50:59 in the UK. My current code is based on TDateTime(25569 + (StrToInt(epoch) * 1.0)/86400.0). -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist

  1   2   >