TABLE OF CONTENTS


::pwtk::input::cardContent

SYNOPSIS

proc ::pwtk::input::cardContent {name content} {

PURPOSE

Set the card's content if and only if the card exists.

ARGUMENTS

RETURN VALUE

SOURCE

    global ::pwtk::input::card ::pwtk::input::card_flags ::pwtk::input::card_content

    if { [info exists ::pwtk::input::card($name)] } {
        return [set ::pwtk::input::card_content($name) [string trim $content]]
    }
    return ""
}