TEACL is a fork of TECOC created for the purpose of describing diffs in a document being collaboratively edited
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

19 lines
795 B

/*****************************************************************************
ExeZ()
This function executes a Z command.
Z Equivalent to the number of characters currently
contained in the buffer. Thus, Z represents the
position following the last character in the buffer.
*****************************************************************************/
#include "zport.h" /* define portability identifiers */
#include "tecoc.h" /* define general identifiers */
#include "defext.h" /* define external global variables */
DEFAULT ExeZ() /* execute Z command */
{
#if DEBUGGING
DBGFEN(1,"ExeZ",NULL);
sprintf(DbgSBf,"PushEx(%ld)", ((GapBeg-EBfBeg)+(EBfEnd-GapEnd)));
DbgFEx(1,DbgFNm,DbgSBf);
#endif
return PushEx((LONG)((GapBeg-EBfBeg)+(EBfEnd-GapEnd)), OPERAND);
}