Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

7.31 DEFINE_COM

Note
Note: Usage options

This command is inserted automatically as you drag components to be included in the component being edited.

...

In Functions that are running as *HEAVYUSAGE, the state of referenced components is retained between invocations. If the state is not to be retained, use components that are *DYNAMIC.

Also See

7.31.1 DEFINE_COM Parameters

7.31.2 DEFINE_COM Examples

No Format
                                                           Required       
                                                                          
    DEFINE_COM ----CLASS -------Component Class ------------------>       
                                *VARIANT                                  
                                                                      
               >-- NAME ------- Component name  ------------------>       
                                                                          
               >-- SCOPE ------ *DEFAULT-------------------------->       
                                *LOCAL                                    
                                *INSTANCE                                 
                                *SHARED                                   
    DEFINE_COM ----CLASS -------Component Class ------------------>       
                                                                         
               >-- REFERENCE--- *DEFAULT-------------------------->       
                                *STATIC                                   
                                *DEFERRED                                 
                                *DYNAMIC                                  
                                                                          
   -------------------------------------------------------------------    
                                                          Optional        
                                                                          
               >-- DESC ------- Description  --------------------->       
                                                                          
               >-- HELP ------- Help text ---------------------------|  

...