In the memory section of ACR-View, do not set Number of Defines to 0, where the default is 20. This needs to be set to a non-zero value for IF ENDIF syntax to be valid. Single line IF THEN is not affected. Setting this to 0 disables IF ENDIF as valid syntax and will cause a Range Error on download.