In general, my advice is not to issue a program for
a version you don't have yourself, as you then
depend on others testing it.
In this case, you might try something like this
program myprog
version 8.2
local oktype = cond(`c(version)' < 9, "integer", "real")
syntax ... , ... Level(`oktype' `c(level)')
Neat. This raises some interesting possibilities. For example, suppose
you had a subprogram written in 8.2 and some equivalent and much faster
code written for 9.0 Mata. You could call whichever was appropriate for the
version being used.