Re: [fpc-pascal] FPC class syntax was extended to support delphi code

2010-01-14 Thread Paul Ishenin
Marc Weustink wrote: Can we have a virtual version too like described here http://hallvards.blogspot.com/2007/05/hack17-virtual-class-variables-part-i.html Well, I suppose we can if someone will implement ;) Best regards, Paul Ishenin. ___ fpc

Re: [fpc-pascal] RTTI Bug or something else i did wrong...

2010-01-15 Thread Paul Ishenin
constructor is raises an exception it calls a destructor. This is so because allocated memory needs to be freed. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: creating a standalone executable (eg: applicationinstallation file)

2010-01-18 Thread Paul Nicholls
_ > fpc-pascal maillist - > fpc-pascal-pd4fty7x32k2wbthl531ywd2fqjk+...@public.gmane.org > http://lists.freepascal.org/mailman/listinfo/fpc-pascal > Hi Graeme, perhaps this link might help - it shows you how to create a linux script with appended zip'd data, and th

Re: [fpc-pascal] Re: creating a standalone executable(eg: applicationinstallation file)

2010-01-19 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" To: "FPC-Pascal users discussions" Sent: Tuesday, January 19, 2010 6:36 PM Subject: Re: [fpc-pascal] Re: creating a standalone executable(eg: applicationinstallation file) Paul Nicholls wrote: http://www.franzon

Re: [fpc-pascal] ActiveFormHandle from TApplication

2010-01-21 Thread Paul Ishenin
t i might need to make a property to read the TList of FFormList and check on each form to out if its the active form. ( not sure about this part ). You are searching the wrong object. Look at TScreen.ActiveForm / TScreen.ActiveCustomForm (as I remember). Best regards, Pau

Re: [fpc-pascal] Component Writing Question For Lazarus

2010-02-04 Thread Paul Ishenin
ould do thin in Delphi. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] GetEnumerator on Generics

2010-03-01 Thread Paul Ishenin
d a GetEnumerator to those classes, but I'm unsure as to how to define the enumerator type. which needs to be a class that can hold a reference to the specialised generic container. If you look at fgl which is in trunk you will find one GetEnumerator implementation there. B

Re: [fpc-pascal] including libraies ?

2010-03-14 Thread Paul Nicholls
ere is some simple method here that I am totally ignorant of. HI Terry, you should be able to just include SysUtils in your uses clause without any issues. The compiler should be able to find that unit (and others needed) automatically... {code} Uses Classes, Process,SysUtils; {code} che

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-15 Thread Paul Breneman
ution for cross-compiling WinCE applications near the bottom of this page: http://www.turbocontrol.com/helloworld.htm -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software development services - Educational programm

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-16 Thread Paul Breneman
ded GUI systems. :) -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware and software development services - Educational programming project for environment monitoring - Information on using FreePascal for embedded systems - Support info

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Paul Breneman
Graeme, Good news, the fixes seem to work well on my Garmin. I fixed some memory leaks and drawing improvements for the "examples/corelib/helloworld/" demo too. I'll commit the code tomorrow - I ran out of time today. @Paul Thanks again for your FPC+fpGUI starter compiler s

Re: [fpc-pascal] fpGUI Toolkit on WinCE

2010-03-18 Thread Paul Breneman
Jonas Maebe wrote: On 18 Mar 2010, at 16:24, Paul Breneman wrote: For the benefit of others reading this message thread I would like to mention that I have posted a minimal FreePascal and fpGUI distribution for cross-compiling WinCE applications near the bottom of this page: http

Re: [fpc-pascal] Reference Counting

2010-04-04 Thread Paul Ishenin
04.04.2010 22:53, Zaher Dirkey wrote: But he must use variable of interface to use TInterfacedObject not variable of TObject to take this advantage (if i am not wrong). You are not wrong. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc

Re: [fpc-pascal] linked list to criticize

2010-05-02 Thread Paul Nicholls
Hi Denis, nice :) I'm curious, why didn't you make it a class...wouldn't that have made it nicer/easier to use and program? cheers, Paul - Original Message - From: "spir ☣" To: "FreePascal" Sent: Monday, May 03, 2010 4:25 AM Subject: [fpc-pasca

Re: [fpc-pascal] timing again

