High Maintenance:
Drive GUI creation from lists included in code or external data files.
Example: Creating a menu of files to process
foreach file $fileList {
$fileMenu add command -label "$file" -command "ProcessFile $file"
}
set fileList [list a.dat b.dat c.dat d.dat]
Advantage:
Disadvantage:
Drive the creation of menus from the raw data, instead of a manually created list.
Example: Creating a menu of files to process
foreach file $fileList {
$fileMenu add command -label "$file" -command "ProcessFile $file"
}
set fileList [glob $stateArray(BASEDIR)/*.dat]
Advantage:
Disadvantage: