void SUB_CLEARBUFFERS(qbs*_SUB_CLEARBUFFERS_STRING_SBNAME){
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 "data168.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(24221,62,"sb_qb64pe_extension.bm");}while(r);
S_34783:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(_SUB_CLEARBUFFERS_STRING_SBNAME,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24221,64,"sb_qb64pe_extension.bm");if(r)goto S_34783;}
S_34784:;
fornext_value4033= 0 ;
fornext_finalvalue4033=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4033= 1 ;
if (fornext_step4033<0) fornext_step_negative4033=1; else fornext_step_negative4033=0;
if (is_error_pending()) goto fornext_error4033;
goto fornext_entrylabel4033;
while(1){
fornext_value4033=fornext_step4033+(*_SUB_CLEARBUFFERS_INTEGER_BUF);
fornext_entrylabel4033:
*_SUB_CLEARBUFFERS_INTEGER_BUF=fornext_value4033;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4033){
if (fornext_value4033<fornext_finalvalue4033) break;
}else{
if (fornext_value4033>fornext_finalvalue4033) break;
}
fornext_error4033:;
if(qbevent){evnt(24221,65,"sb_qb64pe_extension.bm");if(r)goto S_34784;}
S_34785:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[array_check((*_SUB_CLEARBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5])])),_SUB_CLEARBUFFERS_STRING_SBNAME)))||is_error_pending()){
if(qbevent){evnt(24221,66,"sb_qb64pe_extension.bm");if(r)goto S_34785;}
do{
goto fornext_exit_4032;
if(!qbevent)break;evnt(24221,66,"sb_qb64pe_extension.bm");}while(r);
}
fornext_continue_4032:;
}
fornext_exit_4032:;
S_34789:;
if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_CLEARBUFFERS_INTEGER_BUF>func_ubound(__ARRAY_STRING_SBUFN,1,1))))||is_error_pending()){
if(qbevent){evnt(24221,68,"sb_qb64pe_extension.bm");if(r)goto S_34789;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24221,68,"sb_qb64pe_extension.bm");}while(r);
}
do{
SUB_DISPOSEBUF(_SUB_CLEARBUFFERS_INTEGER_BUF);
if(!qbevent)break;evnt(24221,69,"sb_qb64pe_extension.bm");}while(r);
do{
tmp_long=array_check((*_SUB_CLEARBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[tmp_long])),qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24221,69,"sb_qb64pe_extension.bm");}while(r);
}else{
S_34795:;
fornext_value4035= 0 ;
fornext_finalvalue4035=func_ubound(__ARRAY_STRING_SBUFN,1,1);
fornext_step4035= 1 ;
if (fornext_step4035<0) fornext_step_negative4035=1; else fornext_step_negative4035=0;
if (is_error_pending()) goto fornext_error4035;
goto fornext_entrylabel4035;
while(1){
fornext_value4035=fornext_step4035+(*_SUB_CLEARBUFFERS_INTEGER_BUF);
fornext_entrylabel4035:
*_SUB_CLEARBUFFERS_INTEGER_BUF=fornext_value4035;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4035){
if (fornext_value4035<fornext_finalvalue4035) break;
}else{
if (fornext_value4035>fornext_finalvalue4035) break;
}
fornext_error4035:;
if(qbevent){evnt(24221,71,"sb_qb64pe_extension.bm");if(r)goto S_34795;}
S_34796:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[array_check((*_SUB_CLEARBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5])])),qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(24221,72,"sb_qb64pe_extension.bm");if(r)goto S_34796;}
do{
SUB_DISPOSEBUF(_SUB_CLEARBUFFERS_INTEGER_BUF);
if(!qbevent)break;evnt(24221,72,"sb_qb64pe_extension.bm");}while(r);
do{
tmp_long=array_check((*_SUB_CLEARBUFFERS_INTEGER_BUF)-__ARRAY_STRING_SBUFN[4],__ARRAY_STRING_SBUFN[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_SBUFN[0]))[tmp_long])),qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24221,72,"sb_qb64pe_extension.bm");}while(r);
}
fornext_continue_4034:;
}
fornext_exit_4034:;
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free168.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;
}
