Maps

From Axaptapedia

Jump to: navigation, search

Maps is a logical collection of almost identical tables. A map is a compensation for the fact that tables cannot inherit properties from one another. The critical difference is that even though Map resembles a table at first glance, it does not contain data but functions rather as a library of methods intended to be shared by several tables.

Maps is located in the AOT in tables.


[edit] Using methods

The syntax for calling a method in Maps is:

Table.Map::Method();

Note that the '::' is actually a a dynamic call when using it with Maps.

Arindam

Personal tools