Expressions in WRITE command were not evaluated