Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!elbereth.rutgers.edu!bartz From: bartz@elbereth.rutgers.edu (Edward Bartz) Newsgroups: comp.sys.amiga.tech Subject: Action_Ex_Next Keywords: handlers Message-ID: Date: 6 Dec 90 14:52:11 GMT Distribution: na Organization: Rutgers Univ., New Brunswick, N.J. Lines: 22 I have been playing around with device handlers, and have what may stupid question. When handling an Examine next, you are passed a loc on an object. Is that object a directory always? or can it be a file? I can invision this working one of two ways... The loc can always be a directory, in which case, I have to return the contents on object at a time. In this case, if I get a loc on a file, I respond with an object_wrong_type error. On the other hand, it could work like this. A loc is sent on any object, and I am to return all the objects within the same directory as the loc I am passed. Although this second option seems less likely, when you have stared at this stuff long enough, anything seems possible. THANKS, Ed -- UUCP: bartz@elbereth.uucp BITNET: bartz@rutphy.bitnet USSnail: 12 Roosevelt St. South River, NJ 08882