2010-06-01 Thread Paul Breneman
would be perfect, since more precision can be rounded, while the contrary is a hard task!) Denis The standard clock for the system timer runs at 1,193,182 Hz, derived for the original IBM PC as the 4.77 MHz processor clock divided by 4. -- Regards, Paul Breneman www.dbReplication.com - VCL

Re: [fpc-pascal] For-in support in the next FPC release

2010-06-02 Thread Paul Ishenin
used by Lazarus only after the release. Before that we need to wait. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Static Initialisation of Arrays

2010-06-28 Thread Paul Michell
arrays in the same way that strings litterals are in effect, variable length static declarations. Thanks in advance, Paul Michell P.S. I'm using FPC 2.4.1 i386-win32-win32/win64 ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Static Initialisation of Arrays

2010-06-28 Thread Paul Michell
Thanks, that will save me some futile googling ;) On 28/06/2010 10:22, Jonas Maebe wrote: On 28 Jun 2010, at 11:17, Paul Michell wrote: I realise that 'Array Of Single' declares a dynamic array, but is there any equivalent syntax for static data arrays in the same way that strings

Re: [fpc-pascal] How to include a Windows Version resource in a fpc compiled DLL?

2010-07-02 Thread Paul Ishenin
sion information in it and Lazarus create a res file for you. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] How to include a Windows Version resource in a fpc compiled DLL?

2010-07-02 Thread Paul Ishenin
into your project {$R myres.res} you will have a dll with the version information. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpc-passrc expression parser (issue #16914)

2010-07-13 Thread Paul Nicholls
Michael. Hi all, I am interested in expression parsers myself :) Where can I find the code for "fpexprpars.pp" and other fpc parsing code like that? I had bit of a look browsing the SVN online, but no luck... cheers, Paul ___

Re: [fpc-pascal] Is Delphi7 on Windows to FPC on embedded Linux possible?

2010-09-25 Thread Paul Breneman
This won't answer all of your questions but I hope it will help: http://www.turbocontrol.com/embeddedfreepascal.htm I'd be glad to discuss this in more detail. -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardware an

Re: [fpc-pascal] TInterfacedObject memory management

2010-10-17 Thread Paul Ishenin
17.10.2010 21:31, Juha Manninen (gmail) wrote: program project1; {$mode objfpc}{$H+} uses Classes; var io: TInterfacedObject; begin io := TInterfacedObject.Create; end. Try the same but replace io type to IUnknown. Best regards, Paul Ishenin

[fpc-pascal] Re: ReadStr/WriteStr vs Val/Str

2010-10-18 Thread Paul Nicholls
:= Format('%d',[]); float to string: s := Format('%.4f',[]); //formats a floating point number to 4 decimal places (just change, or remove if you want scientific notation I think) I hope this helps :) cheers, Paul ___

Re: [fpc-pascal] Range checking in a for loop

2010-10-25 Thread Paul Ishenin
) as the lower bound and High(a) as the high bound. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Re: TPLY

2010-10-28 Thread Paul Nicholls
compiled to byte code), and pascal-like HL language compiled to virtual machine ML instructions :) cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Re: TPLY

2010-11-01 Thread Paul Nicholls
t; write > a parser for a language that can't be parsed in single pass like Java. > True, but you just have to use the code as a starting point and generate an AST :) "Shouldn't be too hard..." (tm) LOL cheers, Paul ___

Re: [fpc-pascal] Re: variables in class, class variables and fields

2010-11-06 Thread Paul Ishenin
06.11.2010 21:39, ik wrote: But why class variables and not class fields ? What is the difference? "var" is already a reserved word. reserving a word "field" will cause more problems than using an already reserved word. Best r

Re: [fpc-pascal] Re: variables in class, class variables and fields

2010-11-06 Thread Paul Ishenin
citly start a field section by "var" keyword. For example: TAClass = class private type TMyInt = type integer; var // this keyword is required here Field1: TMyInt; end; Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pa

Re: [fpc-pascal] FPC's behavior regarding new TObject methods

2010-11-13 Thread Paul Ishenin
. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-14 Thread Paul Breneman
Martin Schreiber wrote: Hi, MSEide+MSEgui version 2.4 for FPC 2.4.2 has been released: https://developer.berlios.de/project/showfiles.php?group_id=11520 Questions and bug reports please to mailing list: https://lists.berlios.de/mailman/listinfo/mseide-msegui-talk NNTP gateway: nntp://news.gmane.

