Re: [fpc-pascal] No Hello World after updating Xcode to 2.1

2005-09-20 Thread Lance Boyle
On Sep 16, 2005, at 5:42 AM, Andrew Haines wrote: Lance Boyle wrote: I've just installed Xcode 2.1 and can no longer compile FPC using 2.0.0. For good measure, I re-installed FPC 2.0.0 and the Xcode Integration Kit, including the Universal Interfaces. The latter acted oddly w

Re: [fpc-pascal] Porter Stemming for FPC 2.0

2005-09-16 Thread Lance Boyle
This is very interesting. I've always wondered if anyone did this on purpose, and I've always wondered what the big deal is with just adding array range checking to C. A company with tons of internal software development, and whose existence is made miserable by buffer under/over flows, cou

[fpc-pascal] No Hello World after updating Xcode to 2.1

2005-09-16 Thread Lance Boyle
I've just installed Xcode 2.1 and can no longer compile FPC using 2.0.0. For good measure, I re-installed FPC 2.0.0 and the Xcode Integration Kit, including the Universal Interfaces. The latter acted oddly with a crashing program which tried to open up a dialog box, until I mounted the Univ

Re: [fpc-pascal] Examples of FPC good practice

2005-09-15 Thread Lance Boyle
On Sep 14, 2005, at 11:54 PM, [EMAIL PROTECTED] wrote: a Pascal program that is compiled with run-time checks (which is the default) will not have a buffer overflow problem Er...check that assumption."Some" Pascal compilers default to range- checking off. Lance ___

Re: [fpc-pascal] About reset(aFile, FileNameString)

2005-09-13 Thread Lance Boyle
Thanks for the pointers 8^), y'all. Lance On Sep 13, 2005, at 8:02 PM, Adriaan van Os wrote: Lance Boyle wrote: "Official" Pascal for opening a file and associating a name with it (e.g., a disk file) goes like this: assign(aFile, FileNameString); reset(aFile); {

[fpc-pascal] About reset(aFile, FileNameString)

2005-09-13 Thread Lance Boyle
"Official" Pascal for opening a file and associating a name with it (e.g., a disk file) goes like this: assign(aFile, FileNameString); reset(aFile); {or rewrite, etc.} All of the Pascals that I have used allowed the following shorthand, an extension: reset(aFile, FileNameString); {or rewri

Re: [fpc-pascal] Experiences installing FPC 2.0 and Free Pascal for Xcode Integration Kit

2005-06-27 Thread Lance Boyle
Thanks for the helpful comments. On Jun 26, 2005, at 1:44 AM, Jonas Maebe wrote: On 25 Jun 2005, at 03:31, Lance Boyle wrote: When running the installer for Free Pascal for Xcode Integration Kit, there are two cases: (1) The disk image for UPInterfaces is not mounted. The

[fpc-pascal] Experiences installing FPC 2.0 and Free Pascal for Xcode Integration Kit

2005-06-24 Thread Lance Boyle
Hello list, Today I installed FPC 2.0 and the current version of the Free Pascal for Xcode Integration Kit on a recently-installed 10.4.1 (Archive and Install over FPC 2.0 and Free Pascal for Xcode Integration Kit on 10.3.9. It seems that the UPInterfaces were not preserved.) I installed

Re: [fpc-pascal] Freepascal Advocate Store

2005-06-23 Thread Lance Boyle
Make your own without leaving your computer: www.t-shirts.com. Lance On Jun 23, 2005, at 1:42 PM, Florian Klaempfl wrote: L505 wrote: Are there any I Love Freepascal t-shirts, hats, coffee mugs, etc.? Afaik not. ___ fpc-pascal maillist - fp

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
On May 24, 2005, at 11:31 PM, Marco van de Voort wrote: On May 24, 2005, at 5:31 AM, Jonas Maebe wrote: range checking issues--is range checking off by default? Yes, it is. Add {$r+} at the top of your source to turn it on, or add "-Cr" to the command line options of the compiler. Thanks,

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
: "Lance Boyle" As I've indicated in some of the comments, there appears to be some range checking issues--is range checking off by default? A second issue is that arrays that begin with any index other than 0 seem to be displayed incorrectly in the debugger window o

Re: [fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
On May 24, 2005, at 5:31 AM, Jonas Maebe wrote: On 24 mei 2005, at 13:58, Lance Boyle wrote: As I've indicated in some of the comments, there appears to be some range checking issues--is range checking off by default? Yes, it is. Add {$r+} at the top of your source to turn it on, o

[fpc-pascal] Arrays in debugger; No range errors on arrays

2005-05-24 Thread Lance Boyle
Hi list, I'm playing with FPC 2.0.0 on OS X 10.3.9 using Xcode 1.5. I run the following little program... program dumpmePascal; uses EmptyPlaceHolderUnit; var i : integer; topArray : array[10..13] of real; {debugger doesn't show this array at all--discussed previ

Re: [fpc-pascal] FPC version 2.0.0 officially released.

2005-05-16 Thread Lance Boyle
What do we OS X types need to know about the "Free Pascal for Xcode Integration Kit," in relation to version 2.0.0 of FPC? If we have installed version 1.1 of the Integration Kit previously (e.g., for FPC 1.9.8) are we OK to proceed with FPC 2.0.0? Jerry On May 16, 2005, at 2:17 AM, Michael Va

[fpc-pascal] Incorrect display of non-zero-indexed arrays in debugger

2005-01-30 Thread Lance Boyle
OS X 10.3.7, XCode 1.5, FPC 1.9.6 Still learning FPC in XCode. Here is a little test unit: unit EmptyPlaceHolderUnit; interface procedure printstuff; implementation procedure printstuff; var j : longint; anotherArray : array[11..14] of real; begin for j :=

Re: [fpc-pascal] Nonfunctional debugger on OS X

2005-01-30 Thread Lance Boyle
ration Kit anyway. Jerry pd On Jan 29, 2005, at 1:14, Lance Boyle wrote: I'm trying out FPC on OS X using XCode and am having trouble debugging. I installed FPC a few months ago and I _think_ I have 1.9.5, and I used the very cool Xcode Integration Kit at the time. I'm using XCode 1.5 on

[fpc-pascal] Nonfunctional debugger on OS X

2005-01-28 Thread Lance Boyle
I'm trying out FPC on OS X using XCode and am having trouble debugging. I installed FPC a few months ago and I _think_ I have 1.9.5, and I used the very cool Xcode Integration Kit at the time. I'm using XCode 1.5 on 10.3.7. I also have installed GNAT, the Ada 95 compiler. I think GNAT replaces

Re: [fpc-pascal] USB or RS-232 capability?

2005-01-13 Thread Lance Boyle
OK--that's helpful, guys. I'm still scratching my head on how to tackle this project. Thanks. Jerry ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

[fpc-pascal] USB or RS-232 capability?

2005-01-13 Thread Lance Boyle
Does FPC provide access to USB or RS-232 (COM) ports? I am interested in trying this on Mac OS X, with a possible port to Windows. (Yes, I'll get a USB-Serial adapter from Keyspan if necessary.) I want to keep this as simple as possible, so high-level RS-232 access without going into Apple's IOK