Include Libraries

Tool

You can refer to this tool in any formula, macro, module, or other script in Blockpad. You can use either its name or its full path:

  • To refer to it by name, use IncludeLibrariesTool (make sure the library Library.Tools.Library is included with Include Libaries)
  • To refer to it by its full path, use Library.Tools.Library.IncludeLibrariesTool

 

See also:


Including a library in a file gives you immediate access to the functions and values it contains. It is one of three methods available for using library items in a formula.

When a library is included it is treated like a "built-in" library in the file. It is useful when you need to reference a library multiple times in one file, like when using the advanced array functions in the scripts library.

Include a library in a file:
  1. In the toolbar, go to Library>Include Libraries.
  2. In the window that pops up, click Add.
  3. Choose the library that you wish to include.
  4. Click Ok.
  5. Close the Included Libraries window.
See also: