Re: [fpc-pascal] Case in Record

2009-10-09 Thread Jerry
s? FWIW, here is a link to the BNF of the Ada Programming Language: http://www.seas.gwu.edu/~adagroup/ada95-syntax/ Jerry Such a feature definitely seems useful to me. Of course it would be. But how should it work? Setting the tag variable when assigning a value and raising an error when

Re: [fpc-pascal] floating point an FPC

2010-03-01 Thread Jerry
result will not yield surprising results. In other other words, don't do that (test for > or <) either. Jerry On Feb 26, 2010, at 3:37 AM, ik wrote: Hello, I've made a small test: if (0.1+0.2) = 0.3 then The only compiler/interpator that actually tells that it equal is FPC.

Re: [fpc-pascal] floating point an FPC

2010-03-01 Thread Jerry
On Mar 1, 2010, at 2:32 PM, ik wrote: http://ik.homelinux.org/ On Mon, Mar 1, 2010 at 23:20, Jerry wrote: Don't compare floating points. Ever. Now you see why. So if I need for example to compare currency or something that is floating point, how do I do that ? Also, don't w

Re: [fpc-pascal] Re: Strange error with Pa_IsFormatSupported from portaudio when used with Pascal headers AND Mac OS X.

2010-03-08 Thread Jerry
eroDivide, exOverflow, exUnderflow, exPrecision]); " everything works. I am trying now some more details. Thanks a lot. This thread implies that there are Pascal headers for portaudio but the link http://www.microbizz.nl/portaudio-20070809.tar.gz is dead. Is there another place to download these

Re: [fpc-pascal] Can variables be declared within a block?

2010-10-18 Thread Jerry
actly this feature (declaration within a block) and it is extremely simple and not the least confusing. It's also an easy and error-free way to manage dynamic memory allocation without using pointers. Jerry procedure p; begin ... begin var i : integer; ... ... ...

Re: [fpc-pascal] memory layout of arrays

2006-09-14 Thread Jerry
On Sep 14, 2006, at 2:00 AM, Marc Santhoff wrote: Hi, when using arrays in C the layout of arrays is sort of flat, since pointer arithmetics for accessing values works (e.g. "pointer += 4" for 32 bit values). Is this the same for pascal/fpc? Do values of for example an integer array sit in

Re: [fpc-pascal] pascal on macbook

2008-04-24 Thread Jerry
mac-pascal. Jerry On Apr 24, 2008, at 2:24 PM, Felipe Monteiro de Carvalho wrote: I'd say yes. Free Pascal works very well with Mac OS X. Here are instructions to install it: http://www.freepascal.org/fpcmac.var After installing Free Pascal, I'd recommend you to download the lates

[fpc-pascal] Prospects for running Lightspeed/THINK Pascal and Codewarrior Pascal with FPC

2014-08-20 Thread Jerry
rrior offered a drawing window or if I had to make a crude one using a (now) Carbon window. What do you think? Jerry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Prospects for running Lightspeed/THINK Pascal and Codewarrior Pascal with FPC

2014-08-25 Thread Jerry
On Aug 21, 2014, at 12:11 PM, Ingemar Ragnemalm wrote: > On 21/08/14 07:41, Jerry wrote: >>> I have a lot of old Pascal that I am getting interested in reviving. It was >>> originally written in Lightspeed/THINK Pascal (did I mention it is old?) >>> and arou

[fpc-pascal] test - ignore

2016-05-05 Thread Jerry
test - ignore ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal