rdb_get_const added

Allow user to retrieve data referenced by numeric index using a
constant # (no need to set up a pointer to integer to get at the data)