get_user_option (::quartus::project)
The following table displays information for the get_user_option Tcl command:
Tcl Package and Version |
Belongs to ::quartus::project 6.0 |
|||
Syntax | get_user_option [-h | -help] [-long_help] -name <name> | |||
Arguments | -h | -help | Short help | ||
-long_help | Long help with examples and possible return values | |||
-name <name> | User option name | |||
Description |
Returns the user option value for the name specified by the "-name" option. To get a list of all available user option names, use the "get_all_user_option_names" command. |
|||
Example Usage |
## Get the value for the user option ## "TALKBACK_ENABLED" set value [get_user_option -name TALKBACK_ENABLED] puts "TALKBACK_ENABLED = $value" |
|||
Return Value | Code Name | Code | String Return | |
TCL_OK | 0 | INFO: Operation successful | ||
TCL_ERROR | 1 | ERROR: Illegal user option name: <string>. Specify a legal user option name. To get a list of legal names, use the get_all_user_option_names command. |