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 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 someth

[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] OT a bit - Planet Object Pascal

2013-02-18 Thread Frank Church
On 18 February 2013 11:19, Graeme Geldenhuys 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 unannounc

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

2013-02-18 Thread Frank Church
On 17 February 2013 13:54, Mark Morgan Lloyd 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 sai

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

2013-02-17 Thread Frank Church
On 17 February 2013 20:30, ik wrote: > On Sun, Feb 17, 2013 at 9:31 PM, Frank Church wrote: >> On 17 February 2013 17:10, ik wrote: >>> On Sun, Feb 17, 2013 at 5:05 PM, Florian Klämpfl >>> wrote: >>>> >>>> Am 17.02.2013 15:36, schrieb ik: &g

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

2013-02-17 Thread Frank Church
On 17 February 2013 19:35, Florian Klämpfl 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 exa

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

2013-02-17 Thread Frank Church
nied by examples and demos is quite another matter. The solution to that is would be some kind of Pascal interpreter with a REPL that would enable FreePascal developers to have their Web 2.0 cake and eat it, so they could develop their IDEs and some web-based documentation CMSs speedily, but most of the efforts in that area, like ElevateSoft Web Buillder, Raudus, SmartMobileStudio etc are closed source. What the Open Source Pascal world needs most now is a good interpreter to start developing their IDE 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 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2013-02-17 Thread Frank Church
, the compiler i.e. FPC is not the same as the IDE Lazarus, which is the hub for most of the activity, so one can understand 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 Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

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

2013-02-17 Thread Frank Church
.co .DOT. uk > > [Opinions above are the author's, not those of his employers or colleagues] > > _______ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal -- Frank Chu

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

2013-02-16 Thread Frank Church
blogged about this year?" Making it this month or this quarter may just be too much. -- 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: what happened to the "contributed units" listing?

2013-02-08 Thread Frank Church
On 7 February 2013 21:23, Michael Van Canneyt wrote: > > > On Thu, 7 Feb 2013, Frank Church wrote: > >> On 7 February 2013 12:35, leledumbo wrote: >>> >>> Bye2 PHP based list, welcome fpweb + ExtJS based list :) >>> >>> >>> >

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

2013-02-07 Thread Frank Church
PC/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@

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

2013-02-07 Thread Frank Church
c-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal I disable Javascript on all websites and selectively enable them, and even them for the majority of the sites it is temporary. -- Frank Church === http:

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

2013-02-06 Thread Frank Church
On 6 February 2013 09:07, Michael Van Canneyt 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)

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

2013-02-06 Thread Frank Church
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/ma

