TABLE OF CONTENTS


::pwtk::input::cardPrepend

SYNOPSIS

proc ::pwtk::input::cardPrepend {name prepend_content} {

PURPOSE

Prepend new content to the begining of the existing card content.

ARGUMENTS

RETURN VALUE

SOURCE

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

    if { ! [info exists ::pwtk::input::card($name)] } {
        set ::pwtk::input::card($name)         exists
        set ::pwtk::input::card_flags($name)   ""
    }

    set ::pwtk::input::card_content($name) "[string trim $prepend_content]\n$::pwtk::input::card_content($name)"
}