Hi,
Screensize variable doesn't store the text screen size, but the drawing editor screen size. I think that to get the text screen size you need some call to the Windows API, however I don´t know how to do that from vlisp other than creating a specific COM object and type lib.
Gaston Nunez