# 05-Indexes_Userdef

> This sample demonstrates the use of the generated `_get_udfs()`,`_compare_obj()`and `_compare_ext()` functions and the standard function `mco_db_register_udf()` for user-defined indexes. (See file `udfdb_udf.c`. Note that when you build this project a new version of this file is generated by `mcocomp` named `udfdb_udf.c.new` so that any customization done to `udfdb_udf.c` will not be overwritten.)

### How to Run

> See instructions here on how to build this and other samples on your development platform. Once built, the sample can be run from the `\target\bin` directory:

>         05_indexes_userdef

> But it is more instructive to run it in your development environment debugger, stepping through the code.

> Related Topics