[fpc-pascal] Errors using Extended Class Syntax

2012-11-24 Thread bsquared
Hello, I followed the example on the wiki page, but the compiler disallowed both of the following attempts. {$mode objfpc}{$H+} TExample1 = class private const CN_CONST = 'EXAMPLE CONSTANT'; published property Example: string read CN_CONST; end; Error: Unknown class field or

[fpc-pascal] Re: Errors using Extended Class Syntax

2012-11-24 Thread bsquared
On 11/24/2012 09:06 AM, Jonas Maebe wrote: On 24 Nov 2012, at 17:55, bsquared wrote: I followed the example on the wiki page, but the compiler disallowed both of the following attempts. On which wiki page did you find this code? The code on the wiki does conform to your helpful comments

[fpc-pascal] Seeking Information About Writing SQLite Modules

2012-11-16 Thread bsquared
Hello, The project I am working on may require that I write a Collation extension or module for SQLite. I am looking for some information to get me started with this using FPC. Thank you. -- Regards, Brian ___ fpc-pascal maillist -

[fpc-pascal] Re: FPObserver Examples anywhere?

2012-11-15 Thread bsquared
On 11/15/2012 05:29 AM, Graeme Geldenhuys wrote: On 2012-11-15 01:15, bsquared wrote: Hello, Does anyone know of any example code for the FPObserver interface? Preferable with Collections. Sure, see attached. It's very basic, but shows the functionality. NOTE: I used latest 2.7.1

[fpc-pascal] Re: FPObserver Examples anywhere?

2012-11-15 Thread bsquared
On 11/15/2012 08:39 AM, Sven Barth wrote: Am 15.11.2012 14:29, schrieb Graeme Geldenhuys: 1) I would probably surface the IFPObserver methods to Public. Though there is good arguments to not do it either - thus you are forced to use correct interface usage... via Supports(), getting

[fpc-pascal] Re: FPObserver Examples anywhere?

2012-11-15 Thread bsquared
On 11/15/2012 11:38 AM, Graeme Geldenhuys wrote: On 2012-11-15 18:01, bsquared wrote: I have had no exposure to CORBA. Your example gave me just what I needed. CORBA style interface are simply interfaces without reference counting - so you are in control of when to free instances. CORBA

[fpc-pascal] A question about generic collections - maybe...

2012-11-14 Thread bsquared
Hello, I am wondering what the best approach to this problem is. I have what amounts to a Tstringlist that I am attempting to use generics for typing the objects and I would like to get the names and values as lists. I am thinking something along the lines of the following, but it doesn't

[fpc-pascal] Re: A question about generic collections - maybe...

2012-11-14 Thread bsquared
On 11/14/2012 12:10 PM, bsquared wrote: Hello, I am wondering what the best approach to this problem is. I have what amounts to a Tstringlist that I am attempting to use generics for typing the objects and I would like to get the names and values as lists. I am thinking something along

[fpc-pascal] FPObserver Examples anywhere?

2012-11-14 Thread bsquared
Hello, Does anyone know of any example code for the FPObserver interface? Preferable with Collections. Thank you. -- Regards, Brian ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Building 2.7.1 cross compiler

2012-11-13 Thread bsquared
On 11/13/2012 05:16 AM, patspiper wrote: On 13/11/12 15:04, patspiper wrote: Hi, Since a few weeks, I have been unable to build the 2.7.1 cross compiler (from Linux 32 bit to Win32), while the 2.6.1 cross compiler builds merrily. My OS is Ubuntu 11.04 32 bits. What could be wrong? Stephano

[fpc-pascal] Re: Can JCF handle Generics?

2012-11-11 Thread bsquared
On 11/10/2012 08:31 PM, leledumbo wrote: It can (modify the parser of course), and AFAIR, in the Lazarus trunk it already handles some. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Can-JCF-handle-Generics-tp5711920p5711924.html Sent from the Free Pascal -

[fpc-pascal] Can JCF handle Generics?

2012-11-10 Thread bsquared
Hello, Is there a way to have JCF deal with generics? It looks like it complains about them. eg. JCF: Exception TEParseError Unexpected token, expected ; Near TFPGMap Thank you. -- Regards, Brian ___ fpc-pascal maillist -

