Question: Error when saving package - HELP

Hi all,

i was trying to make a package at my new maple 13. When bad and i ended up getting a error, when doing:

MyPackage := module()
        export  f1, f2;
        local   loc1;
        option package;
        f1 := proc() loc1 end proc;
        f2 := proc( v ) loc1 := v end proc;
        loc1 := 2;
end module:
savelib( 'MyPackage' ):
with( MyPackage );

Giving me fallowing errors:

Error, cannot open archive, C:\Program Files\Maple 13/lib, for writing.
Error, invalid input: with expects its 1st argument, pname, to be of type {`module`, package}, but received MyPackage


Please Wait...