Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that the main code for creating a function is already built-in. We could have also selected New > Script and get a blank page, but it's nice to have the function template right away.  What's important to understand here is that +both +that both the script files and function files have the file extension .m. A function file is really just a script file but with a function statement in its first line and with its function name matching its file name. 

...