[fpc-pascal] Re: RESTful JSON: Your thoughts about implementation

2012-11-09 Thread bsquared
On 11/08/2012 09:36 AM, bsquared wrote: Hello, I thought I would put this out to see what helpful information I could gather. I am in need of some JSON and HTTP functionality. I am thinking about using some pieces from WST and I was looking for some input on this. What I am doing is pulling

[fpc-pascal] Re: cannot make debugserver

2012-11-08 Thread bsquared
On 11/08/2012 02:13 AM, michael.vancann...@wisa.be wrote: On Wed, 7 Nov 2012, Graeme Geldenhuys wrote: On 07/11/2012 22:13, bsquared wrote: I like the tiOPF based Logging. Nice work. It is the most reliable logging framework I know. For example, the dbugintf unit in FPC has major

[fpc-pascal] RESTful JSON: Your thoughts about implementation

2012-11-08 Thread bsquared
Hello, I thought I would put this out to see what helpful information I could gather. I am in need of some JSON and HTTP functionality. I am thinking about using some pieces from WST and I was looking for some input on this. What I am doing is pulling data from a JSON-RESTful web

[fpc-pascal] Re: RESTful JSON: Your thoughts about implementation

2012-11-08 Thread bsquared
On 11/08/2012 09:47 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: Hello, I thought I would put this out to see what helpful information I could gather. I am in need of some JSON and HTTP functionality. I am thinking about using some pieces from WST and I was looking

[fpc-pascal] Re: RESTful JSON: Your thoughts about implementation

2012-11-08 Thread bsquared
On 11/08/2012 09:56 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: On 11/08/2012 09:47 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: Hello, I thought I would put this out to see what helpful information I could gather. I am in need of some JSON

[fpc-pascal] Re: RESTful JSON: Your thoughts about implementation

2012-11-08 Thread bsquared
On 11/08/2012 09:56 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: On 11/08/2012 09:47 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: Hello, I thought I would put this out to see what helpful information I could gather. I am in need of some JSON

[fpc-pascal] Re: RESTful JSON: Your thoughts about implementation

2012-11-08 Thread bsquared
On 11/08/2012 02:08 PM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: On 11/08/2012 09:56 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: On 11/08/2012 09:47 AM, Michael Van Canneyt wrote: On Thu, 8 Nov 2012, bsquared wrote: Hello, I thought I

[fpc-pascal] Re: cannot make debugserver

2012-11-08 Thread bsquared
On 11/08/2012 04:50 PM, Noah Silva wrote: Hi bsquared, Just as an aside, the debug server included in the lazarus tools directory compiles fine for me. If you want a GUI version, you can use that one out of the box. Thank you, Noah Silva 2012/11/08 2:26 bsquared bwcod...@gmail.com

[fpc-pascal] cannot make debugserver

2012-11-07 Thread bsquared
Hello, I am trying to get back up to speed after a couple of years away from FPC/Laz, and I hope I am not a P.I.T.A. ... I searched the mail archive, but I found nothing. I am using 'fpc 2.7.1', and debugserver does not compile/make for me. Did I overlook a setting? Thank you. This is

[fpc-pascal] Re: Questions About Porting Java and Extended Class Syntax Features

2012-11-07 Thread bsquared
On 11/06/2012 07:44 PM, leledumbo wrote: What is the best way to port 'private static final' member? private class var (assuming you want to declare a variable). private static final SetString = STATIC_SET; static { STATIC_SET = new HashSetString; STATIC_SET.Add(A Value); ...

[fpc-pascal] Re: cannot make debugserver

2012-11-07 Thread bsquared
On 11/07/2012 09:26 AM, bsquared wrote: Hello, I am trying to get back up to speed after a couple of years away from FPC/Laz, and I hope I am not a P.I.T.A. ... I searched the mail archive, but I found nothing. I am using 'fpc 2.7.1', and debugserver does not compile/make for me. Did I

[fpc-pascal] Re: cannot make debugserver

2012-11-07 Thread bsquared
lingering around somewhere. Good luck :-) On 11/07/2012 07:51 PM, bsquared wrote: On 11/07/2012 09:26 AM, bsquared wrote: Hello, I am trying to get back up to speed after a couple of years away from FPC/Laz, and I hope I am not a P.I.T.A. ... I searched the mail archive, but I found nothing. I

