Get_all_user_option_names, Usage, Options – Altera Quartus II Scripting User Manual
Page 334: Description, Example, Get_all_user_option_names –204

3–204
Chapter 3: Tcl Packages & Commands
project
Quartus II Scripting Reference Manual
© July 2013
Altera Corporation
get_all_user_option_names
Usage
get_all_user_option_names [-name
Options
-name
Description
Returns a filtered output list of all available, matching user option names.
If the "-name" option is not specified, all available user option names are returned. Otherwise, only the
matching user option names are returned.
The "-name" option is not case sensitive. This option can take string patterns containing special characters
from the set "*?\[]" as the value. The value is matched using Tcl string matching.
Example
## Print out all available user option names
foreach i [get_all_user_option_names] {
puts $i
}
## Display all user option names that contain
## the word "talkback" and also display the
## value for each of the user option names
foreach i [get_all_user_option_names -name *talkback*] {
set name $i
set value [get_user_option -name $i]
puts "$name = $value"
}