l = fragment.list(<i>)

Get a list of fragments. If no argument is provided, the last fragment catalog is returned. Otherwise, the fragments in catalog i are returned where i ranges from 1 to the total number of catalogs. Only fragments active at the given state are returned. Use the fragment.catalog function or the fragment list command to obtain the catalog information.

Returns:l - list of fragments
Arguments:i - optional catalog number