TABLE OF CONTENTS
::pwtk::input::cardGetFlags
SYNOPSIS
proc ::pwtk::input::cardGetFlags {name {trim ""}} {
PURPOSE
Return the flags of the card.
ARGUMENTS
- name -- name of the card
- trim -- do we get rid of braces {} or ()
SOURCE
global ::pwtk::input::card ::pwtk::input::card_flags set result "" if { [info exists ::pwtk::input::card($name)] && [info exists ::pwtk::input::card_flags($name)] } { set result $::pwtk::input::card_flags($name) } if { $trim != "" && $trim != 0 } { return [::pwtk::trimCardFlag $result] } return $result }