The common.ulb file

Classes can be useful on their own, but they show their true power when you combine them with each other. When used well, classes can eliminate duplicate code in everyone's formulas. However, to realize this potential, there needs to be a common foundation so all classes can work with each other easily.

The common.ulb file installed in the Public formula folder provides such a foundation. It contains an extensive collection of base classes and utility classes. Here is a quick overview of the most important classes:

The goal is to provide flexible base classes that help formula authors to write classes and formulas that work with all other classes. It is highly recommended to read through the common.ulb file thoroughly before you start writing your own classes. Also have a look at how the standard classes in Standard.ulb are implemented.

The common.ulb file will be continually updated via the online formula database. The UF-programmers mailing list is the best place to discuss the library of classes and to suggest modifications.

Documentation for the common.ulb file and any other classes in the online formula database is accessible via formulas.ultrafractal.com/reference.

Next: Memory management

See Also
Classes
Importing classes