Product Site

5.3.9. Directory Class

A Directory is a MapCollection using unique character string indexes. The items of a Directory can be any valid Rexx object.

See also StringTable Class, a MapCollection similar to Directory, but without methods setMethod and unsetMethod.
Table 5.19. Directory Class

In addition to the standard put, []=, at, and [] methods defined for Collections, Directory provides access to items using methods. For example:
mydir = .directory~new
mydir~name = "Mike"   -- same as mydir~put("Mike", "NAME")
say mydir~name        -- same as say mydir['NAME']