[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

[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

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

2012-10-29 Thread Frank Church
ly appreciated. (i.e. >> something like RPC that handles OOP). >> > > You should try WST. > > It's perfectly suitable for all this. It is actively used and maintained. > You can choose which encoding (binary, soap, JSON) is used, and which > protocol (Direct library, TCP socket, http). > > Michael. > __

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

2012-10-29 Thread Frank Church
t > them to work elsewhere as well > - FQuery.Params[1].Clear //null > +begin > + FQuery.Params[1].Clear; //null > + FQuery.Params[1].Datatype:=ftstring; > +end > ___ > fpc-pascal maillist - fpc-pascal@lists.freep

Re: [fpc-pascal] problems compiling FPC

2012-10-16 Thread Frank Church
t; Regards, > > - Graeme - > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > As the solution doesn't seem to be too d

[fpc-pascal] Best practices on using classes for subroutine libraries

2012-04-09 Thread Frank Church
thinking now of using classes with procedures, without any data in them, so that I subclass them in the projects where I need to change them. Are the some good examples and some known good working practices on working with procedures in this way? -- Frank Church === http

[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 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? > &

[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
join requests on account of this one message . This is the first spam I can remember seeing 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.brahma

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

2012-03-01 Thread Frank Church
n unordered list inside a >> paragraph tag. Not allowed. >> * .Dialact: Caused because you didn't have a tag for the first >> sentence inside the description., but >>you did have an encloded paragraph tag for the second sectence. >> ... > >

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 wrote: > > > On Wed, 29 Feb 2012, Reinier Olislagers wrote: > > On 29-2-2012 17:07, > michael.vancanneyt-**0is9kj9s...@public.gmane.orgwrote: >> >>> On Wed, 29 Feb 2012, Frank Church wrote: >>> >>&

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 wrote: > 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? >

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 wrote: > 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? >

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

2012-02-29 Thread Frank Church
On 29 February 2012 16:07, 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 eas

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

2012-02-29 Thread Frank Church
On 29 February 2012 15:44, 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/** >> l

[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

[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 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 Pas

[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

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

2011-12-18 Thread Frank Church
itter - > Facebook - > LazSolutions - > Lazarus-BR - > === >* Conheça nosso canal IRC sobre Lazarus: #lazarus-br * > === > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org >

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

2011-12-04 Thread Frank Church
On 4 December 2011 11:46, Graeme Geldenhuys wrote: > On 2 December 2011 22:26, Frank Church wrote: > > > > The method in question is the TDomNode.Attributes.Length property. I > thought > > something like that shoud exist but I was looking for a Count property. > >

Re: [fpc-pascal] WideString and TRegexpr

2011-12-03 Thread Frank Church
wiki entry should contain some more info about the Sorokin regexpr and a link to http://regexpstudio.com/. There isn't much info about regular expressions on the wiki itself -- Frank Church === http://devblog.brahmancreations.com __

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

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

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

2011-12-02 Thread Frank Church
On 2 December 2011 19:45, Mattias Gaertner wrote: > On Fri, 2 Dec 2011 19:30:17 + > Frank Church wrote: > > > On 2 December 2011 19:09, Mattias Gaertner >wrote: > > > > > On Fri, 2 Dec 2011 18:59:25 + > > > Frank Church wrote: > > &g

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

2011-12-02 Thread Frank Church
On 2 December 2011 19:09, Mattias Gaertner wrote: > On Fri, 2 Dec 2011 18:59:25 + > Frank Church 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

[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] Re: Indy example returns Runtime Error (211)

2011-11-22 Thread Frank Church
On 22 November 2011 08:18, Marco van de Voort 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 sa

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

2011-11-21 Thread Frank Church
On 20 November 2011 16:57, Frank Church 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 questi

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

2011-11-21 Thread Frank Church
n the programming world. > But we're not here to discuss the merits/disadvantages of the Delphi docs > :-) > > Michael. > > __**_ > fpc-pascal maillist - > fpc-pascal@lists.freepascal.**org > http://lists.freepascal.o

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

2011-11-20 Thread Frank Church
rd Space' Is this a bug or the expected output? 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 - fp

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

2011-11-20 Thread Frank Church
reeAndNil(idstack); > > Any ideas? -- 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 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 C

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 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

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 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 se

[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.brahmancreation

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

2011-10-22 Thread Frank Church
do something different? Ludo > > ___ > 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] How are Assigned, Free, Nil and Destroy related?

2011-10-22 Thread Frank Church
e loop a SIGSEGV occurs. 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://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 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

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

2011-10-21 Thread Frank Church
sound 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] 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

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 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 >

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 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 co

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

2011-09-15 Thread Frank Church
rited Create(CreateSuspended); > InterestedObjects := TList.Create > FCycleComplete := True; > > end; > Do 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 w

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

2011-08-12 Thread Frank Church
? I don't 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.free

[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-p

[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
lazarus-from-source > . > > It looks like it will be better if the samplecfg uses the fpcmkcfg created > with the new build. Has it been updated since the 2005 date it was created? > > How does the normal installation script create the proper fpc.cfg? &g

[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
reated? How does 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
__ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > Congratulations, and thanks for the updates. Are fcl-web and fcl-xml more in line with the versions in 2.5.1, are they sync? I rem

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

2011-02-17 Thread Frank Church
? We should consider it a challenge. 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
__ > fpc-pascal maillist - 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://lists.freepascal.org/mailman/listinfo/fpc-pascal

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 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

[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] How to convert a large integer to base64

2011-01-17 Thread Frank Church
On 15 January 2011 18:52, Henry Vermaak wrote: > On 15 January 2011 17:52, Frank Church 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 no

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 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

[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

[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] I need some help with using Rijndael encryption algorithm

2010-12-26 Thread Frank Church
r: TObject); > var > Cipher: TDCP_rijndael; > begin > Cipher:= TDCP_rijndael.Create(Self); > Cipher.InitStr(edtKeyString.Text,TDCP_sha1); > edtEncryptedText.Text := Cipher.EncryptString(edtInputText.Text); > Cipher.Burn; > Cipher.Free; >

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

2010-11-14 Thread Frank Church
same 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-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 14:55, Frank Church wrote: > > > On 18 October 2010 14:42, Florian Klaempfl wrote: > >> Am 18.10.2010 14:58, schrieb Frank Church: >> > >> > >> > On 18 October 2010 07:49, Florian Klaempfl > > <mailto:flor...@freepascal.o

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

2010-10-18 Thread Frank Church
On 18 October 2010 14:42, Florian Klaempfl wrote: > Am 18.10.2010 14:58, schrieb Frank Church: > > > > > > On 18 October 2010 07:49, Florian Klaempfl > <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 07:49, Florian Klaempfl wrote: > Am 18.10.2010 08:17, schrieb Zaher Dirkey: > > > > > > On Thu, Oct 14, 2010 at 11:21 AM, Michael Van Canneyt > > mailto:mich...@freepascal.org>> wrote: > > > > > > > > On Thu, 14 Oc

[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.brahmancreation

[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

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

2010-10-07 Thread Frank Church
-- >> Luca >> > > I tested, without web access does not work. :o > > -- > Silvio Clécio, > *programmer* *ObjectPascal* > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mail

[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 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] Build scripts for Freepascal and Lazarus compilation from source

2010-10-03 Thread Frank Church
On 3 October 2010 10:48, Honza wrote: > 2010/10/3 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-instal

[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] 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 wrote: > 2010/9/12 Frank Church : > > 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

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

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

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

2010-09-12 Thread Frank Church
o Ord(high(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 mai

[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 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 =

[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

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

2010-09-05 Thread Frank Church
On 5 September 2010 14:48, Jonas Maebe 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" > > > > i

[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-pasca

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 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 Ob

[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

[fpc-pascal] How to set a type as a variable?

2010-08-23 Thread Frank Church
y Delphi 3 or Delphi 7 Can someone help me with this, with some use cases as well? Thanks -- Frank Church === http://devblog.brahmancreations.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.o

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 > Zitat von Frank Church : > > > I will be upgrading to 2.4.0 soon. >> >>

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

2010-07-01 Thread Frank Church
E BEGIN > IF ... THEN > BEGIN >... > END; // <-- This END is for the "IF". > END; // <-- This END is for the "ELSE". > > I recommend to use "BEGIN ... END" blocks in nested "IF" always to > prevent t

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

2010-07-01 Thread Frank Church
eck. 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] 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 wrote: > In our previous episode, Frank Church said: > > attempt is based

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

2010-05-05 Thread Frank Church
setup, 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 wrote: > On Tue, Apr 27, 2010 at 6:05 PM, Frank Church wrote: > >> What project management tool does FPC and Lazarus developers use? I >> mean besides mantis

Re: [fpc-pascal] linked list to criticize

2010-05-03 Thread Frank Church
eepascal.org/Components_and_Code_examples > > -- > Felipe Monteiro de Carvalho > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > -- Frank Churc

  1   2   >