Initializing help system before first use

XPRS_nml_addnames

XPRS_nml_addnames


Purpose
The XPRS_nml_* functions provide a simple, generic interface to lists of names, which may be names of rows/columns on a problem or may be a list of arbitrary names provided by the user. Use the XPRS_nml_addnames to add names to a name list, or modify existing names on a namelist.
Synopsis
int XPRS_CC XPRS_nml_addnames(XPRSnamelist nml, const char buf[], int firstIndex, int lastIndex);
Arguments
nml 
The name list to which you want to add names. Must be an object previously returned by XPRS_nml_create, as XPRSnamelist objects returned by other functions are immutable and cannot be changed.
names 
Character buffer containing the null-terminated string names.
first 
The index of the first name to add/replace. Name indices in a namelist always start from 0.
last 
The index of the last name to add/replace.
Example
char mynames[0] = "fred\0jim\0sheila"
...
XPRS_nml_addnames(nml,mynames,0,2);
Related topics

© 2001-2020 Fair Isaac Corporation. All rights reserved. This documentation is the property of Fair Isaac Corporation (“FICO”). Receipt or possession of this documentation does not convey rights to disclose, reproduce, make derivative works, use, or allow others to use it except solely for internal evaluation purposes to determine whether to purchase a license to the software described in this documentation, or as otherwise set forth in a written software license agreement between you and FICO (or a FICO affiliate). Use of this documentation and the software described in it must conform strictly to the foregoing permitted uses, and no other use is permitted.