[Coco] Microware C question/problem

Robert Gault robert.gault at worldnet.att.net
Sat Dec 31 00:37:08 EST 2005


I'm glad its not just me. :)   That use of strrchr was something I found 
on the Internet with reference to a replacement for basename() but I 
have lost the url. It was so short, I thought I'd try it to find out if 
it would work, but then had compilation problems.

Actually I'd expect bad C code to give incorrect answers or syntax error 
messages, not compile to illegal assembly code. Well, live and learn.

Bob Devries wrote:
> besides that, the code output for "/"||"\\" is:
> ldd #1
> very odd indeed.
> 
> -- 



More information about the Coco mailing list