[fpc-pascal] Re: Library for network calculation

2011-07-25 Thread Paul Nicholls
"Jorge Aldo G. de F. Junior" wrote in message news:CAAHHabS9aUe9gwyNjkve-XVXsRyf2UPsArh6=fsdpgokugj...@mail.gmail.com... > Some time ago someone asked for a library able to do network calculations. > > Here is something that might evolve into such library : > > Function NetMaskToHostMask(NetMas

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

2011-06-30 Thread Paul Nicholls
- Original Message - From: "greim" To: "FPC-Pascal users discussions" Sent: Thursday, June 30, 2011 8:35 PM Subject: [fpc-pascal] Prof. Wirth speaking on Oberon day Some asked my to place a link to the Oberon day videos recorded last month in Zürich. For example Professor Wirth was

[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] 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: "FPC-Pascal us

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

[fpc-pascal] Re: fpGUI powered by OpenGL

2010-12-22 Thread Paul Nicholls
"Darius Blaszyk" wrote in message news:1292870518.1851.35.ca...@darius-desktop... > On Mon, 2010-12-20 at 18:58 +0100, Darius Blaszyk wrote: >> > The above explains why it is useful for an application developer to >> > use an openGL backend. >> > >> > It does not explain the following: Since fpGU

Re: [fpc-pascal] Looking for SDL_opengl header

2010-12-08 Thread Paul Nicholls
- Original Message - From: "Matt Emson" To: "FPC-Pascal users discussions" Sent: Thursday, December 09, 2010 4:11 AM Subject: Re: [fpc-pascal] Looking for SDL_opengl header On 08/12/2010 09:42, Darius Blaszyk wrote: Couldn't find it there, although there are some examples with SDL

[fpc-pascal] Re: Re: TPLY

2010-11-01 Thread Paul Nicholls
"leledumbo" wrote in message news:1288343826290-3241740.p...@n5.nabble.com... > >> I would start with this site to learn how to create recursive descent >> parsers using Pascal :) > > Definitely, but it doesn't build AST, which is required if you need to > write > a parser for a language that ca

[fpc-pascal] Re: Re: TPLY

2010-10-28 Thread Paul Nicholls
"Brian Winfrey" wrote in message news:aanlktinq5bgnulg05nyuizl8bpoxdenu3ofyuqhnp...@mail.gmail.com... Thank you, What techiniques have you used in the past that you could share to get me started? On Wed, Oct 27, 2010 at 8:04 PM, leledumbo wrote: > > Learn compilation technique, a recursive des

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

2010-10-18 Thread Paul Nicholls
"Richard Ward" wrote in message news:6707d87e-2ea6-4469-97a5-cf55d1a04...@mac.com... As a user of the old Macintosh Pascal (later THINK Pascal), both ReadStr and WriteStr functions were included and I used them quite a bit. The names were different but the FPC implementation is basically the

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

2010-07-13 Thread Paul Nicholls
- Original Message - From: "Michael Van Canneyt" To: "FPC-Pascal users discussions" Sent: Tuesday, July 13, 2010 6:42 PM Subject: Re: [fpc-pascal] fpc-passrc expression parser (issue #16914) On Tue, 13 Jul 2010, dmitry boyarintsev wrote: Hello, Michael Van Canneyt, Sorry, I can'

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-pascal] linked list to criticize Hello,

Re: [fpc-pascal] including libraies ?

2010-03-14 Thread Paul Nicholls
- Original Message - From: "Terry A. Haimann" To: Sent: Monday, March 15, 2010 9:11 AM Subject: [fpc-pascal] including libraies ? I tried to write a little utility to submit a command to the At Facility. The code to do this is as follows: program TestPrg; Uses Classes, Process; V

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

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

2010-01-18 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" Newsgroups: gmane.comp.compilers.free-pascal.general To: "FPC-Pascal users discussions" Sent: Tuesday, January 12, 2010 11:37 PM Subject: creating a standalone executable (eg: applicationinstallation file) > Hi, > > I have seen a few Li

Re: [fpc-pascal] Forum merger

2009-12-21 Thread Paul Nicholls
- Original Message - From: "Zaher Dirkey" To: "FPC-Pascal users discussions" Sent: Tuesday, December 22, 2009 10:47 AM Subject: Re: [fpc-pascal] Forum merger Are you discussing about build Forum or CMS using fpWeb/pascal? It is need use also CSS and JavaScript and Database. This ki

Re: [fpc-pascal] How to solve "Conversion between ordinals and pointers is not portable"

2009-11-19 Thread Paul Nicholls
- Original Message - From: "Tomas Hajny" To: ; "FPC-Pascal users discussions" Sent: Wednesday, November 18, 2009 10:40 PM Subject: Re: [fpc-pascal] How to solve "Conversion between ordinals and pointers is not portable" On Tue, November 17, 2009 10:48, Graeme Geldenhuys wrote:

Re: [fpc-pascal] Compiler Warning: Constructor should be public

