How to find how many fields are defined on the screen?



  1. How to find how many fields are defined on the screen?
        Syntax masknbf(<class | num_exp>)

       1. Class: Description of a screen (The class must exist.)

       2. num_exp: Numeric expression that describes a screen (num_exp >= 0)

     "masknbf" Function which will return the value in the integer 




in scripte:
# How many fields does the "customer header" BPC0 mask have? Mask BPC0 Infbox num$(masknbf([BPC0]))