The IDLffLangCat::Init function method initializes an IDLffLangCat object.
| Note |
Any invalid input will result in a failure to create a valid object. Invalid input includes the following cases:
You can set the VERBOSE keyword to view the output log for a detailed description of the creation (or failure) of the object. You can also set CONTINUE_ON_ERROR to override the failure behavior if you have the language specified, regardless of the language's existence.
Obj = OBJ_NEW( `IDLffLangCat', Language [, PROPERTY=value] [, /CONTINUE_ON_ERROR]
or
Result = Obj->[IDLffLangCat::]Init( Language [, PROPERTY=value] [, /CONTINUE_ON_ERROR] )
(Only in a subclass's Init method)
Returns the new object if successful or a null object otherwise if initialized with OBJ_NEW, or returns 1 if successful or 0 otherwise if called from a subclass's Init method.
A string containing the name of the language to load from the catalog.
Any property listed under IDLffLangCat Properties that contains the word "Yes" in the "Init" column of the properties table can be initialized during object creation using this method. To initialize the value of a property, specify the property name as a keyword set equal to the appropriate property value.
You must specify either APP_NAME or FILENAME for this method. If APP_NAME is specified, it overrides any input to FILENAME.
If set, the object will be created as long as the language is specified, regardless of the validity of any of the input parameters. If not set, the object will not be created if any input is invalid. If a language is not specified or is specified incorrectly (e.g., as a multiple element array), the object will not be created, and an error will be thrown, regardless of the value of this keyword.
Introduced: 6.1