Return value from Var must be matching type

BlitzMax Forums/BlitzMax Beginners Area/Return value from Var must be matching type

Isn't it the setviewport command you have to change in max2d module?