Progress
AppBuilder
Developer’s Guide


Reserved Names (adeuib/_namespc.p)

Use the adeuib/_namespc.p procedure to register the names of variables or procedures that AppBuilder users cannot use. For example, if you write an XFTR that creates a procedure, you do not want an AppBuilder user to create an internal procedure with the same name. Similarly, if the XFTR defines variables, you want to restrict AppBuilder users from using those variables:

Calling Sequence
RUN adeuib/_namespc.p
  ( INPUT pi_context ,
    INPUT pc_mode ,
    INPUT pc_list
   ) . 

Input Parameters

The adeuib/_namespc.p procedure takes the following input parameters:

pi_context

The context of the procedure object to access. If this is unknown (?), then get the current procedure. If a procedure object cannot be found, returns “ERROR”.

pc_mode

The action to perform. Valid actions are as follows:

SYNTAX
{ RESERVE | UNRESERVE }
[ { VARIABLE | PROCEDURE }
      [ NAME | NAMES ]
] 

pc_list

A comma-separated list of names to add or remove.

If you try to reserve a name that is already in use, warnings are generated; however, the reservation is made, so that if you delete the widget that uses the name, you cannot use it again. You can unreserve any name, even one that it not reserved, but no warning is generated.


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095