Re: [fpc-pascal] MSEide+MSEgui rev.2.4

2010-11-14 Thread Paul Breneman
Marco van de Voort wrote: In our previous episode, Paul Breneman said: This is a new page with FPC 2.4.2 and fpGUI: http://www.turbocontrol.com/easyfpgui.htm I'd like to set up a similar page for MSEgui (and maybe for MSEide as well). Please contact me off-list about this. Btw

Re: [fpc-pascal] Looking for SDL_opengl header

2010-12-08 Thread Paul Nicholls
t even be on this list. You can also find Dominique on these forums: www.pascalgamedevelopment.com See his profile page here: http://www.pascalgamedevelopment.com/member.php?10-savage and here is Savage Software: http://www.savagesoftwaresolutions.com/ He is/was the main guy doing th

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-10 Thread Paul Ishenin
this new mechanism (See Jonas' answer to my previous post, badly sent :-( ). But it might be possible to add this mechanism, by making patches to FPC. Yes. Would it interest somebody to have this new functionality? Yes. Best regards, Paul Ishenin _

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-22 Thread Paul Ishenin
h to be able to compile rtti unit. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] The new Delphi 2010 RTTI

2010-12-22 Thread Paul Ishenin
this has low priority for me. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: fpGUI powered by OpenGL

2010-12-22 Thread Paul Nicholls
ously. I've now been able to > hook most fpGUI messages to GLut. > > Regards, Darius > Hi Darius, nicely done :) I for one, would be interested in the code :) cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Re: fpGUI powered by OpenGL

2010-12-22 Thread Paul Nicholls
- Original Message - From: "Darius Blaszyk" To: "FPC-Pascal users discussions" Sent: Thursday, December 23, 2010 10:15 AM Subject: Re: [fpc-pascal] Re: fpGUI powered by OpenGL On Thu, 2010-12-23 at 10:06 +1100, Paul Nicholls wrote: "Darius Blaszy

Re: [fpc-pascal] Moving callbackfunctions to class

2010-12-31 Thread Paul Ishenin
31.12.2010 7:53, Darius Blaszyk wrote: I installed 2.5.1 just to test if it was possible to use static class methods or not. Apparently not so it seems. It was a good try, but it failed. Thanks anyway for the help and explanation Jonas. Try {$mode delphi}. Best regards, Paul Ishenin

Re: [fpc-pascal] Moving callbackfunctions to class

2011-01-01 Thread Paul Ishenin
31.12.2010 20:01, Darius Blaszyk wrote: On Dec 31, 2010, at 10:43 AM, Paul Ishenin wrote: 31.12.2010 7:53, Darius Blaszyk wrote: I installed 2.5.1 just to test if it was possible to use static class methods or not. Apparently not so it seems. It was a good try, but it failed. Thanks anyway

Re: [fpc-pascal] error compiling lazarus

2011-01-02 Thread Paul Ishenin
02.01.2011 22:57, Benedikt Schindler wrote: hello, when i try to compile lazarus i get following error: [compiler crash] has anyone an idea what this could be? If the compiler version is from older than today please try to update and rebuild the compiler. Best regards, Paul Ishenin

Re: [fpc-pascal] Supports() only checks declared interfaces?

2011-01-06 Thread Paul Ishenin
this a bug, and I should submit it? This is expected behavior. It works the same way as in delphi. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Supports() only checks declared interfaces?

2011-01-06 Thread Paul Ishenin
TB = class(TInterfacedObject, IB)" ? TB is declared as it only implements IB. Or is my only choice to just declare "TB = class(TInterfacedObject, IA, IB)" ? Yes. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@

Re: [fpc-pascal] Re: Building kernel modules using fpc (for fun)

2011-01-15 Thread Paul Breneman
Sven Barth wrote: On 15.01.2011 21:10, Lukasz Sokol wrote: Henry Vermaak writes: On 15 January 2011 19:48, Sven Barth wrote: I might not be able to help you regarding this topic, but I believe that you'll get a wall of "use C, god damnit" if you ask there :P @Sven : it's for fun. Whethe

Re: [fpc-pascal] Re: Building kernel modules using fpc (for fun)

2011-01-15 Thread Paul Breneman
Lukasz Sokol wrote: Hey, take a look. I've basically removed all the calls that were referring to creating, reading and writing the procfs file. Only left init_module and cleanup_module so I only left trivial Hello World and Bye-bye messages. In fact I think even that should be made par with c

