If the environment variable BASECHO is set to a non-null value when a Basmark QuickBASIC program begins executing, the BASIC input/output facility operates differently in order to support half-duplex terminals such as the IBM 3278. In this modified behavior of the input/output facility, the terminal modes are not altered. Cls may fail to work properly under some circumstances because of post-processing by the terminal driver.
from The Basmark QuickBASIC Programmer’s Manual by Lawrence Leinweber