[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] FSpFileCopy Questions...



At 22:14 -0700 1999.08.06, Rob Sirota wrote:
>In using FSpFileCopy I notice that it only returns a 1 if the file has
>been created and a 0 otherwise, is this correct?

Probably.  That's the Perl Way.


>does it return MacOS
>errors?

None of the toolbox functions do.  They return a struct of come kind, some
data, or 1 (TRUE) or 0/undef (FALSE).


>Also if the file in the dest already exists it does not replace
>it, is this also correct?

See the Inside Macintosh docs for the function.

>Do I need to check to see if the src and dst
>are valid before doing the FSpFileCopy?

I don't know, try and see.  :)

-- 
Chris Nandor          mailto:pudge@pobox.com         http://pudge.net/
%PGPKey = ('B76E72AD', [1024, '0824090B CE73CA10  1FF77F13 8180B6B6'])

===== Want to unsubscribe from this list?
===== Send mail with body "unsubscribe" to macperl-request@macperl.org