Article View: comp.sys.amiga.tech
Article #7240Action_Ex_Next
From: Edward Bartz
Date: Thu, 06 Dec 1990 14:52
Date: Thu, 06 Dec 1990 14:52
22 lines
1287 bytes
1287 bytes
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
Technical Details
Message-ID:
<Dec.6.09.52.10.1990.3636@elbereth.rutgers.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!rutgers!elbereth.rutgers.edu!bartzShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <Dec.6.09.52.10.1990.3636@elbereth.rutgers.edu> Date: 6 Dec 90 14:52:11 GMT Distribution: na Organization: Rutgers Univ., New Brunswick, N.J. Lines: 22