void SUB_VWATCHADDLABEL(int32*_SUB_VWATCHADDLABEL_LONG_THIS,int8*_SUB_VWATCHADDLABEL_BYTE_LASTLINE){
qbs *tqbs;
ptrszint tmp_long;
int32 tmp_fileno;
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
uint8 *tmp_mem_static_pointer=mem_static_pointer;
uint32 tmp_cmem_sp=cmem_sp;
#include "data20.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
do{
if(!qbevent)break;evnt(15297);}while(r);
S_17755:;
if ((-(*_SUB_VWATCHADDLABEL_BYTE_LASTLINE== 0 ))||is_error_pending()){
if(qbevent){evnt(15299);if(r)goto S_17755;}
S_17756:;
while((qbs_cleanup(qbs_tmp_base,-(*_SUB_VWATCHADDLABEL_LONG_THIS>__STRING_VWATCHUSEDLABELS->len)))||is_error_pending()){
if(qbevent){evnt(15300);if(r)goto S_17756;}
do{
qbs_set(__STRING_VWATCHUSEDLABELS,qbs_add(__STRING_VWATCHUSEDLABELS,func_space( 1000 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15301);}while(r);
do{
qbs_set(__STRING_VWATCHUSEDSKIPLABELS,qbs_add(__STRING_VWATCHUSEDSKIPLABELS,func_space( 1000 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15302);}while(r);
ww_continue_2602:;
}
ww_exit_2602:;
S_17760:;
if ((-(*__LONG_FIRSTLINENUMBERLABELVWATCH== 0 ))||is_error_pending()){
if(qbevent){evnt(15305);if(r)goto S_17760;}
do{
*__LONG_FIRSTLINENUMBERLABELVWATCH=*_SUB_VWATCHADDLABEL_LONG_THIS;
if(!qbevent)break;evnt(15306);}while(r);
}else{
S_17763:;
if ((-(*_SUB_VWATCHADDLABEL_LONG_PREVSKIP!=*_SUB_VWATCHADDLABEL_LONG_PREVLABEL))||is_error_pending()){
if(qbevent){evnt(15308);if(r)goto S_17763;}
do{
tqbs=__STRING_VWATCHUSEDSKIPLABELS; if (!is_error_pending()){
tmp_fileno=*_SUB_VWATCHADDLABEL_LONG_PREVLABEL; if (!is_error_pending()){
tmp_long= 1 ; if (!is_error_pending()){
if ((tmp_fileno>0)&&(tmp_fileno<=tqbs->len)){tqbs->chr[tmp_fileno-1]=tmp_long;}else{error(5);}
}}}
if(!qbevent)break;evnt(15309);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2604=*__LONG_MAINTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("VWATCH_SKIPLABEL_",17),qbs__tostr((int32)(*_SUB_VWATCHADDLABEL_LONG_PREVLABEL),NULL,0)),qbs_new_txt_len(":;",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15310);}while(r);
do{
*_SUB_VWATCHADDLABEL_LONG_PREVSKIP=*_SUB_VWATCHADDLABEL_LONG_PREVLABEL;
if(!qbevent)break;evnt(15311);}while(r);
}
}
S_17769:;
if ((-(*_SUB_VWATCHADDLABEL_LONG_PREVLABEL!=*_SUB_VWATCHADDLABEL_LONG_THIS))||is_error_pending()){
if(qbevent){evnt(15315);if(r)goto S_17769;}
do{
tqbs=__STRING_VWATCHUSEDLABELS; if (!is_error_pending()){
tmp_fileno=*_SUB_VWATCHADDLABEL_LONG_THIS; if (!is_error_pending()){
tmp_long= 1 ; if (!is_error_pending()){
if ((tmp_fileno>0)&&(tmp_fileno<=tqbs->len)){tqbs->chr[tmp_fileno-1]=tmp_long;}else{error(5);}
}}}
if(!qbevent)break;evnt(15316);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2605=*__LONG_MAINTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("VWATCH_LABEL_",13),qbs__tostr((int32)(*_SUB_VWATCHADDLABEL_LONG_THIS),NULL,0)),qbs_new_txt_len(":;",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15317);}while(r);
do{
*_SUB_VWATCHADDLABEL_LONG_PREVLABEL=*_SUB_VWATCHADDLABEL_LONG_THIS;
if(!qbevent)break;evnt(15318);}while(r);
do{
*__LONG_LASTLINENUMBERLABELVWATCH=*_SUB_VWATCHADDLABEL_LONG_THIS;
if(!qbevent)break;evnt(15319);}while(r);
}
}else{
S_17776:;
if ((-(*_SUB_VWATCHADDLABEL_LONG_PREVSKIP!=*_SUB_VWATCHADDLABEL_LONG_PREVLABEL))||is_error_pending()){
if(qbevent){evnt(15322);if(r)goto S_17776;}
do{
tqbs=__STRING_VWATCHUSEDSKIPLABELS; if (!is_error_pending()){
tmp_fileno=*_SUB_VWATCHADDLABEL_LONG_PREVLABEL; if (!is_error_pending()){
tmp_long= 1 ; if (!is_error_pending()){
if ((tmp_fileno>0)&&(tmp_fileno<=tqbs->len)){tqbs->chr[tmp_fileno-1]=tmp_long;}else{error(5);}
}}}
if(!qbevent)break;evnt(15323);}while(r);
do{
SUB_WRITEBUFLINE(&(pass2606=*__LONG_MAINTXTBUF),qbs_add(qbs_add(qbs_new_txt_len("VWATCH_SKIPLABEL_",17),qbs__tostr((int32)(*_SUB_VWATCHADDLABEL_LONG_PREVLABEL),NULL,0)),qbs_new_txt_len(":;",2)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(15324);}while(r);
do{
*_SUB_VWATCHADDLABEL_LONG_PREVSKIP=*_SUB_VWATCHADDLABEL_LONG_PREVLABEL;
if(!qbevent)break;evnt(15325);}while(r);
}
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free20.txt"
if ((tmp_mem_static_pointer>=mem_static)&&(tmp_mem_static_pointer<=mem_static_limit)) mem_static_pointer=tmp_mem_static_pointer; else mem_static_pointer=mem_static;
cmem_sp=tmp_cmem_sp;
}
