1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
module validate -title "Validation procs test" -script {
# support for undefined variables in the input files
set ::guib::settings(NAMELIST.variable_support_undefined) 1
namelist validate -name "VALIDATION" {
foreach type {
whatever
nonnegint
posint
nonposint
negint
nonnegreal
posreal
nonposreal
negreal
fortranreal
fortrannonnegreal
fortranposreal
fortrannonposreal
fortrannegreal
string
} {
var $type -label [string totitle $type]: -validate $type
}
}
}
|