NumLoops

number NumLoops(heapPtr obj)

By specifying a instance or class as the parameter, it looks up the view property and returns the total number of loops in the view. If the view is not loaded, it will automatically load it.

Example
(var totalLoopsInEgo)
=
totalLoopsInEgo NumLoops(gEgo)

See Also: NumCels