Message Boards Message Boards

0
|
419 Views
|
4 Replies
|
3 Total Likes
View groups...
Share
Share this post:

Why are some functions in a package not loading

Posted 24 days ago

I'm trying to write a Mathematica package. When I do Needs["Package`"], it loads only some of the functions. The rest are in blue. If I open the package.wl file directly, and run the package, these other functions become available. How can I resolve this?

Attachments:
POSTED BY: Dinesh Rao
4 Replies
Posted 24 days ago

Seems to work OK for me:

enter image description here

POSTED BY: Hans Milton
Posted 24 days ago

Now I'm even more mystified :) screenshot

POSTED BY: Dinesh Rao

Are you sure that Needs["Package`"] is using the same file that you posted here?

POSTED BY: Michael Rogers
Posted 23 days ago

That was it! Thanks, I had an older copy of the file being loaded with the Needs function.

POSTED BY: Dinesh Rao
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