The variable specified in the ASSIGN...TO BUFFER statement must be declared with the BUFFER keyword following it in the DIM, INTEGER, REAL or COM statement. If the buffer variable is a parameter, it must be passed with the BUFFER keyword following it in the DEF or SUB statement.