Observed:APPEND_FILE and APPEND_FILE_EVALUATE fail with the message ERROR: Invalid_argument("String.sub / Bytes.sub") if the TEXT argument is specified and the patch buffer is empty.
Expected:APPEND_FILE and APPEND_FILE_EVALUATE should properly append the content of the given file to the buffer when the TEXT argument is specified.
Example code:
<<<<<<<< .../inlined/block.baf
IF
False()
THEN
RESPONSE #100
NoAction()
END
>>>>>>>>
OUTER_PATCH_SAVE script ~~ BEGIN
APPEND_FILE TEXT ~.../inlined/block.baf~
END
Observed:
APPEND_FILE
andAPPEND_FILE_EVALUATE
fail with the messageERROR: Invalid_argument("String.sub / Bytes.sub")
if theTEXT
argument is specified and the patch buffer is empty.Expected:
APPEND_FILE
andAPPEND_FILE_EVALUATE
should properly append the content of the given file to the buffer when theTEXT
argument is specified.Example code: