NumCels (Kernel)

NumCels(view)
NumCels(icon)

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

Parameters:
  • view (heapPtr) – An instance or class of View.
  • icon (heapPtr) – An instance or class of DIcon.
Returns:

The total number of cels in the current loop of the View or icon.