From: | Stephen Illingworth |
Date: | 11 Aug 2001 at 12:35:08 |
Subject: | [amiga-c] Fussy and not so fussy Compilers |
Hello Twelvebullets
On 11-Aug-01, you wrote:
>
> I ALWAYS compile before I send test code.
>
> It worked fine on my machine, (using DICE) except the SetFileDate.
> It Compiled Okay, No errors.
>
> The only mistake I can see is at the bottom of my example, it should
> be "Close(f)" not "close(f)".
Apologies. It's all down to the compiler really and how fussy they are.
IMO if your code went through DICE, then DICE isn't fussy enough. You didn't
include any proto files for the dos.library and there was a semicolon on the
outside of the main function (at the end).
Having said that there were errors in my version. For example, comparing
a BPTR to the null pointer. Which is just wrong, but I can't get out of
the habit :-)
Regards
Steve
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/