| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(lens), | public, | dimension(:), allocatable | :: | lenses |
the lenses in the box |
remove the lens with the label (if present)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(box), | intent(inout) | :: | me | |||
| character(len=*), | intent(in) | :: | label |
type :: box type(lens),dimension(:),allocatable :: lenses !! the lenses in the box contains procedure :: add_lens procedure :: remove_lens end type box