Release 10.1A: OpenEdge Development:
AppBuilder

> ## 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 © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095