Altera Quartus II Scripting Bedienungsanleitung Seite 334

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 634
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 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"
}
Seitenansicht 333
1 2 ... 329 330 331 332 333 334 335 336 337 338 339 ... 633 634

Kommentare zu diesen Handbüchern

Keine Kommentare