2009-11-10 Thread Paul Nicholls
- Original Message - From: "Anthony Walter" To: ; "FPC-Pascal users discussions" Sent: Wednesday, November 11, 2009 1:07 AM Subject: Re: [fpc-pascal] Compiler Warning: Constructor should be public Your argument is flawed. Visibility rules apply to identifiers, not keywords. Create

Re: [fpc-pascal] X, Y co-ordinate system under OS/2

2009-10-29 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" To: "FPC-Pascal users discussions" Sent: Thursday, October 29, 2009 7:51 PM Subject: Re: [fpc-pascal] X, Y co-ordinate system under OS/2 On 29/10/2009, Juha Manninen wrote: If done right, the code doing coordinate conversion should be

Re: [fpc-pascal] X, Y co-ordinate system under OS/2

2009-10-28 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" To: "FPC-Pascal users discussions" Sent: Thursday, October 08, 2009 1:31 AM Subject: [fpc-pascal] X, Y co-ordinate system under OS/2 Hi, I'm porting an OS/2 application to Linux & Windows. From what I can see in the code, it looks like

Re: [fpc-pascal] WORD (2 bytes) to String conversion

2009-10-25 Thread Paul Nicholls
- Original Message - From: "M Pulis" To: "FPC-Pascal users discussions" Sent: Monday, October 26, 2009 9:27 AM Subject: Re: [fpc-pascal] WORD (2 bytes) to String conversion On Oct 25, 2009, at 3:09 PM, Paul Nicholls wrote: - Original Message - From

Re: [fpc-pascal] WORD (2 bytes) to String conversion

2009-10-25 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" To: "FPC-Pascal users discussions" Sent: Friday, October 23, 2009 11:10 PM Subject: [fpc-pascal] WORD (2 bytes) to String conversion Hi, I'm reading in a WORD (2 bytes) from a binary file. I can display the Hex format of that value with

Re: [fpc-pascal] Parser combinator library

2009-09-03 Thread Paul Nicholls
- Original Message - From: "leledumbo" To: Sent: Thursday, September 03, 2009 6:25 PM Subject: [fpc-pascal] Parser combinator library Is there any parser combinator library for Pascal? -- Hi :) What exactly do you mean by parser combinator library? cheers, Paul __

[fpc-pascal] Re: SHA1 implementation

2009-06-28 Thread Paul Nicholls
"Graeme Geldenhuys" wrote in message news:4a47b06f.4030...@opensoft.homeip.net... > Hi, > > Does FPC contain a cross-platform SHA1 algorithm implementation? I used > Lazarus IDE's "Search in files" feature across the whole FPC 2.2.5 and saw > some references to the word sha1, but nothing that

Re: [fpc-pascal] Writeable typed constants - what's the point?

2009-06-18 Thread Paul Nicholls
2009/6/18 Graeme Geldenhuys > Vincent Snijders wrote: > > > > Backwards compatibility with turbo pascal, which lacked initialized > > variables and writable constants were the alternative. > > Thanks Vincent. The Kylix 3 help mentioned early versions of Delphi and > Borland Pascal, which made me

Re: [fpc-pascal] Problems with Debian and FP IDE

2009-05-11 Thread Paul Nicholls
What was the error message? What was the version of FPC and Debian? cheers, Paul - Original Message - From: Andres Linares To: Free Pascal Mail List Sent: Tuesday, May 12, 2009 4:48 AM Subject: [fpc-pascal] Problems with Debian and FP IDE Hi,When I run FP IDE on Debian I get a

Re: [fpc-pascal] TList: newbie question

2009-04-01 Thread Paul Nicholls
- Original Message - From: "Bart" To: "FPC-Pascal users discussions" Sent: Wednesday, April 01, 2009 10:12 PM Subject: [fpc-pascal] TList: newbie question Hi, I never used TList before, so I'm not sure if this is correct. I constructed a TlcTextCache class that basically stores obj

Re: [fpc-pascal] Pascal arrays vs TStringList.DelimitedText

2009-03-19 Thread Paul Nicholls
- Original Message - From: "Francisco Reyes" To: "FreePascal list" Sent: Friday, March 20, 2009 2:32 PM Subject: [fpc-pascal] Pascal arrays vs TStringList.DelimitedText Getting back to Pascal.. Aren't pascal arrays 1 based? As I get myself re-acquainted with pascal I am working on a

[fpc-pascal] Re: DirectX applications crash

2009-03-17 Thread Paul Nicholls
Hi Felipe, Perhaps you should try setting the interfaces to Nil instead of calling their _release method... // this is the function that cleans up Direct3D and COM procedure cleanD3D(); begin d3ddev := Nil;// close and release the 3D device d3d := Nil;// close and release D

Re: [fpc-pascal] Sockets in FPC

2009-02-18 Thread Paul Nicholls
Hi I need to write a daemon on Linux which will wait on a user defined port (say 3) and parse the socket input to write into a Mysql database. Can anybody suggest examples in FPC ? Presently , I am using TCL for this. The problem is the behaviour of Gets function in TCL.. It is buffered with

[fpc-pascal] Re: specifying the relative path to a file that is located in the same folder as the application bundle?

