[ Type code = v ] setdef parameter must be loaded with a string of the format ",min,max,," where min is the minimum acceptable value and max is the maximum acceptable value. See setdef for more info on proper formatting of range strings. Note that you will probably want to use code s along with v to stifle the "Choices:" message which otherwise appears on the bottom line when setdef is non null.