Initializing help system before first use

# getcontrolinfo

Purpose
Accesses the id number and the type information of a control given its name.
A control name may be for example PRESOLVE. Names are case-insensitive and may or may not have the _ prefix. The id number is the constant used to identify the control in the C API. The type information returned will be one of the below integer constants. The function will return an id number of 0 and a type value of TYPE_NOTDEFINED if the name is not recognized as a control name. Note that this will occur if the name is an attribute name and not a control name.
Synopsis
`getcontrolinfo(prob, name)`
Arguments

prob | The current problem.
name | The name of the control to be queried.

Return value
A list with the following elements:

id
  The id number.
type
  The type information.

Further information
Please refer to the C documentation for more details.
Parent Topic R interface reference manual

© 2001-2026 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.