2009-02-05 Thread Paul Nicholls
"Ken G. Brown" wrote in message news:p06240407c5b049e88...@[10.0.1.199]... > MacOS X, 10.5.6, fpc 2.2.2 > > How can I find the directory path to the executable of the currently > executing program from within the program? > > Or alternately, how can I specify the relative path to a file that is

[fpc-pascal] Re: crossplatform networking

2009-01-29 Thread Paul Nicholls
"Bee" wrote in message news:49817e1f.8080...@brawijaya.ac.id... > Hi all, > > I need to build some crossplatform networking applications. It'd be > UDP-based. It should be able to support at least 3 mainstream OSes: > Windows, Linux, and Mac. It also should be able to run on 64bit > environmen

[fpc-pascal] Re: Using OpenCASCADE 3d tools with Pascal?

2008-12-18 Thread Paul Nicholls
"Marc Santhoff" wrote in message news:1229657957.329.5.ca...@localhost.das.netz... >> I was thinking more along the lines of perhaps creating a compatible dll >> that could be used for Pascal/Delphi, and if necessary, flattening when >> necessary method calls to plain functions, etc. >> >> I'm s

[fpc-pascal] Re: Using OpenCASCADE 3d tools with Pascal?

2008-12-18 Thread Paul Nicholls
"Marc Santhoff" wrote in message news:1229580231.333.8.ca...@localhost.das.netz... Am Donnerstag, den 18.12.2008, 09:02 +1100 schrieb Paul Nicholls: Hi all, I am wondering if anyone here has ever managed to use the free open-source OpenCASCADE 3d tools (www.opencascade.org) w

[fpc-pascal] Using OpenCASCADE 3d tools with Pascal?

2008-12-17 Thread Paul Nicholls
er of civilization is easily melted in the heat of the moment" - Paul Nicholls. paulfnicho...@gmail.nospam.com Remove ".NOSPAM" to reply. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-15 Thread Paul Nicholls
- Original Message - From: "Graeme Geldenhuys" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Tuesday, July 15, 2008 5:44 PM Subject: Re: [fpc-pascal] {$R file} support on non-Windows targets On Tue, Jul 15, 2008 at 2:23 AM, Luiz Americo Pereira Camara > I still can not

Re: [fpc-pascal] {$R file} support on non-Windows targets

2008-07-14 Thread Paul Nicholls
- Original Message - From: "Luiz Americo Pereira Camara" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Tuesday, July 15, 2008 10:23 AM Subject: Re: [fpc-pascal] {$R file} support on non-Windows targets Graeme Geldenhuys wrote: On Sun, Jul 13, 2008 at 11:47 PM, German G

Re: [fpc-pascal] code speed and size on various platforms

2008-06-17 Thread Paul Nicholls
"Lourival Mendes" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Dear all users, I'm looking for an unity for calculus of some more complex functions in Pascal than those avaiable in the Delphi math.pas unity. For a more specific case I would like to calculate FFT and IFFT of som

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

2008-04-09 Thread Paul Nicholls
- Original Message - From: "MPDJ" <[EMAIL PROTECTED]> To: "FPC-Pascal users discussions" Sent: Wednesday, April 09, 2008 10:56 PM Subject: [fpc-pascal] "Building-Block" Design - or putting it all together ;-) I've been following this list for sometime, but I'm not a professional cod

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] 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--- > > program test_intf_query; > >

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

2007-09-27 Thread Paul Nicholls
On 26/09/2007, Peter Vreman <[EMAIL PROTECTED]> wrote: > > > WinCE is the default ARM target if a cross compiler is build under > Windows. You need to specify > -Tlinux on the commandline or add it to fpc.cfg to make it the default: > > #ifdef cpuarm > -Tlinux > #endif > > Sorry, ignore the #ifd

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

2007-09-27 Thread Paul Nicholls
On 26/09/2007, Peter Vreman <[EMAIL PROTECTED]> wrote: > > > Hi all, > > I have downloaded the freepascal 2.2.0 fpc source code ( > > fpcbuild-2.2.0.zip) and attempted to create a arm-linux cross-compiler > that > > runs under win32. I have done this previously with the fpcbuild-2.0.4.zip > >

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

2007-09-26 Thread Paul Nicholls
Hi all, I have downloaded the freepascal 2.2.0 fpc source code ( fpcbuild-2.2.0.zip) and attempted to create a arm-linux cross-compiler that runs under win32. I have done this previously with the fpcbuild-2.0.4 .zip file ok using this batch file: **START OF BATCH FILE set

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

2007-09-10 Thread Paul Nicholls
- Original Message - From: "Francisco Reyes" <[EMAIL PROTECTED]> To: "FreePascal list" Sent: Tuesday, September 11, 2007 1:38 PM Subject: [fpc-pascal] Pascals unit for associate arrays? Is there any unit, or built in functionality, to do the equivalent of perl's associate arrays or Py

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 ma

[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. For dynamic linki

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

2007-06-21 Thread Paul Nicholls
"josepascual" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi Everyone I have made a example with lua inside freepascal. I have test it in i386 fpc 2.1.4 with no problem ann in ARM with fpc 2.1.4. I hav a problem: I have tried to debug it (gdb): Hi Jose :-) I can't help you wi