Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!sdd.hp.com!cs.utexas.edu!rice!uw-beaver!june.cs.washington.edu!chou From: chou@cs.washington.edu (Pai Chou) Newsgroups: comp.sys.mac.programmer Subject: problem with PenPat() calls in THINK C Message-ID: <1991May20.092307.29916@beaver.cs.washington.edu> Date: 20 May 91 09:23:07 GMT Sender: news@beaver.cs.washington.edu (USENET News System) Distribution: na Organization: Computer Science & Engineering, U. of Washington, Seattle Lines: 16 Originator: chou@june.cs.washington.edu I have problems with PenPat() in THINK C's console window. If I don't call PenPat() at all, my Line() and LineTo() calls will draw lines correctly in the console window. But if I call PenPat(black) or any pattern at all, then the same Line() or LineTo() will not draw anything. I also tried PenPat(&black) but it doesn't make a difference. My program does not crash in either case. Is there something special I should do about calling PenPat() in the console window? I am using THINK C version 4.5, but my ANSI library is from 4.0 with the scanf patch. Thanks in advance. Pai Chou chou@june.cs.washington.edu