# Setdef Limits There is no particular limit to the length of _setdef_ when running in text mode or in local Windows, but in the ATE environment, the default maximum length is 3072 bytes. Beyond that, you may be better off using a control such as XTREE. But if you can expand that limit using the AG\_BUFSIZ command. The buffer size specified must be large enough to handle all of the arguments of INFLD, which in this context usually just means the maximum size of _setdef_, plus perhaps another 1K to handle the rest of the parameters.