RE: [fpc-pascal] Re: Why this evaluates on "if" wrong ?

2007-10-29 Thread Stephen Dickason
> It's just one more funny thing one must realize, > when comparing real numbers with some exact > real constants. After this, I will try to never > compare doubles directly, but using tricks like > above. Because, in this digital world > 1 + 0.4 - 0.4 <> 1. In binary that is 0001 + 0.01100110

[fpc-pascal] Client/Server file transfer

2007-09-17 Thread Stephen Dickason
I'm needing to create two programs, a client and a server that will take a file via command line parameter, compress, encrypt and send it from one computer to another (possibly over the Net) and decrypt, decompress and save file in original form. In Delphi I would probably use some of the ICS comp

RE: [fpc-pascal] Support Interfaces

2007-09-17 Thread Stephen Dickason
>> I'm new to the multi-OS programming environment and wondered if there was >> some documentation on the different interface mechanisms used in FPC? >Please elaborate. Interface as in the language feature regarding >interfaces between classes? Or operating system interfaces, i.e. API? >Daniƫl Sor

[fpc-pascal] Support Interfaces

2007-09-17 Thread Stephen Dickason
I'm new to the multi-OS programming environment and wondered if there was some documentation on the different interface mechanisms used in FPC? *--- This E-Mail may contain confidential and/or privileged information. It is only i