void SUB_DELSELECT(){
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 "data440.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
*_SUB_DELSELECT_LONG_SY1=*__LONG_IDESELECTY1;
if(!qbevent)break;evnt(28182,21052,"ide_methods.bas");}while(r);
do{
*_SUB_DELSELECT_LONG_SY2=*__LONG_IDECY;
if(!qbevent)break;evnt(28182,21053,"ide_methods.bas");}while(r);
S_67258:;
if ((-(*_SUB_DELSELECT_LONG_SY1>*_SUB_DELSELECT_LONG_SY2))||is_error_pending()){
if(qbevent){evnt(28182,21054,"ide_methods.bas");if(r)goto S_67258;}
do{
swap_32(&*_SUB_DELSELECT_LONG_SY1,&*_SUB_DELSELECT_LONG_SY2);
if(!qbevent)break;evnt(28182,21054,"ide_methods.bas");}while(r);
}
do{
*_SUB_DELSELECT_LONG_SX1=*__LONG_IDESELECTX1;
if(!qbevent)break;evnt(28182,21055,"ide_methods.bas");}while(r);
do{
*_SUB_DELSELECT_LONG_SX2=*__LONG_IDECX;
if(!qbevent)break;evnt(28182,21056,"ide_methods.bas");}while(r);
S_67263:;
if ((-(*_SUB_DELSELECT_LONG_SX1>*_SUB_DELSELECT_LONG_SX2))||is_error_pending()){
if(qbevent){evnt(28182,21057,"ide_methods.bas");if(r)goto S_67263;}
do{
swap_32(&*_SUB_DELSELECT_LONG_SX1,&*_SUB_DELSELECT_LONG_SX2);
if(!qbevent)break;evnt(28182,21057,"ide_methods.bas");}while(r);
}
do{
*_SUB_DELSELECT_LONG_NOLASTLINEDEL= 0 ;
if(!qbevent)break;evnt(28182,21058,"ide_methods.bas");}while(r);
S_67267:;
if (((-(*_SUB_DELSELECT_LONG_SY1!=*_SUB_DELSELECT_LONG_SY2))&(-(*__LONG_IDECX== 1 ))&(-(*__LONG_IDECY>*_SUB_DELSELECT_LONG_SY1)))||is_error_pending()){
if(qbevent){evnt(28182,21059,"ide_methods.bas");if(r)goto S_67267;}
do{
*_SUB_DELSELECT_LONG_SY2=*_SUB_DELSELECT_LONG_SY2- 1 ;
if(!qbevent)break;evnt(28182,21059,"ide_methods.bas");}while(r);
do{
*_SUB_DELSELECT_LONG_NOLASTLINEDEL= 1 ;
if(!qbevent)break;evnt(28182,21059,"ide_methods.bas");}while(r);
}
S_67271:;
fornext_value7725=*_SUB_DELSELECT_LONG_SY2;
fornext_finalvalue7725=*_SUB_DELSELECT_LONG_SY1;
fornext_step7725= -1 ;
if (fornext_step7725<0) fornext_step_negative7725=1; else fornext_step_negative7725=0;
if (is_error_pending()) goto fornext_error7725;
goto fornext_entrylabel7725;
while(1){
fornext_value7725=fornext_step7725+(*_SUB_DELSELECT_LONG_Y);
fornext_entrylabel7725:
*_SUB_DELSELECT_LONG_Y=fornext_value7725;
if (fornext_step_negative7725){
if (fornext_value7725<fornext_finalvalue7725) break;
}else{
if (fornext_value7725>fornext_finalvalue7725) break;
}
fornext_error7725:;
if(qbevent){evnt(28182,21062,"ide_methods.bas");if(r)goto S_67271;}
S_67272:;
if (((-(*_SUB_DELSELECT_LONG_SY1==*_SUB_DELSELECT_LONG_SY2))&(-(*_SUB_DELSELECT_LONG_NOLASTLINEDEL== 0 )))||is_error_pending()){
if(qbevent){evnt(28182,21063,"ide_methods.bas");if(r)goto S_67272;}
do{
qbs_set(_SUB_DELSELECT_STRING_A,FUNC_IDEGETLINE(_SUB_DELSELECT_LONG_Y));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21064,"ide_methods.bas");}while(r);
do{
qbs_set(_SUB_DELSELECT_STRING_A2,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21065,"ide_methods.bas");}while(r);
S_67275:;
if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_DELSELECT_LONG_SX1<=_SUB_DELSELECT_STRING_A->len)))||is_error_pending()){
if(qbevent){evnt(28182,21066,"ide_methods.bas");if(r)goto S_67275;}
do{
qbs_set(_SUB_DELSELECT_STRING_A2,qbs_left(_SUB_DELSELECT_STRING_A,*_SUB_DELSELECT_LONG_SX1- 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21066,"ide_methods.bas");}while(r);
}else{
do{
qbs_set(_SUB_DELSELECT_STRING_A2,_SUB_DELSELECT_STRING_A);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21066,"ide_methods.bas");}while(r);
}
S_67280:;
if ((qbs_cleanup(qbs_tmp_base,-(*_SUB_DELSELECT_LONG_SX2<=_SUB_DELSELECT_STRING_A->len)))||is_error_pending()){
if(qbevent){evnt(28182,21067,"ide_methods.bas");if(r)goto S_67280;}
do{
qbs_set(_SUB_DELSELECT_STRING_A2,qbs_add(_SUB_DELSELECT_STRING_A2,qbs_right(_SUB_DELSELECT_STRING_A,_SUB_DELSELECT_STRING_A->len-*_SUB_DELSELECT_LONG_SX2+ 1 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21067,"ide_methods.bas");}while(r);
}
do{
SUB_IDESETLINE(_SUB_DELSELECT_LONG_Y,_SUB_DELSELECT_STRING_A2);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21068,"ide_methods.bas");}while(r);
}else{
S_67285:;
if (((-(*__LONG_IDEN== 1 ))&(-(*_SUB_DELSELECT_LONG_Y== 1 )))||is_error_pending()){
if(qbevent){evnt(28182,21070,"ide_methods.bas");if(r)goto S_67285;}
do{
SUB_IDESETLINE(_SUB_DELSELECT_LONG_Y,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,21070,"ide_methods.bas");}while(r);
}else{
do{
SUB_IDEDELLINE(_SUB_DELSELECT_LONG_Y);
if(!qbevent)break;evnt(28182,21070,"ide_methods.bas");}while(r);
}
}
fornext_continue_7724:;
}
fornext_exit_7724:;
do{
*__LONG_IDECX=*_SUB_DELSELECT_LONG_SX1;
if(!qbevent)break;evnt(28182,21074,"ide_methods.bas");}while(r);
S_67293:;
if (((-(*_SUB_DELSELECT_LONG_SY1!=*_SUB_DELSELECT_LONG_SY2))|(-(*_SUB_DELSELECT_LONG_NOLASTLINEDEL== 1 )))||is_error_pending()){
if(qbevent){evnt(28182,21074,"ide_methods.bas");if(r)goto S_67293;}
do{
*__LONG_IDECX= 1 ;
if(!qbevent)break;evnt(28182,21074,"ide_methods.bas");}while(r);
}
do{
*__LONG_IDECY=*_SUB_DELSELECT_LONG_SY1;
if(!qbevent)break;evnt(28182,21075,"ide_methods.bas");}while(r);
do{
*__LONG_IDESELECT= 0 ;
if(!qbevent)break;evnt(28182,21076,"ide_methods.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free440.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;
}