[fpc-pascal] Re: cannot make debugserver

2012-11-07 Thread bsquared
On 11/07/2012 11:29 AM, Graeme Geldenhuys wrote: On 2012-11-07 18:51, bsquared wrote: the debugserver server that is an example in fpGUI. I built that and it works. tiOPF was also suggested. I intend to look into it as well. I use both of those. Just a small note that the tiOPF logging

[fpc-pascal] Re: cannot make debugserver

2012-11-07 Thread bsquared
On 11/07/2012 11:29 AM, Graeme Geldenhuys wrote: On 2012-11-07 18:51, bsquared wrote: the debugserver server that is an example in fpGUI. I built that and it works. tiOPF was also suggested. I intend to look into it as well. I use both of those. Just a small note that the tiOPF logging

[fpc-pascal] Questions About Porting Java and Extended Class Syntax Features

2012-11-06 Thread bsquared
Hello, I am looking into porting Java to Free Pascal. I have some confusion about how to port certain types of Java Lang Features. What is the best way to port 'private static final' member? I was thinking the extended class syntax would cover this, but I dont it will work for a scenario

[fpc-pascal] Error compiling android example: can't locate arm-linux-as

2012-10-31 Thread bsquared
Hello all, Can anyone shed some light on this problem for me? I am trying to configure FPC/Lazarus for Android Cross-Compiling. I have followed the directions as indicated here: http://wiki.lazarus.freepascal.org/Android_Interface but I get this error on compiling the project. 8

[fpc-pascal] Design Patterns Questions

2012-10-28 Thread bsquared
Hi all, It has been some time since I have used FPC/Laz. I was looking for some information on 'observer pattern' the other day, and I found this article[1]. I notice that it is a bit old, and it makes me question whether or not I have made an error following it. I get an invalid cast error at

[fpc-pascal] Re: Design Patterns Questions

2012-10-28 Thread bsquared
On 10/28/2012 08:09 AM, bsquared wrote: Hi all, It has been some time since I have used FPC/Laz. I was looking for some information on 'observer pattern' the other day, and I found this article[1]. I notice that it is a bit old, and it makes me question whether or not I have made

[fpc-pascal] Re: Design Patterns Questions

2012-10-28 Thread bsquared
On 10/28/2012 08:53 AM, Juha Manninen wrote: On Sun, Oct 28, 2012 at 5:09 PM, bsquared bwcod...@gmail.com wrote: And as an aside, what is the state of tiOPF, I could not get it to install in Lazarus 1.02. tiOPF2 works with Lazarus but the visual data-components included in tiOPF do

[fpc-pascal] Re: Design Patterns Questions

2012-10-28 Thread bsquared
On 10/28/2012 12:05 PM, Graeme Geldenhuys wrote: On 28/10/2012 16:42, bsquared wrote: Graeme Geldenhuys actively maintains tiOPF version 2. Yeah, his always hard at work. ;-) It works definitely with Lazars 1.0.2, I use it myself. +1 Thank you for responding. I thought I recalled

Re: [fpc-pascal] Re: Generics in Delphi mode?

2011-03-31 Thread bsquared
On Wed, Mar 30, 2011 at 7:38 PM, leledumbo leledumbo_c...@yahoo.co.id wrote: Can't wait? Just take the snapshots ;) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Generics-in-Delphi-mode-tp4272087p4272664.html Sent from the Free Pascal - General mailing

Re: [fpc-pascal] tiOPF: which version to take?

2011-02-11 Thread bsquared
On Fri, Feb 11, 2011 at 3:23 AM, leledumbo leledumbo_c...@yahoo.co.id wrote: Currently tiOPF svn contains tiOPF2 and tiOPF3, which one is recommended for use? Is tiOPF3 stable enough? -- View this message in context: