TABLE OF CONTENTS
::pwtk::input::cardPreppend
SYNOPSIS
proc ::pwtk::input::cardPreppend {name preppend_content} {
PURPOSE
Preppend new content to the begining of the existing card content.
ARGUMENTS
- name -- name of the card
- preppend_content -- content to preppend to the beginning of existing card content
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 $preppend_content]\n$::pwtk::input::card_content($name)" }