ANSI C Indexer Code Sample