Re: [fpc-pascal] fgl.TFPGMap

2011-01-20 Thread Paul Ishenin
:= PtrInt(a) < PtrInt(b); end; type TMyMap = specialize TFPGMap ; begin end. Please report this bug to the tracker. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]Unit initialization on Android library

2011-02-12 Thread Paul Ishenin
12.02.2011 16:36, Dejan Boras wrote: I've got a library which runs on Android, and is loaded by a Java program. The INITIALIZATION sections of units do not seem to be called, is there a way to do this manually, or am I missing something? It must be done automatically but you can force it yours

Re: [fpc-pascal] Re: assign code to a method

2011-02-22 Thread Paul Nicholls
I second the motion of using a Dynamic array too instead of the manual creation/destruction of a memory block. I use this for a virtual machine I created a few years back and it works under XP/Vista for me :) cheers, Paul - Original Message - From: "Jonas Maebe" To: &

Re: [fpc-pascal] com port using prolific driver

2011-03-12 Thread Paul Breneman
pc program that'll work on win xp. I have some files here that might help you get started using the SynaSer package with FPC: http://www.turbocontrol.com/simpleserial.htm -- Regards, Paul Breneman www.dbReplication.com - VCL database replication components www.TurboControl.com - Hardwa

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-11 Thread Paul Ishenin
ng at my free time I don't think it will be finished by me, so I will add a note there today. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] TMenu - barbreak Delphi Compatbility.

2011-04-12 Thread Paul Ishenin
play with TMenuItem.Handle and windows api in {$ifdef windows} block inside your application. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Delphi 2010 code crashing in Lazarus (0.9.30, Win32)

2011-04-13 Thread Paul Nicholls
heers, Paul -- "The plastic veneer of civilization is easily melted in the heat of the moment" - Paul Nicholls ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-13 Thread Paul Ishenin
13.04.2011 21:51, Sven Barth wrote: Would you mind if I'd try to continue/finish that work? Please do. Best regards, Paul Ishenin ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] generic, specialize keywords in mode delphi in FPC trunk

2011-04-14 Thread Paul Ishenin
which I stoped my work. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Generics feature status

2011-04-29 Thread Paul Ishenin
...; Then you can declare variables with any of that types. E.g. var L: TList; LI: TList; LIO: TList As I know Sven will work to support this and other missing generics features. Best regards, Paul Ishenin ___ fpc-pascal maillist -

Re: [fpc-pascal] Re: Fatal error "Executable image size is too big for wince target"

2011-05-17 Thread Paul Ishenin
17.05.2011 22:10, Felipe Monteiro de Carvalho wrote: Does anyone know if we have our own internal linker to wince? It seams that yes, but I that's very strange for me. I thought that we have it only for x86-win32. We have it for all windows targets. Best regards, Paul Is

Re: [fpc-pascal] Windows test program

2011-06-23 Thread Paul Breneman
ram in the demos folder that is similar to the program you posted. You might give it a test. Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Prof. Wirth speaking on Oberon day

2011-06-30 Thread Paul Nicholls
p;cd=4&ved=0CDUQtwIwAw&url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DHoZuzE7Lq5E&ei=LVAMTvHlL8nMtAaK7JjWDg&usg=AFQjCNH8IqQ6XmTRf1xgEDO0MhLb0zNzKQ&sig2=BTEC0ZPEueDm7FVacnw8Pg> Thanks for sharing Markus! cheers, Paul ___

[fpc-pascal] Re: Library for network calculation

2011-07-25 Thread Paul Nicholls
unction NetMaskToHostMask(NetMask : TNetworkIP): TNetworkIP; > Begin > Result.Mode := False; > NetMask.Mode := False; > Result.IP := NetMask.IP Xor %; > End; > I didn't know that freepascal handled binary formatted numbers?!?

Re: [fpc-pascal] Multiple enumerators per class

2011-09-16 Thread Paul Ishenin
each new. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Syntax error with new FPC SVN

2011-09-30 Thread Paul Ishenin
: 1. delphi does not support such declarations 2. we don't have a test for this kind of syntax So maybe we had a feature by accident? Should I restore that behavior? Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal

