Altera Quartus II Scripting Uživatelský manuál Strana 334

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 634
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 333
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 <name>]
Options
-name <name>: User option name (string pattern is matched using Tcl string matching)
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"
}
Zobrazit stránku 333
1 2 ... 329 330 331 332 333 334 335 336 337 338 339 ... 633 634

Komentáře k této Příručce

Žádné komentáře