on wish: some precompiler directives

Author: ulrichmerkel@web.de (ulrich-merkel)

see: uniface.communityzero.com/content/lists

Short Description

some precompiler directives

Description

#forpair v_id, v_value = (test=12,ab=33), v_count
similar to #for, but allows pairs of information
**************************
#defineglobal
extends the lifetime of the #define to the end of the compile unit
**************************
#definegroup
extends the lifetime of the #define to the end of the compile module
form
entity
field
**************************
 

Use case (please read what is requested here!)

for a clearer to handle directives.

You see directly the pair and do not have 2 lists where you have to take care the positions are kept (current way to handle pairs)

#definegroup and #defineglobal to define in a trigger (<LPMX>) which can be reused in entities or fields without toggle to the <DEFN> trigger 

Importance

Once again, easier handling, easier maintenance, global #defines can be set in the context of the other code instaed of jumping back and forth.

Some frameworks I saw request a "#define xyz" (currently in <DEFN>) if you want to specify a "user exit" in (LPMX). 

1 Comment

  1. Posted: Jul 9, 2009  10:34 PM 2 views Change the moderation status by clicking the following links.Approved1 star of excellence2 stars of excellence3 stars of excellence
     

    see: uniface.communityzero.com/content/lists

    Short Description

    some precompiler directives

    Description

    #forpair v_id, v_value = (test=12,ab=33), v_count
    similar to #for, but allows pairs of information
    **************************
    #defineglobal
    extends the lifetime of the #define to the end of the compile unit
    **************************
    #definegroup
    extends the lifetime of the #define to the end of the compile module
    form
    entity
    field
    **************************
     

    Use case (please read what is requested here!)

    for a clearer to handle directives.

    You see directly the pair and do not have 2 lists where you have to take care the positions are kept (current way to handle pairs)

    #definegroup and #defineglobal to define in a trigger (<LPMX>) which can be reused in entities or fields without toggle to the <DEFN> trigger 

    Importance

    Once again, easier handling, easier maintenance, global #defines can be set in the context of the other code instaed of jumping back and forth.

    Some frameworks I saw request a "#define xyz" (currently in <DEFN>) if you want to specify a "user exit" in (LPMX). 


    Author: ulrich-merkel (ulrichmerkel@web.de)