Re: [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 Paul Ishenin
trict private" section type. Best regards, Paul Ishenin. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc

2011-12-23 Thread Paul Breneman
I have posted a 3.9 MB zip file that has a minimal distribution of the FPC 2.4.4 compiler as well as the new fpGUI v0.8 source code on this page: http://www.turbocontrol.com/easyfpgui.htm I've also included (Synapse) SynaSer source and a serial debug terminal program I've been working on. Al

Re: [fpc-pascal] fpGUI Toolkit v0.8 release for FPC 2.4.4 & 2.6.0-rc

2012-01-04 Thread Paul Breneman
Since the earlier release on 23-Dec-2011 the file mentioned below has been updated to FPC 2.6.0 and the serial debug terminal example also has some improvements made. Paul Breneman wrote on 23-Dec-2011: I have posted a 3.9 MB zip file that has a minimal distribution of the FPC 2.4.4 compiler

Re: [fpc-pascal] Alternative to generic advanced records

2012-02-07 Thread Paul Ishenin
FPC trunk versions - there you can influence on what will be released. Btw, did you report about all found bugs in advanced records? I've fixed 3 related bugs and the fixes are in trunk. Best regards, Paul Ishenin ___ fpc-pascal maillist

Re: [fpc-pascal] db2 connection component

2005-12-03 Thread Paul Davidson
Mr. Bee, let me know if one turns up! Thanks On Dec 3, 2005, at 8:13, Bisma Jayadi wrote: Dear all, I'm currently trying to convert a Delphi database application which access an IBM DB2 database server through dbExpress component, onto Lazarus (FPC). I think the TxxxConnection database conne

[fpc-pascal] ppas.sh

2005-12-13 Thread Paul Davidson
Trying to compile app. Free Pascal Compiler version 2.0.2 [2005/11/15] for powerpc Mac OS X 10.3 Compilation end with: Closing script build/cape90.build/cape90.build/ppas.sh 263 Lines compiled, 0.8 sec Any hints? P Davidson ___ fpc-pascal maillist -

Re: [fpc-pascal] ppas.sh

2005-12-13 Thread Paul Davidson
Problem solved. Turned out to be corrupt project file(s). i.e. app.1 or app.xcode. Created new project, copied over source. Joy. On Dec 13, 2005, at 15:04, Vincent Snijders wrote: Paul Davidson wrote: Trying to compile app. Free Pascal Compiler version 2.0.2 [2005/11/15] for powerpc Mac OS

[fpc-pascal] astring.pas

2005-12-16 Thread Paul Davidson
Darwin 2.1.1 today astrings.inc(88,1) Fatal: Syntax error, "BEGIN" expected but "shl" found astrings.inc(88,1) Fatal: Compilation aborted P Davidson http://CoraxNetworks.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freep

Re: [fpc-pascal] Object pascal a "Modern Language"

2006-03-03 Thread Paul Davidson
Mild Pascal rant: Thank you for considering Pascal. Contrary to popular belief, Pascal is indeed a modern language. Though developed some time ago it has evolved the to include most of the extensions seen in 'modern' languages. It should be noted that modern is not synonymous with recently

Re: [fpc-pascal] 64 bits

2006-03-20 Thread Paul Davidson
Works from here On Mar 20, 2006, at 15:46, constantijnw wrote: Michael Van Canneyt wrote: On Mon, 20 Mar 2006, constantijnw wrote: Vincent Snijders wrote: constantijnw wrote: Hi, FPC programming for 64 bits processors; anyone written some helpful guidelines, article, etc.? There

[fpc-pascal] Async

2006-04-03 Thread Paul Davidson
Any code examples using FPC libsync available. Thanks P Davidson Corax Networks Inc. http://CoraxNetworks.com ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] google summer of code?

2006-04-27 Thread Paul Davidson
Speculation and rumor are more fun On Apr 27, 2006, at 15:44, Marc Santhoff wrote: Am Donnerstag, den 27.04.2006, 14:22 -0300 schrieb John Coppens: On Thu, 27 Apr 2006 13:20:39 -0300 "Flávio Etrusco" <[EMAIL PROTECTED]> wrote: Or because opensource world tends to be C-centric, or because FPC

[fpc-pascal] Re: Lua and Freepascal and ARM

2007-06-21 Thread Paul Nicholls
ike to get into using Lua under arm-linux myself (already used Lua and freepacal under Win32 with no problems) cheers, Paul. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] Re: Re: Lua and Freepascal and ARM

