We deliver solutions for the AI eraâcombining symbolic computation, data-driven insights and deep technical expertise
Put Wolfram Language definitions in a standalone file to be reused or shared.
Create a new package fileChoose File ▶ New ▶ Package/Script ▶ Wolfram Language Package (.wl) to create a new package file:
Add boilerplate package commandsPackages have a standard structure that follows this schema. Replace MyPackage with the name of your package:
Add definitionsPublic definitions in a package are available for use when a package is loaded. Private definitions are used only internally in a package, not exposed externally.
Add both private and public definitions between Begin[“`Private`”] and End[].
Add usage messages for public definitions between BeginPackage[...] and Begin["`Private`"]:
Save the packageChoose File ▶ Save... and specify the package name:
Use the packageLoad a package using << (Get):
After the package is loaded, you can use the public functions defined in it:
You can move a package that exists on your local machine to the Wolfram Cloud using CopyFile:
Select File ▶ New ▶ Package to create a new package file:
Packages have a standard structure that follows this schema. Replace MyPackage with the name of your package:
Add definitionsPublic definitions in a package are available for use when a package is loaded. Private definitions are used only internally in a package, not exposed externally.
Add both private and public definitions between Begin[“`Private`”] and End[].
Add usage messages for public definitions between BeginPackage[...] and Begin["`Private`"]:
Name the packageClick (unnamed) to name the package:
Use the packageLoad a package using << (Get). After the package is loaded, you can use the public functions defined in it:
Package files are only available for Wolfram|One and Mathematica Online. Please see their product pages for more information.RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4