Message Boards Message Boards

0
|
3095 Views
|
0 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Packages Dependencys

Posted 9 years ago

I have one doubt about packages. I have implement two packages where package1 call a function which is defined in package2. Is correct the next implementation? I have errors.

BeginPackage[["Package1"] myfunction::usage=""; Begin["Private"]; myfunction Module[{temp}, temp=fun1(x) End[]; EndPackage[];


BeginPackage[["Package2"] fun1::usage=""; Begin["Private"]; fun1 Module[{temp}, temp=2*x: End[]; EndPackage[];

Thanks,

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract