Start your procedure with quality code.
When you run the procedure builder on the right the code below
is created. The following things were done:
- Perfectly formatted code
- Headers included for module and procedure
- Return value statement in place
- Placed in module the user has chosen
- Selected error handler inserted
Imagine how much time it takes to create this code from
scratch!
The Error handler was selected from the folder fragments\error
handlers. You can make your own if you like with
Fragment Editor. The one used here
looks like this:
On Error GoTo {HANDLEERRORLABEL}
{HANDLEEXITLABEL}:
Exit {PROCEDURETYPE}
{HANDLEERRORLABEL}:
{ERRORHANDLEPROCEDURE} Err, Erl(), "{MODULENAME}.{PROCEDURENAME}"
Resume {HANDLEEXITLABEL}
Similarly you can change the headers to match your
needs. |