2007-06-24 Thread Paul Nicholls
Hi Paul, Hi Jose :-) I can't help you with your problem, but I am curious... thanks anyway, 1)is your ARM system using Linux? yes, 2)for Lua under ARM, are you using dynamic linking or static linking? i'm using dynamic linking but you can use static if you want. F

Re: [fpc-pascal] Re: Re: Lua and Freepascal and ARM

2007-06-26 Thread Paul Nicholls
Hi Paul, I also need, as you, to call lua procedures from delphi/fpc and I need Lua call procedures inside delphi/fpc. Should it posible to share with me your implementation in order to check it works with fpc (linux-arm)? Sure, I am not sure if I am allowed to add attachments to this

Re: [fpc-pascal] Pascals unit for associate arrays?

2007-09-10 Thread Paul Nicholls
unt(MyList,'string2')); WriteLn('string3 ',GetStringCount(MyList,'string3')); Should output string1 2 string2 2 string3 1 Hope this helps, cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] fpc 2.2.0 win32_arm-linux cross-compiler issue

2007-09-26 Thread Paul Nicholls
h file to compile my pascal program that I used before so I am unsure why it is saying that the Target OS: WinCE for ARM is coming up :( cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpc 2.2.0 win32_arm-linux cross-compiler issue

2007-09-27 Thread Paul Nicholls
nux\4.0.2 -Flg:\devkitGP2X\lib\pkgconfig -Flg:\devkitGP2X\sysroot\lib -Flg:\devkitGP2X\sysroot\usr\lib -Flg:\devkitGP2X\sysroot\usr\lib\gconv # -Flg:\Fpc\2.0.4\lib\arm-linux\lib # -Flg:\Fpc\2.0.4\lib # -Flg:\Fpc\2.0.4\lib\sysroot\lib # -Flg:\Fpc\2.0.4\lib\sysroot\usr\lib # SOFT LIBGCC FPA FPA10 FPA11 VFP #ENDIF cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] fpc 2.2.0 win32_arm-linux cross-compiler issue

2007-09-27 Thread Paul Nicholls
t; #endif > > Sorry, ignore the #ifdef cpuarm -Tlinux #endif in my previous post...I was using the fpc.cfg without that new addtion :) cheers, Paul ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] problem with interface (OOP not widget)

2008-01-24 Thread Paul Nicholls
Hi Bee, perhaps you could try using {$MODE Delphi} instead of {$MODE OBJFPC} since you seem to want Delphi compatibility. cheers, Paul On 23/01/2008, Bee <[EMAIL PROTECTED]> wrote: > > Hi all, > > I got problem with the code below. > > --->8--- begin code --->8-

Re: [fpc-pascal] > ARM and graphic libraries

2008-02-24 Thread Paul Nicholls
X. I have been doing graphics using the JEDI-SDL units, and also with the raw frame buffer on the device. http://fpc4gp2x.eonclash.com/ http://wiki.freepascal.org/GP2X cheers, Paul Nicholls ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.or

Re: [fpc-pascal] "Building-Block" Design - or putting it all together ; -)

2008-04-09 Thread Paul Nicholls
r problem directly, but perhaps this newsgroup for object orient programming could help: News server:newsgroups.borland.com news group:borland.public.delphi.oodesign It is for Delphi, but it would be equally valid for freepascal as both use object pascal... cheers, Paul _

[fpc-pascal]Hex chars

2003-09-07 Thread Paul Aviles
I am trying to write to a serial LCD device on /dev/ttys0 and I need to pass hex codes to it. According to the documentation, in C is done like this:   putch(0xfe); putch('X');   What will be the similar commad in FPC?   Thanks -pa  

[fpc-pascal]Read from command line

2003-09-07 Thread Paul Aviles
Hello all,   In the old TP there just to be a way to read a string from the command line at the same time you invoked the program thus doing:   myprogram param1 param2   made those two variables available to the program and you could do some action, just like passing variables to a function.

[fpc-pascal]Linux USB?

2003-09-16 Thread Paul Aviles
Hello, guys, I am working on a project to control a MatrixOrbital LCD panel and keyboard from FPC and I got it working great with a serial interface, but what about a USB unit? Is it possible to use USB devices directly from FPC? Any samples out there? Thanks -- Paul Aviles http

[fpc-pascal]How to daemonize a program?

