Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread ml
On Sun, 2005-03-20 at 02:55 +0200, Nikolay Nikolov wrote: > ml wrote: > > >Other possibilities like ['?','%','$','|','&','::','^'] were only named > >under btw. (and how can btw. under question 2 become the main flaming > >topic is out of my reason, maybe its time to my annual lobotomy) > > > >

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread Nikolay Nikolov
ml wrote: Other possibilities like ['?','%','$','|','&','::','^'] were only named under btw. (and how can btw. under question 2 become the main flaming topic is out of my reason, maybe its time to my annual lobotomy) Well, mentioning C-isms in a pascal forum may sometimes lead to flames :) (Yes

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread ml
If you would at least read original message and responded to what I asked or at least "not responded" maybe I wouldn't feel so stupid for asking my question. But hopefully this will be the last message in this thread. Seems a bit sad to me that, I didn't get answer to "what I really asked" but a l

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Michał Woźniak
Dnia sobota, 19 marca 2005 23:31, Nico AragÃn napisaÅ: > IIRC, you don't even need resources: > > copy /b program.exe + file.dat combined.exe > > Then you can open combined.exe from itself, seek to (filelength - > sizeofdatafile -1) and use blockread. Thanks, Nico! That's exactly, what I was lo

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Nico Aragón
El SÃbado, 19 de Marzo de 2005 15:34, MichaÅ WoÅniak escribiÃ: > Is it possible in FPC to incorporate something like Delphi resources into > the compiled program? > What I need is including a binary file within the executable (like when > using BRCC32 and *.rc files in Delphi) so that its contents

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-19 Thread Koenraad Lelong
Koenraad Lelong wrote: Koenraad Lelong wrote: Jeff Pohlmeyer wrote: ... I'm trying this and it seems to work, partly. I wrote a clone in fpc of the temp-program, and encountered some strange things. The library successfully detects the interface, and one device (only one connected at the time).

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Michał Woźniak
> > Is it possible in FPC to incorporate something like Delphi resources into > > the compiled program? > > Under Windows you can use resource files in FPC as well, just the tool > to convert the .rc into a linkable binary file is called differently... Well, actually I would need such a functional

[fpc-pascal] Pascal-Wikibook

2005-03-19 Thread Thomas Zastrow
Hi there, I just want to mention that somebody has started a new Wikibook dealing with Pascal: http://en.wikibooks.org/wiki/Programming:Pascal Perhaps somebody on this list is interested in writing a chapter or so ... ;-) Greetings, Tom ___ fpc-pascal

Re: [fpc-pascal] Resources or alike

2005-03-19 Thread Thomas Schatzl
Hello, MichaÅ WoÅniak schrieb: Is it possible in FPC to incorporate something like Delphi resources into the compiled program? What I need is including a binary file within the executable (like when using BRCC32 and *.rc files in Delphi) so that its contents are accessible to the program at runt

[fpc-pascal] Resources or alike

2005-03-19 Thread Michał Woźniak
Hi there. Is it possible in FPC to incorporate something like Delphi resources into the compiled program? What I need is including a binary file within the executable (like when using BRCC32 and *.rc files in Delphi) so that its contents are accessible to the program at runtime, without the nee

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread Jonas Raoni Soares Silva
On Sat, 19 Mar 2005 09:26:18 +0100, Jonas Maebe <[EMAIL PROTECTED]> wrote: > Until someone else has to read your code, who attached entirely > different meanings to those symbols in his own code... I agree, pascal is one of the most clean, intuitive and easy to read languages... While updating it,

Re: [fpc-pascal] Re: Help needed with interfacing to C-object-files.

2005-03-19 Thread Florian Klaempfl
Nikolay Nikolov wrote: Koenraad Lelong wrote: Second question : are c-double types and fpc-double types compatible ? I think so. Perhaps cfloat and cdouble should be added to the ctypes unit? Already in the cvs. ___ fpc-pascal maillist - fpc-pascal@li

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread Bob Shaffer
I think I'm going to have to agree with everyone else on this one. If I read this, thinking it was pascal code, I wouldn't have the slightest idea what these % and/or $ operators were doing. Operator overloading should never be used to change the meaning of an operator. It's there so you can mak

Re: [fpc-pascal] Question about interfaces

2005-03-19 Thread Jonas Maebe
On 19 Mar 2005, at 00:44, ml wrote: btw. and yes,:) my line of work forces me to use pascal, c#, c++, c, sql, shell and a little bit of php. So I'm forced to see the beauty and the ugly parts and features of each one. And operators are a real life saver, at least for future reading of your code (th