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

2012-10-30 Thread Jorge Aldo G. de F. Junior
2012/10/30 印場 乃亜 shir...@galapagossoftware.com: Hi, Wow, Class Factories - I am having nightmarish flashbacks to my college C++ classes. Okay, Thank you for all of the suggestions. I will try to compare the suggestions, and see what I can come up with for my situation. Just for further

Re: [fpc-pascal] Using flag field in Getopts

2012-10-30 Thread Henry Vermaak
On 30/10/12 10:05, luciano de souza wrote: Hello listers, Getopts offers very good features to process commandline arguments. As far as I could understand, I used it successfully. But it remains one unknown aspect for me. What is the field flag of TOption record? How to use it? TOption =

[fpc-pascal] Two and one compliment converting functions

2012-10-30 Thread ik
Hello, Does FPC contain any functions to convert between One Compliment (http://en.wikipedia.org/wiki/Ones%27_complement) to Two Compliment (http://en.wikipedia.org/wiki/Two%27s_complement) and vice versa ? I ask this before I'll implement it on my own :) Thanks, Ido

Re: [fpc-pascal] OT: Creating a site to contain Pascal units, libraries etc

2012-10-30 Thread ik
On Tue, Oct 30, 2012 at 2:29 AM, Jeppe Græsdal Johansen jjoha...@student.aau.dk wrote: Den 30-10-2012 01:04, ik skrev: Hello, There are many places such as GitHub, Google Code, Sourceforge etc, that hosts a lot of open source projects, libraries etc for FPC/Pascal. On the other hand we

Re: [fpc-pascal] OT: Creating a site to contain Pascal units, libraries etc

2012-10-30 Thread Tomas Hajny
On Tue, October 30, 2012 12:49, ik wrote: On Tue, Oct 30, 2012 at 2:29 AM, Jeppe GrĂŚsdal Johansen jjoha...@student.aau.dk wrote: Den 30-10-2012 01:04, ik skrev: Hello, There are many places such as GitHub, Google Code, Sourceforge etc, that hosts a lot of open source projects, libraries

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

2012-10-30 Thread 印場 乃亜
Hi, Wow I am surprised this is continuing so long - I take it other people have interest in the subject too. On 2012/10/30, at 17:08, Jorge Aldo G. de F. Junior jagf...@gmail.com wrote: 2012/10/30 印場 乃亜 shir...@galapagossoftware.com: Hi, Wow, Class Factories - I am having nightmarish

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-30 Thread Jonas Maebe
On 17 Oct 2012, at 16:52, Marco van de Voort wrote: New text: D:\repo\fpcmake all makefile:2717: *** The only supported starting compiler version is 2.6.0. You are trying to build with 2.7.1. If you are absolutely sure that the current compiler is built from the exact same

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-30 Thread Mattias Gaertner
Jonas Maebe jonas.ma...@elis.ugent.be hat am 30. Oktober 2012 um 14:44 geschrieben: On 17 Oct 2012, at 16:52, Marco van de Voort wrote: New text: D:\repo\fpcmake all makefile:2717: *** The only supported starting compiler version is 2.6.0. You are trying to

[fpc-pascal] Range check error while evaluating constants

2012-10-30 Thread ik
Hello, I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $) + 1; end; What am I missing here that makes the compiler complain about Range check error while evaluating constants ? Why doesn't it complain on : function

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-30 Thread Henry Vermaak
On 30/10/12 14:04, Mattias Gaertner wrote: Rich Cook Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. Ah, you beat me to it :) Henry

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-30 Thread Graeme Geldenhuys
On 2012-10-30 14:04, Mattias Gaertner wrote: http://bugs.freepascal.org/view.php?id=23245 (that person even manually edited the makefile and replaced the 2.6.0 with 2.7.1 trying to get around the check). Oh my f#*k! Programming today is a race between software engineers striving to build

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-30 Thread Mark Morgan Lloyd
Mattias Gaertner wrote: Jonas Maebe jonas.ma...@elis.ugent.be hat am 30. Oktober 2012 um 14:44 geschrieben: On 17 Oct 2012, at 16:52, Marco van de Voort wrote: New text: D:\repo\fpcmake all makefile:2717: *** The only supported starting compiler version is 2.6.0. You

[fpc-pascal] Re: Range check error while evaluating constants

2012-10-30 Thread ik
On Tue, Oct 30, 2012 at 4:26 PM, ik ido...@gmail.com wrote: Hello, I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $) + 1; end; What am I missing here that makes the compiler complain about Range check error

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

2012-10-30 Thread Ewald
On 10/30/2012 02:34 PM, $B0ul(B $BG50!(B wrote: Right, and I am talking about relatively small amounts of data, not movies or something. The reason I thought of SHM is that there would be no need to decode the structure into a string and re-encode it, etc. Instead, the application

Re: [fpc-pascal] Re: Range check error while evaluating constants

2012-10-30 Thread geneb
On Tue, 30 Oct 2012, ik wrote: On Tue, Oct 30, 2012 at 4:26 PM, ik ido...@gmail.com wrote: Hello, I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $) + 1; end; What am I missing here that makes the compiler

Re: [fpc-pascal] Range check error while evaluating constants

2012-10-30 Thread Peter
On 30/10/12 14:26, ik wrote: Hello, I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $) + 1; end; What am I missing here that makes the compiler complain about Range check error while evaluating constants ? Why

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

2012-10-30 Thread Alberto Narduzzi
I am familiar with the basic underlying methods available for transferring data between processes on Windows and Unix, i.e. Pipes, Shared memory, and TCP/IP - but what I am not familiar with is any higher level functionality that may be available on FPC. If I'd do something in this scope,

Re: [fpc-pascal] Range check error while evaluating constants

2012-10-30 Thread Mark Morgan Lloyd
ik wrote: Hello, I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $) + 1; end; What am I missing here that makes the compiler complain about Range check error while evaluating constants ? Why doesn't it complain on

Re: [fpc-pascal] Re: problems compiling FPC

2012-10-30 Thread Sven Barth
On 30.10.2012 16:00, Mark Morgan Lloyd wrote: Mattias Gaertner wrote: Jonas Maebe jonas.ma...@elis.ugent.be hat am 30. Oktober 2012 um 14:44 geschrieben: On 17 Oct 2012, at 16:52, Marco van de Voort wrote: New text: D:\repo\fpcmake all makefile:2717: *** The only

Re: [fpc-pascal] Range check error while evaluating constants

2012-10-30 Thread ik
On Tue, Oct 30, 2012 at 10:10 PM, Mark Morgan Lloyd markmll.fpc-pas...@telemetry.co.uk wrote: ik wrote: Hello, I have the following function: function OneToTwoComplement(AValue: QWord): QWord; begin Result := (AValue xor $) + 1; end; What am I missing here that makes

Re: [fpc-pascal] OT: Creating a site to contain Pascal units, libraries etc

2012-10-30 Thread waldo kitty
On 10/29/2012 20:04, ik wrote: * I sent it originally for FPC-Others, but it does not appear there even in the archive FWIW: it showed up here in fpc-other when you first posted it... ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org