Can I create my own options?

Can I create my own options?

book

Article ID: KB0085474

calendar_today

Updated On:

Products Versions
TIBCO SmartSockets -
Not Applicable -

Description

Resolution:
In the Tut library there are published APIs that allow the developer to create and manage their own options. In addition there is an undocumented command, Createopt, that allows new options to be created right in the .cm file.
Valid option types for Createopt are: boolean, enum, numeric, string, enum_list, numeric_list, and str_list.
NOTE: The numeric option type is used as an equivalent for both the double and integer type.

Example:
createopt OptionName boolean
createopt OptionName enum
createopt OptionName string
createopt OptionName numeric

Issue/Introduction

Can I create my own options?