Synopsis
When calling the STREAM() built-in function to do a SEEK or POSITION command, you specified an unsupported sub-command. choices are the allowable sub-commmands. bad choice is what you supplied.
Cause
You wanted to specify your sub-command directly to STREAM(), but you forgot to put quotes around it. Therefore, Reginald assumes that it is the name of a variable which contains the real sub-command. This is likely the case if bad choice is not what you intended.
Cure
If you're directly supplying your sub-command as a literal string, put quotes around it.
Cause
You stored the sub-command in a variable, and then when passing that, you put the name of that variable in quotes, thus mistakenly passing the variable's name rather than the sub-command. This is likely the case if bad choice is your variable name.
Cure
Do not put your variable name in quotes.
Cause
You specified a variable name, but that variable was never assigned any value. Therefore, its default value is its name in capital letters. This is likely the case if bad choice is your variable name in capital letters.
Cure
Make sure that you assign the sub-command to the variable before calling STREAM(). You can trap the NOVALUE condition to catch errors of this nature.
Cause
You misspelled the sub-command. Check that bad choice is exactly what you wanted, without any spelling errors.
Cure
Learn to spell, trade-school dropout.
Cause
bad choice is exactly what you want, but Reginald does not seem to support it.
Cure
Update to the latest version of Reginald at Reginald's web site.