Versions Compared

Key

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

7.33 DEFINE_MAP

Note
Note: Usage options

The DEFINE_MAP command defines the input and output value for an event, method, or property routine.

...

To pass more than one value to or from an event routine, you have to specify separate DEFINE_MAP statements for all of them in the DEFINE_EVT block. The same applies to method routines that can accept multiple input parameters. A property routine can have only one DEFINE_MAP statement for input and one for output because a property is always a single value.

Also See

7.33.1 DEFINE_MAP Parameters

7.33.3 DEFINE_MAP in MTHROUTINE

7.33.4 DEFINE_MAP in PTYROUTINE

7.33.2 DEFINE_MAP with DEFINE_EVT

7.91 MTHROUTINE

7.101 PTYROUTINE

7.32 DEFINE_EVT


Panel
bgColor#ffffcc

                                                                                           Required                                                                                 

    DEFINE_MAP --- FOR 

No Format
                                                          Required            DEFINE_MAP --- FOR

-------*

INPUT

INPUT ----------------------------->       

                              *OUTPUT                                                                    *BOTH                                                                      *RESULT                                                     >


                                                *OUTPUT                                     
                                                *BOTH                                       
                                               *RESULT                                                                                                                                                                                       

                    >---CLASS

-

-----

Component

Class

-------------------->       

                               *Variant                                                   >-- NAME -


                                              *Variant                                                                                                                                                                                     

                   >-- NAME ------

Component

name  -------------------

>                       >

>                                                                                 

                  >--

PASS

-------

*BY_VALUE  -----------------------

>                                           *BY_REFERENCE                                

---->          
                                            *BY_REFERENCE                                                                                                       

   ---------------------------------------------------------------------

                                                              Optional                         >-- DESC

                                                                              

                                                                                           Optional                                                                                                                                                             

                 >-- DESC -------

Description  ---------------------------

>                     >

>                                                                           

                >--

MANDATORY

--*YES

-------------------------------->     

                               *NULL                                                                      Default value                              


                                            *NULL                                      
                                            Default value                                                                                                        

               >--

HELP

--------

Help

text

-------------------------------|