11
Prelude Support / Re: Bug in VSI-FAX subroutine
« Last post by Charles Sasaki-Skopp on November 18, 2019, 01:53:05 PM »Old topic, but useful for something I found in my system. Replying in case it comes up for anyone else, but suggested fix for this would be to modify the faxing routine SEND.FAX3 to clear PARAM after using it to set the variable DOC.FLAG:
*--------------------------------------------------------------------------
* Initialize Constants
*--------------------------------------------------------------------------
*
DOC.FLAG=FIELD(PARAM,",",1)
PARAM = '' ;*Clear PARAM so it doesn't get recycled* CAS*20191118
This is a fairly standard pattern in ADS software. Doing this will allow all the fax routines like PRINT.STM.FAX, INVOICE.FORMAT etc. to function properly without having to modify the PARAM block for each one.
*--------------------------------------------------------------------------
* Initialize Constants
*--------------------------------------------------------------------------
*
DOC.FLAG=FIELD(PARAM,",",1)
PARAM = '' ;*Clear PARAM so it doesn't get recycled* CAS*20191118
This is a fairly standard pattern in ADS software. Doing this will allow all the fax routines like PRINT.STM.FAX, INVOICE.FORMAT etc. to function properly without having to modify the PARAM block for each one.