2004-01-11 Thread Paul Aviles
Hello all, I know I can start a program with & at the end and will run in the background. Is there a way to do this without the & symbol in Linux? Thanks -pa ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/f

[fpc-pascal]Capturing a Kernel Panic

2004-01-12 Thread Paul Aviles
I am writting a small LCD application that will run as a daemon (thanks for the tip on runing as a daemon) and I wanted to know if is possible to somehow capture when you get a Kernel Panic... Has anyone done that? Thanks -pa ___ fpc-pascal maillist

[fpc-pascal]Hex values

2004-04-22 Thread Paul Aviles
How do you represent Hex values in FPX, I now I can use #141 for example using the ASCII value of the Hex characted converted ahead of time, but is there a way to send the Hex values like 0x70 for example? Thanks ___ fpc-pascal maillist - [EMAIL PROT

[fpc-pascal]Access BIOS from fpc

2004-05-10 Thread Paul Aviles
Hello all, Is it possible to access the PC BIOS from FPC? I want to create a fpc program to read the name and version of the BIOS or maybe even change some settings like boot from cdrom or IDE or PXE using FPC. The PC has Phoenix bios, is that possible? Thanks Paul Anthony Aviles

[fpc-pascal]Linux IDE

2004-04-26 Thread Paul Aviles
according to the doc, there is some IDE that you can start byt using ./fp. No such luck for me. I am using: Free Pascal Compiler version 1.0.10 [2003/06/26] for i386 under FC1 and I also tried installing and running RHIDE to get : error: Failed dependencies: libstdc++-libc6.2-2.so.3 is n

[fpc-pascal]project question

2004-05-02 Thread Paul Aviles
Hello all, I have a small project and wanted to know what suggestions you all will have. This is what the system must do. Runs in Linux Run as a daemon (not a problem) Be able to pass some parameters while the program is running and obtain the results back to a shell script of a perl program. Th

[fpc-pascal]project question

2004-05-04 Thread Paul Aviles
Hello all, I have a small project and wanted to know what suggestions you all will have. This is what the system must do. Runs in Linux Run as a daemon (not a problem) Be able to pass some parameters while the program is running and obtain the results back to a shell script of a perl program. Th

[fpc-pascal]Read mac address

2004-09-16 Thread Paul Aviles
Is it possible to detect and read the mac addresses of the nic cards installed on a motherboard? Thanks Paul -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ fpc-pascal maillist

[fpc-pascal]Read mac address

2004-09-17 Thread Paul Aviles
This is a linux box. FC1 Thanks Message: 2 From: "Tomas Hajny" <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Subject: Re: [fpc-pascal]Read mac address Date: Fri, 17 Sep 2004 09:44:01 +0200 Reply-To: [EMAIL PROTECTED] On Thu, 16 Sep 2004 15:44:00 -0400, Paul Aviles wrote Is it possib

[fpc-pascal]linux question

2004-09-20 Thread Paul Aviles
mple write statement? Thanks Paul -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal]linux ques

2004-09-22 Thread Paul Aviles
I have been task to write a routing for a web server running apache under linux that will basically have the same functionality as a tail -f /var/log/messages. I guess since the web server account does not have access to those files, there must be some type of listener/socket written to accompl

Re: [fpc-pascal] Any Carbon users around?

2004-11-17 Thread Paul Davidson
On Nov 17, 2004, at 12:43, Kris Herlaar wrote: So i'd like to know if there are more Mac users on this list who might be interested in sharing their knowledge with me and each-other. I'd be delighted to set up a website with the Pascal for Mac OS X topic, at least if i'm not going to be the onl

Re: [fpc-pascal] Any Carbon users around?

2004-11-18 Thread Paul Davidson
Am porting a Delphi app to OS X. Having fun with threads, sockets and (n)curses. This should be fun P Davidson Corax Networks Inc. http://CoraxNetworks.com ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pasc

Re: [fpc-pascal] reporting bugs? ... fpc 1.9.4 crash

2004-11-20 Thread Paul Davidson
If you are in TB or DELPHI mode, then IX may be defined as a CPU register On Nov 20, 2004, at 15:30, David Emerson wrote: Is there a better place to post bugs, outside the list? Well, regardless, here it is... fpc 1.9.4 crashes with the following source. Of course, my bug was easy enough to find

<    1   2   3   4   5   >