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

Re: [MacPerl] Novice trouble with StandardFile



John wrote:

> This is beyond my deciphering...

and in your code you had:

> $file = StandardGetFile(); # Ask user for a file

>From shuck, I find:

> 	StandardGetFile FILEFILTER, TYPELIST 

and from "ext:Mac:StandardFile:t:StandardGetPut.t" I find:

> # Permissive get
> 
> sfresult StandardGetFile(undef, -1);


Conclusion:
The arguments are not optional. This seems to be supported
by your error messages... I think...

Sorry, don't have the time to test it for you, but I think
this is probably the source of one of your problems (there
may be more). I know I saw similar error messages when I
first played around with Mac::StandardFile.

Advice:
Always a good idea for newbies to check out the '.t' files
to see how these modules should be called.

jay

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