HP3000-L Archives

June 2005, Week 2

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Brian Donaldson <[log in to unmask]>
Reply To:
Brian Donaldson <[log in to unmask]>
Date:
Sun, 12 Jun 2005 17:56:32 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (32 lines)
The AIFFILEGGET intrinsic apparently has a slight flaw in it...

Example:

   GETPRIVMODE;
   AIFFILEGGET(overall_status,
               item_num_array,
               item_array,
               item_status_array,,
               file_name);

I pass it a file name with item 5015 which returns a boolean indicating
which domain the file is in (perm or temp).

Well, the oxymoron here is that if the name of the file passed
in "file_name" is a TEMP file then the intrinsic returns an overall_status
error code of -0043 (ivalid file name).

So when I pass a file name of a file that resides in the PERM directory the
intrinsic works fine and gives me all the info I want. In this case item
5015 would appear to be pretty useless as I already *know* the file is a
PERM file(!)

FYI to one and all....


TIA,
Brian Donaldson.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2