bdfp1m1fProgramming Concepts and Reference

df_nbrkeys-Setting Up the Number of Keys

Use this function to set up the number of keys that you want to use in a particular key list structure.

Format

void df_nbrkeys(dft_kyl *key_list, short int n);

key_list
is a pointer to the key list structure you are setting up.

n
is the number of keys (1-180) that you want in the key list.

Entry Requirements

None.

Normal Return

None.

Error Return

 See Identifying Return Indicators and Errors for information about how to check the error indicators. 

Programming Considerations

Examples

See Setting up a Key List with Less than Six Keys and Setting up a Key List in the Range 1-180 for examples of how to set up a key list.

Related Functions

df_setkey-Setting Up a Key in a Key List.