qbs* FUNC_IDEFILEDIALOG(qbs*_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,int8*_FUNC_IDEFILEDIALOG_BYTE_MODE){
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 "data372.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{
if(!qbevent)break;evnt(28182,12516,"ide_methods.bas");}while(r);
do{
sub_pcopy( 0 , 2 );
if(!qbevent)break;evnt(28182,12519,"ide_methods.bas");}while(r);
do{
sub_pcopy( 0 , 1 );
if(!qbevent)break;evnt(28182,12520,"ide_methods.bas");}while(r);
do{
qbg_screen(NULL,NULL, 1 , 0 ,NULL,12);
if(!qbevent)break;evnt(28182,12521,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS= 1 ;
if(!qbevent)break;evnt(28182,12522,"ide_methods.bas");}while(r);
do{
if(!qbevent)break;evnt(28182,12523,"ide_methods.bas");}while(r);
do{
if (_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[2]&2){
error(10);
}else{
static int64 alloc_new_desc[8];
static uint64 alloc_req_elems;
static uint64 alloc_req_bytes;
static uint64 alloc_dim_value;
static uint64 alloc_bytes_per_element;
if (_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[2]&1){
if (!error_occurred) error(10);
}else{
alloc_new_desc[4]= 1 ;
alloc_new_desc[5]=( 100 )-alloc_new_desc[4]+1;
if (alloc_new_desc[5]<=0) error(5);
alloc_new_desc[6]=1;
alloc_req_elems=1;
alloc_bytes_per_element=(uint64)(101);
if (!alloc_bytes_per_element) error(257);
if (((int64)((ptrszint)alloc_new_desc[4]))!=alloc_new_desc[4]) error(257);
if (alloc_new_desc[5]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[5]))!=alloc_new_desc[5]) error(257);
if (alloc_new_desc[6]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[6]))!=alloc_new_desc[6]) error(257);
alloc_dim_value=(uint64)alloc_new_desc[5];
if (alloc_dim_value){
if (alloc_req_elems>(18446744073709551615ull/alloc_dim_value)) error(257);
alloc_req_elems*=alloc_dim_value;
}
if (alloc_req_elems>(18446744073709551615ull/alloc_bytes_per_element)) error(257);
alloc_req_bytes=alloc_req_elems*alloc_bytes_per_element;
if (((uint64)((ptrszint)alloc_req_elems))!=alloc_req_elems) error(257);
if (((uint64)((size_t)alloc_req_bytes))!=alloc_req_bytes) error(257);
if (_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[2]&4){
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0]=(ptrszint)cmem_dynamic_malloc((size_t)alloc_req_bytes);
if (!_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0]) error(257);
memset((void*)(_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0]),0,(size_t)alloc_req_bytes);
}else{
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0]=(ptrszint)calloc((size_t)alloc_req_bytes,1);
if (!_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0]) error(257);
}
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[2]|=1;
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4]=alloc_new_desc[4];
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]=alloc_new_desc[5];
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[6]=alloc_new_desc[6];
_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[7]=alloc_new_desc[7];
}
}
if(!qbevent)break;evnt(28182,12524,"ide_methods.bas");}while(r);
do{
if(!qbevent)break;evnt(28182,12525,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING1_SEP,func_chr( 0 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12526,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING_IDEPATH);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12530,"ide_methods.bas");}while(r);
S_57636:;
if ((-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 3 ))||is_error_pending()){
if(qbevent){evnt(28182,12531,"ide_methods.bas");if(r)goto S_57636;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,func__dir(qbs_new_txt_len("Fonts",5)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12532,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_ALLFILES= 1 ;
if(!qbevent)break;evnt(28182,12532,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,qbs_left(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_STRING_PATH->len- 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12533,"ide_methods.bas");}while(r);
S_57640:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 4 )){
if(qbevent){evnt(28182,12534,"ide_methods.bas");if(r)goto S_57640;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_OPRG,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12535,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_ALLFILES= 1 ;
if(!qbevent)break;evnt(28182,12535,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,FUNC_IDEZTAKEPATH(_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12536,"ide_methods.bas");}while(r);
}
}
S_57645:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(qbs_right(_FUNC_IDEFILEDIALOG_STRING_PATH, 1 ),qbs_new_txt_len("/",1)))|(qbs_equal(qbs_right(_FUNC_IDEFILEDIALOG_STRING_PATH, 1 ),qbs_new_txt_len("\\",1)))))||is_error_pending()){
if(qbevent){evnt(28182,12538,"ide_methods.bas");if(r)goto S_57645;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,qbs_left(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_STRING_PATH->len- 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12539,"ide_methods.bas");}while(r);
}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_FILELIST,FUNC_IDEZFILELIST(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_LONG_ALLFILES,qbs_new_txt_len("",0)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12541,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATHLIST,FUNC_IDEZPATHLIST(_FUNC_IDEFILEDIALOG_STRING_PATH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12542,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I= 0 ;
if(!qbevent)break;evnt(28182,12544,"ide_methods.bas");}while(r);
S_57651:;
if ((-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12545,"ide_methods.bas");if(r)goto S_57651;}
do{
SUB_IDEPAR((void*)( ((char*)(_FUNC_IDEFILEDIALOG_UDT_P)) + ((0+0)) ),&(pass6821= 70 ),&(pass6822=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 7 ),qbs_new_txt_len("Open",4));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12546,"ide_methods.bas");}while(r);
S_57653:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 2 )){
if(qbevent){evnt(28182,12547,"ide_methods.bas");if(r)goto S_57653;}
do{
SUB_IDEPAR((void*)( ((char*)(_FUNC_IDEFILEDIALOG_UDT_P)) + ((0+0)) ),&(pass6823= 70 ),&(pass6824=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 7 ),qbs_new_txt_len("Save As",7));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12548,"ide_methods.bas");}while(r);
S_57655:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 3 )){
if(qbevent){evnt(28182,12549,"ide_methods.bas");if(r)goto S_57655;}
do{
SUB_IDEPAR((void*)( ((char*)(_FUNC_IDEFILEDIALOG_UDT_P)) + ((0+0)) ),&(pass6825= 70 ),&(pass6826=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 7 ),qbs_new_txt_len("Choose a custom font",20));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12550,"ide_methods.bas");}while(r);
S_57657:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 4 )){
if(qbevent){evnt(28182,12551,"ide_methods.bas");if(r)goto S_57657;}
do{
SUB_IDEPAR((void*)( ((char*)(_FUNC_IDEFILEDIALOG_UDT_P)) + ((0+0)) ),&(pass6827= 70 ),&(pass6828=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 7 ),qbs_new_txt_len("Save logging to",15));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12552,"ide_methods.bas");}while(r);
}
}
}
}
do{
*_FUNC_IDEFILEDIALOG_LONG_I=*_FUNC_IDEFILEDIALOG_LONG_I+ 1 ;
if(!qbevent)break;evnt(28182,12554,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_PREVFOCUS= 1 ;
if(!qbevent)break;evnt(28182,12555,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)))= 1 ;
if(!qbevent)break;evnt(28182,12556,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+24)))= 2 ;
if(!qbevent)break;evnt(28182,12557,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+40)))=FUNC_IDENEWTXT(qbs_new_txt_len("File #Name",10));
if(!qbevent)break;evnt(28182,12558,"ide_methods.bas");}while(r);
S_57665:;
if ((-(*_FUNC_IDEFILEDIALOG_BYTE_MODE> 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12559,"ide_methods.bas");if(r)goto S_57665;}
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44)))=FUNC_IDENEWTXT(_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME);
if(!qbevent)break;evnt(28182,12560,"ide_methods.bas");}while(r);
do{
*(int8*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+88)))= -1 ;
if(!qbevent)break;evnt(28182,12561,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+89)))= 0 ;
if(!qbevent)break;evnt(28182,12562,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+93)))=_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME->len;
if(!qbevent)break;evnt(28182,12563,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_I=*_FUNC_IDEFILEDIALOG_LONG_I+ 1 ;
if(!qbevent)break;evnt(28182,12566,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)))= 2 ;
if(!qbevent)break;evnt(28182,12567,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+24)))= 5 ;
if(!qbevent)break;evnt(28182,12568,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+28)))= 32 ;
if(!qbevent)break;evnt(28182,12569,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+32)))=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 14 ;
if(!qbevent)break;evnt(28182,12569,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+40)))=FUNC_IDENEWTXT(qbs_new_txt_len("#Files",6));
if(!qbevent)break;evnt(28182,12570,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44)))=FUNC_IDENEWTXT(_FUNC_IDEFILEDIALOG_STRING_FILELIST);
if(!qbevent)break;evnt(28182,12571,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_FILELIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12571,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I=*_FUNC_IDEFILEDIALOG_LONG_I+ 1 ;
if(!qbevent)break;evnt(28182,12572,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)))= 2 ;
if(!qbevent)break;evnt(28182,12573,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+20)))= 37 ;
if(!qbevent)break;evnt(28182,12574,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+24)))= 5 ;
if(!qbevent)break;evnt(28182,12574,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+28)))= 31 ;
if(!qbevent)break;evnt(28182,12575,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+32)))=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 16 ;
if(!qbevent)break;evnt(28182,12575,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+40)))=FUNC_IDENEWTXT(qbs_new_txt_len("#Paths",6));
if(!qbevent)break;evnt(28182,12576,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44)))=FUNC_IDENEWTXT(_FUNC_IDEFILEDIALOG_STRING_PATHLIST);
if(!qbevent)break;evnt(28182,12577,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATHLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12577,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I=*_FUNC_IDEFILEDIALOG_LONG_I+ 1 ;
if(!qbevent)break;evnt(28182,12578,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)))= 4 ;
if(!qbevent)break;evnt(28182,12579,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+20)))= 37 ;
if(!qbevent)break;evnt(28182,12580,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+24)))=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 9 ;
if(!qbevent)break;evnt(28182,12581,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+40)))=FUNC_IDENEWTXT(qbs_new_txt_len(".#BAS Only",10));
if(!qbevent)break;evnt(28182,12582,"ide_methods.bas");}while(r);
S_57693:;
if ((*_FUNC_IDEFILEDIALOG_LONG_ALLFILES)||is_error_pending()){
if(qbevent){evnt(28182,12583,"ide_methods.bas");if(r)goto S_57693;}
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= 0 ;
if(!qbevent)break;evnt(28182,12583,"ide_methods.bas");}while(r);
}else{
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= 1 ;
if(!qbevent)break;evnt(28182,12583,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_PREVBASONLY=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)));
if(!qbevent)break;evnt(28182,12584,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I=*_FUNC_IDEFILEDIALOG_LONG_I+ 1 ;
if(!qbevent)break;evnt(28182,12585,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)))= 3 ;
if(!qbevent)break;evnt(28182,12586,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+20)))= 56 ;
if(!qbevent)break;evnt(28182,12587,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+24)))=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 9 ;
if(!qbevent)break;evnt(28182,12588,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44)))=FUNC_IDENEWTXT(qbs_new_txt_len("Ne#w Folder",11));
if(!qbevent)break;evnt(28182,12589,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I=*_FUNC_IDEFILEDIALOG_LONG_I+ 1 ;
if(!qbevent)break;evnt(28182,12590,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)))= 3 ;
if(!qbevent)break;evnt(28182,12591,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+24)))=*__LONG_IDEWY+*__LONG_IDESUBWINDOW- 7 ;
if(!qbevent)break;evnt(28182,12592,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44)))=FUNC_IDENEWTXT(qbs_add(qbs_add(qbs_new_txt_len("#OK",3),_FUNC_IDEFILEDIALOG_STRING1_SEP),qbs_new_txt_len("#Cancel",7)));
if(!qbevent)break;evnt(28182,12593,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+60)))= 1 ;
if(!qbevent)break;evnt(28182,12594,"ide_methods.bas");}while(r);
S_57709:;
fornext_value6831= 1 ;
fornext_finalvalue6831= 100 ;
fornext_step6831= 1 ;
if (fornext_step6831<0) fornext_step_negative6831=1; else fornext_step_negative6831=0;
if (is_error_pending()) goto fornext_error6831;
goto fornext_entrylabel6831;
while(1){
fornext_value6831=fornext_step6831+(*_FUNC_IDEFILEDIALOG_LONG_I);
fornext_entrylabel6831:
*_FUNC_IDEFILEDIALOG_LONG_I=fornext_value6831;
if (fornext_step_negative6831){
if (fornext_value6831<fornext_finalvalue6831) break;
}else{
if (fornext_value6831>fornext_finalvalue6831) break;
}
fornext_error6831:;
if(qbevent){evnt(28182,12598,"ide_methods.bas");if(r)goto S_57709;}
do{
memcpy(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+0))+ 0,((char*)_FUNC_IDEFILEDIALOG_UDT_P)+((0+0))+ 0, 20);
if(!qbevent)break;evnt(28182,12598,"ide_methods.bas");}while(r);
fornext_continue_6830:;
}
fornext_exit_6830:;
S_57712:;
if ((qbs_cleanup(qbs_tmp_base,(-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 1 ))&(-(__STRING_IDEOPENFILE->len> 0 ))))||is_error_pending()){
if(qbevent){evnt(28182,12601,"ide_methods.bas");if(r)goto S_57712;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,__STRING_IDEOPENFILE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12601,"ide_methods.bas");}while(r);
do{
goto LABEL_DIRECTLOAD;
if(!qbevent)break;evnt(28182,12601,"ide_methods.bas");}while(r);
}
S_57716:;
if ((qbs_cleanup(qbs_tmp_base,(-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 3 ))&(((-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,qbs_new_txt_len("?",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,qbs_new_txt_len("*",1),0)> 0 ))))))||is_error_pending()){
if(qbevent){evnt(28182,12602,"ide_methods.bas");if(r)goto S_57716;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12603,"ide_methods.bas");}while(r);
do{
goto LABEL_WILDCARDSEARCH;
if(!qbevent)break;evnt(28182,12603,"ide_methods.bas");}while(r);
}
S_57720:;
do{
if(qbevent){evnt(28182,12606,"ide_methods.bas");if(r)goto S_57720;}
do{
SUB_IDEDRAWPAR((void*)( ((char*)(_FUNC_IDEFILEDIALOG_UDT_P)) + ((0+0)) ));
if(!qbevent)break;evnt(28182,12609,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_F= 1 ;
if(!qbevent)break;evnt(28182,12610,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_CX= 0 ;
if(!qbevent)break;evnt(28182,12610,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_CY= 0 ;
if(!qbevent)break;evnt(28182,12610,"ide_methods.bas");}while(r);
S_57725:;
fornext_value6835= 1 ;
fornext_finalvalue6835= 100 ;
fornext_step6835= 1 ;
if (fornext_step6835<0) fornext_step_negative6835=1; else fornext_step_negative6835=0;
if (is_error_pending()) goto fornext_error6835;
goto fornext_entrylabel6835;
while(1){
fornext_value6835=fornext_step6835+(*_FUNC_IDEFILEDIALOG_LONG_I);
fornext_entrylabel6835:
*_FUNC_IDEFILEDIALOG_LONG_I=fornext_value6835;
if (fornext_step_negative6835){
if (fornext_value6835<fornext_finalvalue6835) break;
}else{
if (fornext_value6835>fornext_finalvalue6835) break;
}
fornext_error6835:;
if(qbevent){evnt(28182,12611,"ide_methods.bas");if(r)goto S_57725;}
S_57726:;
if ((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36))))||is_error_pending()){
if(qbevent){evnt(28182,12612,"ide_methods.bas");if(r)goto S_57726;}
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+72)))=*_FUNC_IDEFILEDIALOG_LONG_FOCUS-*_FUNC_IDEFILEDIALOG_LONG_F;
if(!qbevent)break;evnt(28182,12614,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+64)))= 0 ;
if(!qbevent)break;evnt(28182,12615,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+68)))= 0 ;
if(!qbevent)break;evnt(28182,12615,"ide_methods.bas");}while(r);
do{
SUB_IDEDRAWOBJ((void*)( ((char*)(_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])) + (((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+0)) ),_FUNC_IDEFILEDIALOG_LONG_F);
if(!qbevent)break;evnt(28182,12616,"ide_methods.bas");}while(r);
S_57731:;
if ((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+64))))||is_error_pending()){
if(qbevent){evnt(28182,12617,"ide_methods.bas");if(r)goto S_57731;}
do{
*_FUNC_IDEFILEDIALOG_LONG_CX=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+64)));
if(!qbevent)break;evnt(28182,12617,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_CY=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+68)));
if(!qbevent)break;evnt(28182,12617,"ide_methods.bas");}while(r);
}
}
fornext_continue_6834:;
}
fornext_exit_6834:;
do{
*_FUNC_IDEFILEDIALOG_LONG_LASTFOCUS=*_FUNC_IDEFILEDIALOG_LONG_F- 1 ;
if(!qbevent)break;evnt(28182,12620,"ide_methods.bas");}while(r);
do{
qbg_sub_color( 0 , 7 ,NULL,NULL,3);
if(!qbevent)break;evnt(28182,12624,"ide_methods.bas");}while(r);
do{
sub__printstring(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_UDT_P)+((0+0)))+ 2 ,*(int32*)(((char*)_FUNC_IDEFILEDIALOG_UDT_P)+((0+4)))+ 4 ,qbs_new_txt_len("Path: ",6),NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12624,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,_FUNC_IDEFILEDIALOG_STRING_PATH);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12625,"ide_methods.bas");}while(r);
S_57741:;
if ((qbs_cleanup(qbs_tmp_base,(-(_FUNC_IDEFILEDIALOG_STRING_A->len== 2 ))&(qbs_equal(qbs_right(_FUNC_IDEFILEDIALOG_STRING_A, 1 ),qbs_new_txt_len(":",1)))))||is_error_pending()){
if(qbevent){evnt(28182,12626,"ide_methods.bas");if(r)goto S_57741;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,qbs_add(_FUNC_IDEFILEDIALOG_STRING_A,qbs_new_txt_len("\\",1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12626,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_W=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_UDT_P)+((0+8)))- 8 ;
if(!qbevent)break;evnt(28182,12627,"ide_methods.bas");}while(r);
S_57745:;
if ((qbs_cleanup(qbs_tmp_base,-((_FUNC_IDEFILEDIALOG_STRING_A->len)>(*_FUNC_IDEFILEDIALOG_LONG_W- 3 ))))||is_error_pending()){
if(qbevent){evnt(28182,12628,"ide_methods.bas");if(r)goto S_57745;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,qbs_add(func_string( 3 , 250 ),qbs_right(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_W- 3 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12628,"ide_methods.bas");}while(r);
}
do{
sub__printstring(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_UDT_P)+((0+0)))+ 2 + 6 ,*(int32*)(((char*)_FUNC_IDEFILEDIALOG_UDT_P)+((0+4)))+ 4 ,_FUNC_IDEFILEDIALOG_STRING_A,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12629,"ide_methods.bas");}while(r);
do{
sub_pcopy( 1 , 0 );
if(!qbevent)break;evnt(28182,12634,"ide_methods.bas");}while(r);
S_57750:;
if ((*_FUNC_IDEFILEDIALOG_LONG_CX)||is_error_pending()){
if(qbevent){evnt(28182,12635,"ide_methods.bas");if(r)goto S_57750;}
do{
qbg_screen(NULL,NULL, 0 , 0 ,NULL,12);
if(!qbevent)break;evnt(28182,12635,"ide_methods.bas");}while(r);
do{
qbg_sub_locate(*_FUNC_IDEFILEDIALOG_LONG_CY,*_FUNC_IDEFILEDIALOG_LONG_CX, 1 ,NULL,NULL,7);
if(!qbevent)break;evnt(28182,12635,"ide_methods.bas");}while(r);
do{
qbg_screen(NULL,NULL, 1 , 0 ,NULL,12);
if(!qbevent)break;evnt(28182,12635,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 0 ;
if(!qbevent)break;evnt(28182,12638,"ide_methods.bas");}while(r);
S_57756:;
do{
if(qbevent){evnt(28182,12639,"ide_methods.bas");if(r)goto S_57756;}
do{
SUB_GETINPUT();
if(!qbevent)break;evnt(28182,12640,"ide_methods.bas");}while(r);
S_57758:;
if ((*__LONG_MWHEEL)||is_error_pending()){
if(qbevent){evnt(28182,12641,"ide_methods.bas");if(r)goto S_57758;}
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12641,"ide_methods.bas");}while(r);
}
S_57761:;
if ((*__LONG_KB)||is_error_pending()){
if(qbevent){evnt(28182,12642,"ide_methods.bas");if(r)goto S_57761;}
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12642,"ide_methods.bas");}while(r);
}
S_57764:;
if ((*__LONG_MCLICK)||is_error_pending()){
if(qbevent){evnt(28182,12643,"ide_methods.bas");if(r)goto S_57764;}
do{
*_FUNC_IDEFILEDIALOG_LONG_MOUSEDOWN= 1 ;
if(!qbevent)break;evnt(28182,12643,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12643,"ide_methods.bas");}while(r);
}
S_57768:;
if ((*__LONG_MRELEASE)||is_error_pending()){
if(qbevent){evnt(28182,12644,"ide_methods.bas");if(r)goto S_57768;}
do{
*_FUNC_IDEFILEDIALOG_LONG_MOUSEUP= 1 ;
if(!qbevent)break;evnt(28182,12644,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12644,"ide_methods.bas");}while(r);
}
S_57772:;
if ((*__LONG_MB)||is_error_pending()){
if(qbevent){evnt(28182,12645,"ide_methods.bas");if(r)goto S_57772;}
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12645,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_ALT=*__LONG_KALT;
if(!qbevent)break;evnt(28182,12646,"ide_methods.bas");}while(r);
S_57776:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_ALT!=*_FUNC_IDEFILEDIALOG_LONG_OLDALT))||is_error_pending()){
if(qbevent){evnt(28182,12646,"ide_methods.bas");if(r)goto S_57776;}
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12646,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_OLDALT=*_FUNC_IDEFILEDIALOG_LONG_ALT;
if(!qbevent)break;evnt(28182,12647,"ide_methods.bas");}while(r);
S_57780:;
if ((-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12649,"ide_methods.bas");if(r)goto S_57780;}
S_57781:;
if ((-(func__totaldroppedfiles()> 0 ))||is_error_pending()){
if(qbevent){evnt(28182,12650,"ide_methods.bas");if(r)goto S_57781;}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),func__droppedfile( 1 ,0|1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12651,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+93)))=((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5])]))->len;
if(!qbevent)break;evnt(28182,12652,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS= 1 ;
if(!qbevent)break;evnt(28182,12653,"ide_methods.bas");}while(r);
do{
sub__finishdrop();
if(!qbevent)break;evnt(28182,12654,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_CHANGE= 1 ;
if(!qbevent)break;evnt(28182,12655,"ide_methods.bas");}while(r);
}
}
do{
sub__limit( 100 );
if(!qbevent)break;evnt(28182,12659,"ide_methods.bas");}while(r);
S_57790:;
dl_continue_6838:;
}while((!(*_FUNC_IDEFILEDIALOG_LONG_CHANGE))&&(!is_error_pending()));
dl_exit_6838:;
if(qbevent){evnt(28182,12660,"ide_methods.bas");if(r)goto S_57790;}
S_57791:;
if ((*_FUNC_IDEFILEDIALOG_LONG_ALT&(~(*__LONG_KCTRL)))||is_error_pending()){
if(qbevent){evnt(28182,12661,"ide_methods.bas");if(r)goto S_57791;}
do{
*__LONG_IDEHL= 1 ;
if(!qbevent)break;evnt(28182,12661,"ide_methods.bas");}while(r);
}else{
do{
*__LONG_IDEHL= 0 ;
if(!qbevent)break;evnt(28182,12661,"ide_methods.bas");}while(r);
}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_ALTLETTER,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12663,"ide_methods.bas");}while(r);
S_57797:;
if ((*_FUNC_IDEFILEDIALOG_LONG_ALT&(~(*__LONG_KCTRL)))||is_error_pending()){
if(qbevent){evnt(28182,12664,"ide_methods.bas");if(r)goto S_57797;}
S_57798:;
if ((qbs_cleanup(qbs_tmp_base,-(__STRING_K->len== 1 )))||is_error_pending()){
if(qbevent){evnt(28182,12665,"ide_methods.bas");if(r)goto S_57798;}
do{
*_FUNC_IDEFILEDIALOG_LONG_K=qbs_asc(qbs_ucase(__STRING_K));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12666,"ide_methods.bas");}while(r);
S_57800:;
if (((-(*_FUNC_IDEFILEDIALOG_LONG_K>= 65 ))&(-(*_FUNC_IDEFILEDIALOG_LONG_K<= 90 )))||is_error_pending()){
if(qbevent){evnt(28182,12667,"ide_methods.bas");if(r)goto S_57800;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_ALTLETTER,func_chr(*_FUNC_IDEFILEDIALOG_LONG_K));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12667,"ide_methods.bas");}while(r);
}
}
}
do{
qbg_screen(NULL,NULL, 0 , 0 ,NULL,12);
if(!qbevent)break;evnt(28182,12670,"ide_methods.bas");}while(r);
do{
qbg_sub_locate(NULL,NULL, 0 ,NULL,NULL,4);
if(!qbevent)break;evnt(28182,12670,"ide_methods.bas");}while(r);
do{
qbg_screen(NULL,NULL, 1 , 0 ,NULL,12);
if(!qbevent)break;evnt(28182,12670,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_INFO= 0 ;
if(!qbevent)break;evnt(28182,12674,"ide_methods.bas");}while(r);
S_57809:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(__STRING_K,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28182,12675,"ide_methods.bas");if(r)goto S_57809;}
do{
qbs_set(__STRING_K,func_chr( 255 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12675,"ide_methods.bas");}while(r);
}
S_57812:;
if ((qbs_cleanup(qbs_tmp_base,(-(*__LONG_KSHIFT== 0 ))&(qbs_equal(__STRING_K,func_chr( 9 )))))||is_error_pending()){
if(qbevent){evnt(28182,12676,"ide_methods.bas");if(r)goto S_57812;}
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS=*_FUNC_IDEFILEDIALOG_LONG_FOCUS+ 1 ;
if(!qbevent)break;evnt(28182,12676,"ide_methods.bas");}while(r);
}
S_57815:;
if ((qbs_cleanup(qbs_tmp_base,(*__LONG_KSHIFT&(qbs_equal(__STRING_K,func_chr( 9 ))))|((func_instr(NULL,func__os(),qbs_new_txt_len("MAC",3),0))&(qbs_equal(__STRING_K,func_chr( 25 ))))))||is_error_pending()){
if(qbevent){evnt(28182,12677,"ide_methods.bas");if(r)goto S_57815;}
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS=*_FUNC_IDEFILEDIALOG_LONG_FOCUS- 1 ;
if(!qbevent)break;evnt(28182,12677,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_K,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12677,"ide_methods.bas");}while(r);
}
S_57819:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS< 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12678,"ide_methods.bas");if(r)goto S_57819;}
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS=*_FUNC_IDEFILEDIALOG_LONG_LASTFOCUS;
if(!qbevent)break;evnt(28182,12678,"ide_methods.bas");}while(r);
}
S_57822:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS>*_FUNC_IDEFILEDIALOG_LONG_LASTFOCUS))||is_error_pending()){
if(qbevent){evnt(28182,12679,"ide_methods.bas");if(r)goto S_57822;}
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS= 1 ;
if(!qbevent)break;evnt(28182,12679,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEFILEDIALOG_LONG_F= 1 ;
if(!qbevent)break;evnt(28182,12680,"ide_methods.bas");}while(r);
S_57826:;
fornext_value6842= 1 ;
fornext_finalvalue6842= 100 ;
fornext_step6842= 1 ;
if (fornext_step6842<0) fornext_step_negative6842=1; else fornext_step_negative6842=0;
if (is_error_pending()) goto fornext_error6842;
goto fornext_entrylabel6842;
while(1){
fornext_value6842=fornext_step6842+(*_FUNC_IDEFILEDIALOG_LONG_I);
fornext_entrylabel6842:
*_FUNC_IDEFILEDIALOG_LONG_I=fornext_value6842;
if (fornext_step_negative6842){
if (fornext_value6842<fornext_finalvalue6842) break;
}else{
if (fornext_value6842>fornext_finalvalue6842) break;
}
fornext_error6842:;
if(qbevent){evnt(28182,12681,"ide_methods.bas");if(r)goto S_57826;}
do{
*_FUNC_IDEFILEDIALOG_LONG_T=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+36)));
if(!qbevent)break;evnt(28182,12682,"ide_methods.bas");}while(r);
S_57828:;
if ((*_FUNC_IDEFILEDIALOG_LONG_T)||is_error_pending()){
if(qbevent){evnt(28182,12683,"ide_methods.bas");if(r)goto S_57828;}
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUSOFFSET=*_FUNC_IDEFILEDIALOG_LONG_FOCUS-*_FUNC_IDEFILEDIALOG_LONG_F;
if(!qbevent)break;evnt(28182,12684,"ide_methods.bas");}while(r);
do{
SUB_IDEOBJUPDATE((void*)( ((char*)(_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])) + (((array_check((*_FUNC_IDEFILEDIALOG_LONG_I)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+0)) ),_FUNC_IDEFILEDIALOG_LONG_FOCUS,_FUNC_IDEFILEDIALOG_LONG_F,_FUNC_IDEFILEDIALOG_LONG_FOCUSOFFSET,__STRING_K,_FUNC_IDEFILEDIALOG_STRING_ALTLETTER,__LONG_MB,_FUNC_IDEFILEDIALOG_LONG_MOUSEDOWN,_FUNC_IDEFILEDIALOG_LONG_MOUSEUP,__LONG_MX,__LONG_MY,_FUNC_IDEFILEDIALOG_LONG_INFO,__LONG_MWHEEL);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12685,"ide_methods.bas");}while(r);
}
fornext_continue_6841:;
}
fornext_exit_6841:;
S_57833:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS!=*_FUNC_IDEFILEDIALOG_LONG_PREVFOCUS))||is_error_pending()){
if(qbevent){evnt(28182,12700,"ide_methods.bas");if(r)goto S_57833;}
do{
*_FUNC_IDEFILEDIALOG_LONG_PREVFOCUS=*_FUNC_IDEFILEDIALOG_LONG_FOCUS;
if(!qbevent)break;evnt(28182,12702,"ide_methods.bas");}while(r);
S_57835:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12703,"ide_methods.bas");if(r)goto S_57835;}
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_FOCUS)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+93)))=((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_FOCUS)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5])]))->len;
if(!qbevent)break;evnt(28182,12704,"ide_methods.bas");}while(r);
S_57837:;
if ((-(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_FOCUS)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+93)))> 0 ))||is_error_pending()){
if(qbevent){evnt(28182,12705,"ide_methods.bas");if(r)goto S_57837;}
do{
*(int8*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_FOCUS)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+88)))= -1 ;
if(!qbevent)break;evnt(28182,12705,"ide_methods.bas");}while(r);
}
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check((*_FUNC_IDEFILEDIALOG_LONG_FOCUS)-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+89)))= 0 ;
if(!qbevent)break;evnt(28182,12706,"ide_methods.bas");}while(r);
}
}
S_57843:;
if ((-(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 4 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))!=*_FUNC_IDEFILEDIALOG_LONG_PREVBASONLY))||is_error_pending()){
if(qbevent){evnt(28182,12710,"ide_methods.bas");if(r)goto S_57843;}
do{
*_FUNC_IDEFILEDIALOG_LONG_PREVBASONLY=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 4 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)));
if(!qbevent)break;evnt(28182,12711,"ide_methods.bas");}while(r);
S_57845:;
if ((-(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 4 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))== 0 ))||is_error_pending()){
if(qbevent){evnt(28182,12712,"ide_methods.bas");if(r)goto S_57845;}
do{
*_FUNC_IDEFILEDIALOG_LONG_ALLFILES= 1 ;
if(!qbevent)break;evnt(28182,12712,"ide_methods.bas");}while(r);
}else{
do{
*_FUNC_IDEFILEDIALOG_LONG_ALLFILES= 0 ;
if(!qbevent)break;evnt(28182,12712,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZFILELIST(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_LONG_ALLFILES,qbs_new_txt_len("",0)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12713,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12714,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12715,"ide_methods.bas");}while(r);
}
S_57854:;
if (((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 5 ))&(-(*_FUNC_IDEFILEDIALOG_LONG_INFO!= 0 )))||is_error_pending()){
if(qbevent){evnt(28182,12718,"ide_methods.bas");if(r)goto S_57854;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_NEWPATH,FUNC_IDENEWFOLDER(_FUNC_IDEFILEDIALOG_STRING_PATH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12720,"ide_methods.bas");}while(r);
S_57856:;
if ((qbs_cleanup(qbs_tmp_base,_FUNC_IDEFILEDIALOG_STRING_NEWPATH->len))||is_error_pending()){
if(qbevent){evnt(28182,12721,"ide_methods.bas");if(r)goto S_57856;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,FUNC_REMOVEDOUBLESLASHES(_FUNC_IDEFILEDIALOG_STRING_NEWPATH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12722,"ide_methods.bas");}while(r);
do{
goto LABEL_CHANGEPATH;
if(!qbevent)break;evnt(28182,12723,"ide_methods.bas");}while(r);
}else{
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12725,"ide_methods.bas");}while(r);
}
}
S_57863:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(__STRING_K,func_chr( 27 )))|(((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 7 ))&(-(*_FUNC_IDEFILEDIALOG_LONG_INFO!= 0 ))))))||is_error_pending()){
if(qbevent){evnt(28182,12729,"ide_methods.bas");if(r)goto S_57863;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG,qbs_new_txt_len("C",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12730,"ide_methods.bas");}while(r);
S_57865:;
if ((-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 4 ))||is_error_pending()){
if(qbevent){evnt(28182,12731,"ide_methods.bas");if(r)goto S_57865;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,_FUNC_IDEFILEDIALOG_STRING_OPRG);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12732,"ide_methods.bas");}while(r);
}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12734,"ide_methods.bas");}while(r);
}
S_57870:;
if (((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 2 ))&(-(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))!=*_FUNC_IDEFILEDIALOG_LONG_PREVFILEBOXSEL)))||is_error_pending()){
if(qbevent){evnt(28182,12737,"ide_methods.bas");if(r)goto S_57870;}
do{
*_FUNC_IDEFILEDIALOG_LONG_PREVFILEBOXSEL=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)));
if(!qbevent)break;evnt(28182,12738,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+84))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5])])));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12739,"ide_methods.bas");}while(r);
do{
*(int8*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+88)))= 0 ;
if(!qbevent)break;evnt(28182,12740,"ide_methods.bas");}while(r);
}
S_57875:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 3 ))||is_error_pending()){
if(qbevent){evnt(28182,12743,"ide_methods.bas");if(r)goto S_57875;}
S_57876:;
if ((qbs_cleanup(qbs_tmp_base,(((qbs_equal(__STRING_K,func_chr( 13 )))|(-(*_FUNC_IDEFILEDIALOG_LONG_INFO== 1 ))))&(-(*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))>= 1 ))))||is_error_pending()){
if(qbevent){evnt(28182,12744,"ide_methods.bas");if(r)goto S_57876;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_NEWPATH,FUNC_REMOVEDOUBLESLASHES(((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+84))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5])]))));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12745,"ide_methods.bas");}while(r);
S_57878:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_IDEFILEDIALOG_STRING_NEWPATH,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28182,12746,"ide_methods.bas");if(r)goto S_57878;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_NEWPATH,qbs_new_txt_len("..",2));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12747,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,_FUNC_IDEFILEDIALOG_STRING_NEWPATH);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12748,"ide_methods.bas");}while(r);
do{
goto LABEL_CHANGEPATH;
if(!qbevent)break;evnt(28182,12749,"ide_methods.bas");}while(r);
}else{
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,FUNC_REMOVEDOUBLESLASHES(FUNC_IDEZCHANGEPATH(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_STRING_NEWPATH)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12751,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZFILELIST(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_LONG_ALLFILES,qbs_new_txt_len("",0)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12752,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZPATHLIST(_FUNC_IDEFILEDIALOG_STRING_PATH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12753,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12755,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= 1 ;
if(!qbevent)break;evnt(28182,12756,"ide_methods.bas");}while(r);
S_57888:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_INFO== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12757,"ide_methods.bas");if(r)goto S_57888;}
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12757,"ide_methods.bas");}while(r);
}
S_57891:;
if ((qbs_cleanup(qbs_tmp_base,(-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 3 ))&(((-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,qbs_new_txt_len("?",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,qbs_new_txt_len("*",1),0)> 0 ))))))||is_error_pending()){
if(qbevent){evnt(28182,12758,"ide_methods.bas");if(r)goto S_57891;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12759,"ide_methods.bas");}while(r);
do{
goto LABEL_WILDCARDSEARCH;
if(!qbevent)break;evnt(28182,12759,"ide_methods.bas");}while(r);
}
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12761,"ide_methods.bas");}while(r);
}
}
}
S_57899:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(__STRING_K,func_chr( 13 )))|(((-(*_FUNC_IDEFILEDIALOG_LONG_INFO== 1 ))&(-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 2 ))))|(((-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 6 ))&(-(*_FUNC_IDEFILEDIALOG_LONG_INFO!= 0 ))))))||is_error_pending()){
if(qbevent){evnt(28182,12767,"ide_methods.bas");if(r)goto S_57899;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5])])));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12768,"ide_methods.bas");}while(r);
S_57901:;
if ((qbs_cleanup(qbs_tmp_base,func__fileexists(_FUNC_IDEFILEDIALOG_STRING_F)))||is_error_pending()){
if(qbevent){evnt(28182,12770,"ide_methods.bas");if(r)goto S_57901;}
do{
goto LABEL_DIRECTLOAD;
if(!qbevent)break;evnt(28182,12770,"ide_methods.bas");}while(r);
}
S_57904:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len("",0)))&(-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 1 ))&(qbs_equal(__STRING_K,func_chr( 13 )))))||is_error_pending()){
if(qbevent){evnt(28182,12772,"ide_methods.bas");if(r)goto S_57904;}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZFILELIST(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_LONG_ALLFILES,qbs_new_txt_len("",0)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12774,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12775,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12776,"ide_methods.bas");}while(r);
S_57908:;
}else{
if (qbs_cleanup(qbs_tmp_base,(qbs_equal(_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len("",0)))&(-(*_FUNC_IDEFILEDIALOG_LONG_FOCUS== 6 ))&(-(*_FUNC_IDEFILEDIALOG_LONG_INFO!= 0 )))){
if(qbevent){evnt(28182,12777,"ide_methods.bas");if(r)goto S_57908;}
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12778,"ide_methods.bas");}while(r);
}
}
LABEL_CHANGEPATH:;
if(qbevent){evnt(28182,12782,"ide_methods.bas");r=0;}
S_57911:;
if ((qbs_cleanup(qbs_tmp_base,func__direxists(qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F))))||is_error_pending()){
if(qbevent){evnt(28182,12783,"ide_methods.bas");if(r)goto S_57911;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,FUNC_REMOVEDOUBLESLASHES(FUNC_IDEZGETFILEPATH(_FUNC_IDEFILEDIALOG_STRING_PATH,qbs_add(_FUNC_IDEFILEDIALOG_STRING_F,__STRING1_IDEPATHSEP))));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12785,"ide_methods.bas");}while(r);
S_57913:;
if ((-(*__LONG_IDEERROR> 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12786,"ide_methods.bas");if(r)goto S_57913;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12786,"ide_methods.bas");}while(r);
}
S_57916:;
if ((qbs_cleanup(qbs_tmp_base,-(_FUNC_IDEFILEDIALOG_STRING_NEWPATH->len== 0 )))||is_error_pending()){
if(qbevent){evnt(28182,12788,"ide_methods.bas");if(r)goto S_57916;}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12789,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_FOCUS= 1 ;
if(!qbevent)break;evnt(28182,12790,"ide_methods.bas");}while(r);
}else{
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_NEWPATH,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12792,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZFILELIST(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_LONG_ALLFILES,qbs_new_txt_len("",0)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12794,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12795,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZPATHLIST(_FUNC_IDEFILEDIALOG_STRING_PATH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12796,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12797,"ide_methods.bas");}while(r);
S_57926:;
if ((qbs_cleanup(qbs_tmp_base,(-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 3 ))&(((-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,qbs_new_txt_len("?",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,qbs_new_txt_len("*",1),0)> 0 ))))))||is_error_pending()){
if(qbevent){evnt(28182,12798,"ide_methods.bas");if(r)goto S_57926;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12799,"ide_methods.bas");}while(r);
do{
goto LABEL_WILDCARDSEARCH;
if(!qbevent)break;evnt(28182,12799,"ide_methods.bas");}while(r);
}
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12801,"ide_methods.bas");}while(r);
}
LABEL_WILDCARDSEARCH:;
if(qbevent){evnt(28182,12805,"ide_methods.bas");r=0;}
S_57932:;
if ((qbs_cleanup(qbs_tmp_base,(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len("?",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len("*",1),0)> 0 ))))||is_error_pending()){
if(qbevent){evnt(28182,12806,"ide_methods.bas");if(r)goto S_57932;}
S_57933:;
if ((qbs_cleanup(qbs_tmp_base,(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len("/",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len("\\",1),0)> 0 ))))||is_error_pending()){
if(qbevent){evnt(28182,12807,"ide_methods.bas");if(r)goto S_57933;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,FUNC_REMOVEDOUBLESLASHES(FUNC_IDEZGETFILEPATH(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_STRING_F)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12809,"ide_methods.bas");}while(r);
S_57935:;
if ((-(*__LONG_IDEERROR> 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12810,"ide_methods.bas");if(r)goto S_57935;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12810,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZPATHLIST(_FUNC_IDEFILEDIALOG_STRING_PATH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12811,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 3 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12812,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),_FUNC_IDEFILEDIALOG_STRING_F);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12814,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[tmp_long])),FUNC_IDEZFILELIST(_FUNC_IDEFILEDIALOG_STRING_PATH,&(pass6846= 2 ),_FUNC_IDEFILEDIALOG_STRING_F));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12815,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 2 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= -1 ;
if(!qbevent)break;evnt(28182,12816,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+93)))=((qbs*)(((uint64*)(__ARRAY_STRING_IDETXT[0]))[array_check((*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+44))))-__ARRAY_STRING_IDETXT[4],__ARRAY_STRING_IDETXT[5])]))->len;
if(!qbevent)break;evnt(28182,12817,"ide_methods.bas");}while(r);
do{
*(int8*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+88)))= -1 ;
if(!qbevent)break;evnt(28182,12818,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 1 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+89)))= 0 ;
if(!qbevent)break;evnt(28182,12819,"ide_methods.bas");}while(r);
S_57947:;
if ((qbs_cleanup(qbs_tmp_base,qbs_notequal(qbs_lcase(qbs_right(_FUNC_IDEFILEDIALOG_STRING_F, 4 )),qbs_new_txt_len(".bas",4))))||is_error_pending()){
if(qbevent){evnt(28182,12820,"ide_methods.bas");if(r)goto S_57947;}
do{
*_FUNC_IDEFILEDIALOG_LONG_ALLFILES= 0 ;
if(!qbevent)break;evnt(28182,12821,"ide_methods.bas");}while(r);
do{
*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 4 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)))= 0 ;
if(!qbevent)break;evnt(28182,12822,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_PREVBASONLY=*(int32*)(((char*)_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[0])+(((array_check(( 4 )-_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[4],_FUNC_IDEFILEDIALOG_ARRAY_UDT_O[5]))*101+76)));
if(!qbevent)break;evnt(28182,12823,"ide_methods.bas");}while(r);
}
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12825,"ide_methods.bas");}while(r);
}
LABEL_DIRECTLOAD:;
if(qbevent){evnt(28182,12828,"ide_methods.bas");r=0;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PATH,FUNC_REMOVEDOUBLESLASHES(FUNC_IDEZGETFILEPATH(_FUNC_IDEFILEDIALOG_STRING_PATH,_FUNC_IDEFILEDIALOG_STRING_F)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12829,"ide_methods.bas");}while(r);
S_57955:;
if ((-(*__LONG_IDEERROR> 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12830,"ide_methods.bas");if(r)goto S_57955;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12830,"ide_methods.bas");}while(r);
}
S_57958:;
if ((-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12832,"ide_methods.bas");if(r)goto S_57958;}
S_57959:;
if ((qbs_cleanup(qbs_tmp_base,-(func__fileexists(qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F))== 0 )))||is_error_pending()){
if(qbevent){evnt(28182,12833,"ide_methods.bas");if(r)goto S_57959;}
S_57960:;
if ((qbs_cleanup(qbs_tmp_base,((qbs_notequal(qbs_lcase(qbs_right(_FUNC_IDEFILEDIALOG_STRING_F, 4 )),qbs_new_txt_len(".bas",4))))&(-(*_FUNC_IDEFILEDIALOG_LONG_ALLFILES== 0 ))))||is_error_pending()){
if(qbevent){evnt(28182,12835,"ide_methods.bas");if(r)goto S_57960;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,qbs_add(_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len(".bas",4)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12835,"ide_methods.bas");}while(r);
}
}
do{
*__LONG_IDEERROR= 2 ;
if(!qbevent)break;evnt(28182,12839,"ide_methods.bas");}while(r);
S_57965:;
if ((qbs_cleanup(qbs_tmp_base,-(func__fileexists(qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F))== 0 )))||is_error_pending()){
if(qbevent){evnt(28182,12840,"ide_methods.bas");if(r)goto S_57965;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12840,"ide_methods.bas");}while(r);
}
S_57968:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_BINARYFORMATCHECK(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP,_FUNC_IDEFILEDIALOG_STRING_F)> 0 )))||is_error_pending()){
if(qbevent){evnt(28182,12842,"ide_methods.bas");if(r)goto S_57968;}
S_57969:;
if ((qbs_cleanup(qbs_tmp_base,__STRING_IDEOPENFILE->len))||is_error_pending()){
if(qbevent){evnt(28182,12843,"ide_methods.bas");if(r)goto S_57969;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG,qbs_new_txt_len("C",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12844,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12845,"ide_methods.bas");}while(r);
}else{
do{
*_FUNC_IDEFILEDIALOG_LONG_INFO= 0 ;
if(!qbevent)break;evnt(28182,12847,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENLOOP;
if(!qbevent)break;evnt(28182,12847,"ide_methods.bas");}while(r);
}
}
do{
*__LONG_IDEERROR= 3 ;
if(!qbevent)break;evnt(28182,12852,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_IDET,qbs_add(l2string( 0 ),l2string( 0 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12853,"ide_methods.bas");}while(r);
do{
*__LONG_IDEL= 1 ;
if(!qbevent)break;evnt(28182,12853,"ide_methods.bas");}while(r);
do{
*__LONG_IDELI= 1 ;
if(!qbevent)break;evnt(28182,12853,"ide_methods.bas");}while(r);
do{
*__LONG_IDEN= 1 ;
if(!qbevent)break;evnt(28182,12853,"ide_methods.bas");}while(r);
do{
*__LONG_IDEBMKN= 0 ;
if(!qbevent)break;evnt(28182,12853,"ide_methods.bas");}while(r);
do{
*__LONG_IDESX= 1 ;
if(!qbevent)break;evnt(28182,12854,"ide_methods.bas");}while(r);
do{
*__LONG_IDESY= 1 ;
if(!qbevent)break;evnt(28182,12855,"ide_methods.bas");}while(r);
do{
*__LONG_IDECX= 1 ;
if(!qbevent)break;evnt(28182,12856,"ide_methods.bas");}while(r);
do{
*__LONG_IDECY= 1 ;
if(!qbevent)break;evnt(28182,12857,"ide_methods.bas");}while(r);
do{
*__LONG_IDESELECT= 0 ;
if(!qbevent)break;evnt(28182,12858,"ide_methods.bas");}while(r);
do{
*__LONG_IDEFOCUSLINE= 0 ;
if(!qbevent)break;evnt(28182,12859,"ide_methods.bas");}while(r);
do{
SUB_LINEINPUT3LOAD(qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12860,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_IDET,func_space(__STRING_LINEINPUT3BUFFER->len* 8 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12861,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I2= 1 ;
if(!qbevent)break;evnt(28182,12862,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_N= 0 ;
if(!qbevent)break;evnt(28182,12863,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHRTAB,func_chr( 9 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12864,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_SPACE1,qbs_new_txt_len(" ",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12865,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_SPACE2,qbs_new_txt_len("  ",2));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12865,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_SPACE3,qbs_new_txt_len("   ",3));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12865,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_SPACE4,qbs_new_txt_len("    ",4));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12865,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR7,func_chr( 7 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR11,func_chr( 11 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR12,func_chr( 12 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR28,func_chr( 28 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR29,func_chr( 29 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR30,func_chr( 30 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_CHR31,func_chr( 31 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12866,"ide_methods.bas");}while(r);
S_58005:;
do{
if(qbevent){evnt(28182,12867,"ide_methods.bas");if(r)goto S_58005;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,FUNC_LINEINPUT3());
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12868,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_L=_FUNC_IDEFILEDIALOG_STRING_A->len;
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12869,"ide_methods.bas");}while(r);
S_58008:;
if ((*_FUNC_IDEFILEDIALOG_LONG_L)||is_error_pending()){
if(qbevent){evnt(28182,12870,"ide_methods.bas");if(r)goto S_58008;}
do{
*_FUNC_IDEFILEDIALOG_LONG_ASCA=qbs_asc(_FUNC_IDEFILEDIALOG_STRING_A);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12870,"ide_methods.bas");}while(r);
}else{
do{
*_FUNC_IDEFILEDIALOG_LONG_ASCA= -1 ;
if(!qbevent)break;evnt(28182,12870,"ide_methods.bas");}while(r);
}
S_58013:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_ASCA!= 13 ))||is_error_pending()){
if(qbevent){evnt(28182,12871,"ide_methods.bas");if(r)goto S_58013;}
S_58014:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_ASCA!= -1 ))||is_error_pending()){
if(qbevent){evnt(28182,12872,"ide_methods.bas");if(r)goto S_58014;}
LABEL_IDEOPENFIXTABS:;
if(qbevent){evnt(28182,12874,"ide_methods.bas");r=0;}
do{
*_FUNC_IDEFILEDIALOG_LONG_X=func_instr(NULL,_FUNC_IDEFILEDIALOG_STRING_A,_FUNC_IDEFILEDIALOG_STRING_CHRTAB,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12875,"ide_methods.bas");}while(r);
S_58016:;
if ((*_FUNC_IDEFILEDIALOG_LONG_X)||is_error_pending()){
if(qbevent){evnt(28182,12876,"ide_methods.bas");if(r)goto S_58016;}
do{
*_FUNC_IDEFILEDIALOG_LONG_X2=qb_safe_mod((*_FUNC_IDEFILEDIALOG_LONG_X- 1 ), 4 );
if(!qbevent)break;evnt(28182,12877,"ide_methods.bas");}while(r);
S_58018:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_X2== 0 ))||is_error_pending()){
if(qbevent){evnt(28182,12878,"ide_methods.bas");if(r)goto S_58018;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,qbs_add(qbs_add(qbs_left(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_X- 1 ),_FUNC_IDEFILEDIALOG_STRING_SPACE4),qbs_right(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_L-*_FUNC_IDEFILEDIALOG_LONG_X)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12878,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_L=*_FUNC_IDEFILEDIALOG_LONG_L+ 3 ;
if(!qbevent)break;evnt(28182,12878,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENFIXTABS;
if(!qbevent)break;evnt(28182,12878,"ide_methods.bas");}while(r);
}
S_58023:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_X2== 1 ))||is_error_pending()){
if(qbevent){evnt(28182,12879,"ide_methods.bas");if(r)goto S_58023;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,qbs_add(qbs_add(qbs_left(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_X- 1 ),_FUNC_IDEFILEDIALOG_STRING_SPACE3),qbs_right(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_L-*_FUNC_IDEFILEDIALOG_LONG_X)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12879,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_L=*_FUNC_IDEFILEDIALOG_LONG_L+ 2 ;
if(!qbevent)break;evnt(28182,12879,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENFIXTABS;
if(!qbevent)break;evnt(28182,12879,"ide_methods.bas");}while(r);
}
S_58028:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_X2== 2 ))||is_error_pending()){
if(qbevent){evnt(28182,12880,"ide_methods.bas");if(r)goto S_58028;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,qbs_add(qbs_add(qbs_left(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_X- 1 ),_FUNC_IDEFILEDIALOG_STRING_SPACE2),qbs_right(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_L-*_FUNC_IDEFILEDIALOG_LONG_X)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12880,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_L=*_FUNC_IDEFILEDIALOG_LONG_L+ 1 ;
if(!qbevent)break;evnt(28182,12880,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENFIXTABS;
if(!qbevent)break;evnt(28182,12880,"ide_methods.bas");}while(r);
}
S_58033:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_X2== 3 ))||is_error_pending()){
if(qbevent){evnt(28182,12881,"ide_methods.bas");if(r)goto S_58033;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,qbs_add(qbs_add(qbs_left(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_X- 1 ),_FUNC_IDEFILEDIALOG_STRING_SPACE1),qbs_right(_FUNC_IDEFILEDIALOG_STRING_A,*_FUNC_IDEFILEDIALOG_LONG_L-*_FUNC_IDEFILEDIALOG_LONG_X)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12881,"ide_methods.bas");}while(r);
do{
goto LABEL_IDEOPENFIXTABS;
if(!qbevent)break;evnt(28182,12881,"ide_methods.bas");}while(r);
}
}
}
do{
sub_mid(__STRING_IDET,*_FUNC_IDEFILEDIALOG_LONG_I2,*_FUNC_IDEFILEDIALOG_LONG_L+ 8 ,qbs_add(qbs_add(l2string(*_FUNC_IDEFILEDIALOG_LONG_L),_FUNC_IDEFILEDIALOG_STRING_A),l2string(*_FUNC_IDEFILEDIALOG_LONG_L)),1);
if(!qbevent)break;evnt(28182,12884,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_I2=*_FUNC_IDEFILEDIALOG_LONG_I2+*_FUNC_IDEFILEDIALOG_LONG_L+ 8 ;
if(!qbevent)break;evnt(28182,12884,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_N=*_FUNC_IDEFILEDIALOG_LONG_N+ 1 ;
if(!qbevent)break;evnt(28182,12884,"ide_methods.bas");}while(r);
}
S_58043:;
dl_continue_6850:;
}while((!(-(*_FUNC_IDEFILEDIALOG_LONG_ASCA== 13 )))&&(!is_error_pending()));
dl_exit_6850:;
if(qbevent){evnt(28182,12886,"ide_methods.bas");if(r)goto S_58043;}
do{
qbs_set(__STRING_LINEINPUT3BUFFER,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12887,"ide_methods.bas");}while(r);
do{
*__LONG_IDEN=*_FUNC_IDEFILEDIALOG_LONG_N;
if(!qbevent)break;evnt(28182,12888,"ide_methods.bas");}while(r);
S_58046:;
if ((-(*_FUNC_IDEFILEDIALOG_LONG_N== 0 ))||is_error_pending()){
if(qbevent){evnt(28182,12888,"ide_methods.bas");if(r)goto S_58046;}
do{
qbs_set(__STRING_IDET,qbs_add(l2string( 0 ),l2string( 0 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12888,"ide_methods.bas");}while(r);
do{
*__LONG_IDEN= 1 ;
if(!qbevent)break;evnt(28182,12888,"ide_methods.bas");}while(r);
}else{
do{
qbs_set(__STRING_IDET,qbs_left(__STRING_IDET,*_FUNC_IDEFILEDIALOG_LONG_I2- 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12888,"ide_methods.bas");}while(r);
}
do{
if (__ARRAY_BYTE_IDEBREAKPOINTS[2]&2){
error(10);
}else{
static int64 alloc_new_desc[8];
static uint64 alloc_req_elems;
static uint64 alloc_req_bytes;
static uint64 alloc_dim_value;
static uint64 alloc_bytes_per_element;
((mem_lock*)((ptrszint*)__ARRAY_BYTE_IDEBREAKPOINTS)[8])->id=(++mem_lock_id);
static ptrszint preserve_old_ptr;
static ptrszint preserve_old_flags;
static uint64 preserve_old_total;
static uint64 preserve_new_total;
static uint64 preserve_copy_count;
static ptrszint preserve_new_ptr;
if (__ARRAY_BYTE_IDEBREAKPOINTS[2]&1){
preserve_old_ptr=__ARRAY_BYTE_IDEBREAKPOINTS[0];
preserve_old_flags=__ARRAY_BYTE_IDEBREAKPOINTS[2];
preserve_old_total=__ARRAY_BYTE_IDEBREAKPOINTS[5];
}else{
preserve_old_total=0; preserve_old_ptr=0; preserve_old_flags=0; preserve_new_total=0; preserve_copy_count=0;
}
alloc_new_desc[4]= 0 ;
alloc_new_desc[5]=(*__LONG_IDEN)-alloc_new_desc[4]+1;
if (alloc_new_desc[5]<=0) error(5);
alloc_new_desc[6]=1;
alloc_req_elems=1;
alloc_bytes_per_element=(uint64)(1);
if (!alloc_bytes_per_element) error(257);
if (((int64)((ptrszint)alloc_new_desc[4]))!=alloc_new_desc[4]) error(257);
if (alloc_new_desc[5]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[5]))!=alloc_new_desc[5]) error(257);
if (alloc_new_desc[6]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[6]))!=alloc_new_desc[6]) error(257);
alloc_dim_value=(uint64)alloc_new_desc[5];
if (alloc_dim_value){
if (alloc_req_elems>(18446744073709551615ull/alloc_dim_value)) error(257);
alloc_req_elems*=alloc_dim_value;
}
if (alloc_req_elems>(18446744073709551615ull/alloc_bytes_per_element)) error(257);
alloc_req_bytes=alloc_req_elems*alloc_bytes_per_element;
if (((uint64)((ptrszint)alloc_req_elems))!=alloc_req_elems) error(257);
if (((uint64)((size_t)alloc_req_bytes))!=alloc_req_bytes) error(257);
preserve_new_total=alloc_req_elems;
preserve_copy_count=preserve_old_total;
if (preserve_new_total<preserve_copy_count) preserve_copy_count=preserve_new_total;
if (__ARRAY_BYTE_IDEBREAKPOINTS[2]&4){
if (preserve_old_total){
preserve_new_ptr=(ptrszint)cmem_dynamic_malloc((size_t)alloc_req_bytes);
if (!preserve_new_ptr) error(257);
memset((void*)(preserve_new_ptr),0,(size_t)alloc_req_bytes);
if (preserve_old_flags&4){
cmem_dynamic_free((uint8*)(preserve_old_ptr));
}else{
free((void*)(preserve_old_ptr));
}
__ARRAY_BYTE_IDEBREAKPOINTS[0]=preserve_new_ptr;
}else{
__ARRAY_BYTE_IDEBREAKPOINTS[0]=(ptrszint)cmem_dynamic_malloc((size_t)alloc_req_bytes);
if (!__ARRAY_BYTE_IDEBREAKPOINTS[0]) error(257);
memset((void*)(__ARRAY_BYTE_IDEBREAKPOINTS[0]),0,(size_t)alloc_req_bytes);
}
}else{
if (preserve_old_total){
preserve_new_ptr=(ptrszint)calloc((size_t)alloc_req_bytes,1);
if (!preserve_new_ptr) error(257);
if (preserve_old_flags&4){
cmem_dynamic_free((uint8*)(preserve_old_ptr));
}else{
free((void*)(preserve_old_ptr));
}
__ARRAY_BYTE_IDEBREAKPOINTS[0]=preserve_new_ptr;
}else{
__ARRAY_BYTE_IDEBREAKPOINTS[0]=(ptrszint)calloc((size_t)alloc_req_bytes,1);
if (!__ARRAY_BYTE_IDEBREAKPOINTS[0]) error(257);
}
}
__ARRAY_BYTE_IDEBREAKPOINTS[2]|=1;
__ARRAY_BYTE_IDEBREAKPOINTS[4]=alloc_new_desc[4];
__ARRAY_BYTE_IDEBREAKPOINTS[5]=alloc_new_desc[5];
__ARRAY_BYTE_IDEBREAKPOINTS[6]=alloc_new_desc[6];
__ARRAY_BYTE_IDEBREAKPOINTS[7]=alloc_new_desc[7];
}
if(!qbevent)break;evnt(28182,12889,"ide_methods.bas");}while(r);
do{
if (__ARRAY_BYTE_IDESKIPLINES[2]&2){
error(10);
}else{
static int64 alloc_new_desc[8];
static uint64 alloc_req_elems;
static uint64 alloc_req_bytes;
static uint64 alloc_dim_value;
static uint64 alloc_bytes_per_element;
((mem_lock*)((ptrszint*)__ARRAY_BYTE_IDESKIPLINES)[8])->id=(++mem_lock_id);
static ptrszint preserve_old_ptr;
static ptrszint preserve_old_flags;
static uint64 preserve_old_total;
static uint64 preserve_new_total;
static uint64 preserve_copy_count;
static ptrszint preserve_new_ptr;
if (__ARRAY_BYTE_IDESKIPLINES[2]&1){
preserve_old_ptr=__ARRAY_BYTE_IDESKIPLINES[0];
preserve_old_flags=__ARRAY_BYTE_IDESKIPLINES[2];
preserve_old_total=__ARRAY_BYTE_IDESKIPLINES[5];
}else{
preserve_old_total=0; preserve_old_ptr=0; preserve_old_flags=0; preserve_new_total=0; preserve_copy_count=0;
}
alloc_new_desc[4]= 0 ;
alloc_new_desc[5]=(*__LONG_IDEN)-alloc_new_desc[4]+1;
if (alloc_new_desc[5]<=0) error(5);
alloc_new_desc[6]=1;
alloc_req_elems=1;
alloc_bytes_per_element=(uint64)(1);
if (!alloc_bytes_per_element) error(257);
if (((int64)((ptrszint)alloc_new_desc[4]))!=alloc_new_desc[4]) error(257);
if (alloc_new_desc[5]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[5]))!=alloc_new_desc[5]) error(257);
if (alloc_new_desc[6]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[6]))!=alloc_new_desc[6]) error(257);
alloc_dim_value=(uint64)alloc_new_desc[5];
if (alloc_dim_value){
if (alloc_req_elems>(18446744073709551615ull/alloc_dim_value)) error(257);
alloc_req_elems*=alloc_dim_value;
}
if (alloc_req_elems>(18446744073709551615ull/alloc_bytes_per_element)) error(257);
alloc_req_bytes=alloc_req_elems*alloc_bytes_per_element;
if (((uint64)((ptrszint)alloc_req_elems))!=alloc_req_elems) error(257);
if (((uint64)((size_t)alloc_req_bytes))!=alloc_req_bytes) error(257);
preserve_new_total=alloc_req_elems;
preserve_copy_count=preserve_old_total;
if (preserve_new_total<preserve_copy_count) preserve_copy_count=preserve_new_total;
if (__ARRAY_BYTE_IDESKIPLINES[2]&4){
if (preserve_old_total){
preserve_new_ptr=(ptrszint)cmem_dynamic_malloc((size_t)alloc_req_bytes);
if (!preserve_new_ptr) error(257);
memset((void*)(preserve_new_ptr),0,(size_t)alloc_req_bytes);
if (preserve_old_flags&4){
cmem_dynamic_free((uint8*)(preserve_old_ptr));
}else{
free((void*)(preserve_old_ptr));
}
__ARRAY_BYTE_IDESKIPLINES[0]=preserve_new_ptr;
}else{
__ARRAY_BYTE_IDESKIPLINES[0]=(ptrszint)cmem_dynamic_malloc((size_t)alloc_req_bytes);
if (!__ARRAY_BYTE_IDESKIPLINES[0]) error(257);
memset((void*)(__ARRAY_BYTE_IDESKIPLINES[0]),0,(size_t)alloc_req_bytes);
}
}else{
if (preserve_old_total){
preserve_new_ptr=(ptrszint)calloc((size_t)alloc_req_bytes,1);
if (!preserve_new_ptr) error(257);
if (preserve_old_flags&4){
cmem_dynamic_free((uint8*)(preserve_old_ptr));
}else{
free((void*)(preserve_old_ptr));
}
__ARRAY_BYTE_IDESKIPLINES[0]=preserve_new_ptr;
}else{
__ARRAY_BYTE_IDESKIPLINES[0]=(ptrszint)calloc((size_t)alloc_req_bytes,1);
if (!__ARRAY_BYTE_IDESKIPLINES[0]) error(257);
}
}
__ARRAY_BYTE_IDESKIPLINES[2]|=1;
__ARRAY_BYTE_IDESKIPLINES[4]=alloc_new_desc[4];
__ARRAY_BYTE_IDESKIPLINES[5]=alloc_new_desc[5];
__ARRAY_BYTE_IDESKIPLINES[6]=alloc_new_desc[6];
__ARRAY_BYTE_IDESKIPLINES[7]=alloc_new_desc[7];
}
if(!qbevent)break;evnt(28182,12890,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_VARIABLEWATCHLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12891,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_BACKUPVARIABLEWATCHLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12892,"ide_methods.bas");}while(r);
do{
if (__ARRAY_UDT_BACKUPUSEDVARIABLELIST[2]&2){
error(10);
}else{
static int64 alloc_new_desc[8];
static uint64 alloc_req_elems;
static uint64 alloc_req_bytes;
static uint64 alloc_dim_value;
static uint64 alloc_bytes_per_element;
((mem_lock*)((ptrszint*)__ARRAY_UDT_BACKUPUSEDVARIABLELIST)[8])->id=(++mem_lock_id);
static ptrszint preserve_old_ptr;
static ptrszint preserve_old_flags;
static uint64 preserve_old_total;
static uint64 preserve_new_total;
static uint64 preserve_copy_count;
static ptrszint preserve_new_ptr;
if (__ARRAY_UDT_BACKUPUSEDVARIABLELIST[2]&1){
preserve_old_ptr=__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0];
preserve_old_flags=__ARRAY_UDT_BACKUPUSEDVARIABLELIST[2];
preserve_old_total=__ARRAY_UDT_BACKUPUSEDVARIABLELIST[5];
}else{
preserve_old_total=0; preserve_old_ptr=0; preserve_old_flags=0; preserve_new_total=0; preserve_copy_count=0;
}
alloc_new_desc[4]= 0 ;
alloc_new_desc[5]=( 1000 )-alloc_new_desc[4]+1;
if (alloc_new_desc[5]<=0) error(5);
alloc_new_desc[6]=1;
alloc_req_elems=1;
alloc_bytes_per_element=(uint64)(120);
if (!alloc_bytes_per_element) error(257);
if (((int64)((ptrszint)alloc_new_desc[4]))!=alloc_new_desc[4]) error(257);
if (alloc_new_desc[5]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[5]))!=alloc_new_desc[5]) error(257);
if (alloc_new_desc[6]<0) error(257);
if (((int64)((ptrszint)alloc_new_desc[6]))!=alloc_new_desc[6]) error(257);
alloc_dim_value=(uint64)alloc_new_desc[5];
if (alloc_dim_value){
if (alloc_req_elems>(18446744073709551615ull/alloc_dim_value)) error(257);
alloc_req_elems*=alloc_dim_value;
}
if (alloc_req_elems>(18446744073709551615ull/alloc_bytes_per_element)) error(257);
alloc_req_bytes=alloc_req_elems*alloc_bytes_per_element;
if (((uint64)((ptrszint)alloc_req_elems))!=alloc_req_elems) error(257);
if (((uint64)((size_t)alloc_req_bytes))!=alloc_req_bytes) error(257);
preserve_new_total=alloc_req_elems;
preserve_copy_count=preserve_old_total;
if (preserve_new_total<preserve_copy_count) preserve_copy_count=preserve_new_total;
if (preserve_old_total){
preserve_new_ptr=(ptrszint)malloc((size_t)alloc_req_bytes);
if (!preserve_new_ptr) error(257);
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]=preserve_new_ptr;
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[2]|=1;
tmp_long=(ptrszint)alloc_req_elems;
ZeroMemory((uint8*)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]),tmp_long*120);
while(tmp_long--){

*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 32)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 40)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 48)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 56)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 64)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 72)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 80)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 88)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 96)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 104)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 112)=qbs_new(0,0);}
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]=preserve_old_ptr;
tmp_long=preserve_old_total;
while(tmp_long--){

qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 32));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 40));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 48));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 56));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 64));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 72));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 80));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 88));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 96));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 104));
qbs_free(*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 112));}
free((void*)(preserve_old_ptr));
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]=preserve_new_ptr;
}else{
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]=(ptrszint)malloc((size_t)alloc_req_bytes);
if (!__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]) error(257);
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[2]|=1;
tmp_long=(ptrszint)alloc_req_elems;
ZeroMemory((uint8*)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]),tmp_long*120);
while(tmp_long--){

*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 32)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 40)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 48)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 56)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 64)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 72)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 80)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 88)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 96)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 104)=qbs_new(0,0);
*(qbs**)(__ARRAY_UDT_BACKUPUSEDVARIABLELIST[0]+120*tmp_long+ 112)=qbs_new(0,0);}
}
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[4]=alloc_new_desc[4];
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[5]=alloc_new_desc[5];
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[6]=alloc_new_desc[6];
__ARRAY_UDT_BACKUPUSEDVARIABLELIST[7]=alloc_new_desc[7];
}
if(!qbevent)break;evnt(28182,12892,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_BACKUPTYPEDEFINITIONS,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12893,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_CALLSTACKLIST,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12894,"ide_methods.bas");}while(r);
do{
*__LONG_CALLSTACKLENGTH= 0 ;
if(!qbevent)break;evnt(28182,12894,"ide_methods.bas");}while(r);
do{
*__LONG_IDEERROR= 1 ;
if(!qbevent)break;evnt(28182,12896,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_IDEPROGNAME,_FUNC_IDEFILEDIALOG_STRING_F);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12897,"ide_methods.bas");}while(r);
do{
sub__title(qbs_add(qbs_add(__STRING_IDEPROGNAME,qbs_new_txt_len(" - ",3)),__STRING_WINDOWTITLE));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12897,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_LISTOFCUSTOMKEYWORDS,qbs_left(__STRING_LISTOFCUSTOMKEYWORDS,*__LONG_CUSTOMKEYWORDSLENGTH));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12898,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_IDEPATH,_FUNC_IDEFILEDIALOG_STRING_PATH);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12899,"ide_methods.bas");}while(r);
do{
SUB_ADDTOHISTORY(qbs_new_txt_len("RECENT",6),qbs_add(qbs_add(__STRING_IDEPATH,__STRING1_IDEPATHSEP),__STRING_IDEPROGNAME));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12900,"ide_methods.bas");}while(r);
do{
SUB_IDEIMPORTBOOKMARKS(qbs_add(qbs_add(__STRING_IDEPATH,__STRING1_IDEPATHSEP),__STRING_IDEPROGNAME));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12901,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12902,"ide_methods.bas");}while(r);
S_58068:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 2 )){
if(qbevent){evnt(28182,12903,"ide_methods.bas");if(r)goto S_58068;}
S_58069:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_FILEHASEXTENSION(_FUNC_IDEFILEDIALOG_STRING_F)== 0 )))||is_error_pending()){
if(qbevent){evnt(28182,12904,"ide_methods.bas");if(r)goto S_58069;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_F,qbs_add(_FUNC_IDEFILEDIALOG_STRING_F,qbs_new_txt_len(".bas",4)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12904,"ide_methods.bas");}while(r);
}
do{
*__LONG_IDEERROR= 3 ;
if(!qbevent)break;evnt(28182,12906,"ide_methods.bas");}while(r);
do{
sub_open(qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F), 2 ,NULL,NULL, 150 ,NULL,0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12907,"ide_methods.bas");}while(r);
do{
*__LONG_IDEERROR= 1 ;
if(!qbevent)break;evnt(28182,12908,"ide_methods.bas");}while(r);
S_58075:;
if ((func_lof( 150 ))||is_error_pending()){
if(qbevent){evnt(28182,12909,"ide_methods.bas");if(r)goto S_58075;}
do{
sub_close( 150 ,1);
if(!qbevent)break;evnt(28182,12910,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_A,FUNC_IDEFILEEXISTS(_FUNC_IDEFILEDIALOG_STRING_F));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12911,"ide_methods.bas");}while(r);
S_58078:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_IDEFILEDIALOG_STRING_A,qbs_new_txt_len("N",1))))||is_error_pending()){
if(qbevent){evnt(28182,12912,"ide_methods.bas");if(r)goto S_58078;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG,qbs_new_txt_len("C",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12913,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12914,"ide_methods.bas");}while(r);
}
}else{
do{
sub_close( 150 ,1);
if(!qbevent)break;evnt(28182,12917,"ide_methods.bas");}while(r);
}
do{
qbs_set(__STRING_IDEPROGNAME,_FUNC_IDEFILEDIALOG_STRING_F);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12919,"ide_methods.bas");}while(r);
do{
sub__title(qbs_add(qbs_add(__STRING_IDEPROGNAME,qbs_new_txt_len(" - ",3)),__STRING_WINDOWTITLE));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12919,"ide_methods.bas");}while(r);
do{
SUB_IDESAVE(qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12920,"ide_methods.bas");}while(r);
do{
qbs_set(__STRING_IDEPATH,_FUNC_IDEFILEDIALOG_STRING_PATH);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12921,"ide_methods.bas");}while(r);
do{
SUB_ADDTOHISTORY(qbs_new_txt_len("RECENT",6),qbs_add(qbs_add(__STRING_IDEPATH,__STRING1_IDEPATHSEP),__STRING_IDEPROGNAME));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12922,"ide_methods.bas");}while(r);
do{
SUB_IDESAVEBOOKMARKS(qbs_add(qbs_add(__STRING_IDEPATH,__STRING1_IDEPATHSEP),__STRING_IDEPROGNAME));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12923,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12924,"ide_methods.bas");}while(r);
S_58092:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 3 )){
if(qbevent){evnt(28182,12925,"ide_methods.bas");if(r)goto S_58092;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG,qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12926,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12927,"ide_methods.bas");}while(r);
S_58095:;
}else{
if (-(*_FUNC_IDEFILEDIALOG_BYTE_MODE== 4 )){
if(qbevent){evnt(28182,12928,"ide_methods.bas");if(r)goto S_58095;}
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG,qbs_add(qbs_add(_FUNC_IDEFILEDIALOG_STRING_PATH,__STRING1_IDEPATHSEP),_FUNC_IDEFILEDIALOG_STRING_F));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12929,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_IDEFILEDIALOG_STRING_PROGRAMNAME,_FUNC_IDEFILEDIALOG_STRING_OPRG);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,12930,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,12931,"ide_methods.bas");}while(r);
}
}
}
}
}
LABEL_IDEOPENLOOP:;
if(qbevent){evnt(28182,12935,"ide_methods.bas");r=0;}
do{
*_FUNC_IDEFILEDIALOG_LONG_MOUSEDOWN= 0 ;
if(!qbevent)break;evnt(28182,12938,"ide_methods.bas");}while(r);
do{
*_FUNC_IDEFILEDIALOG_LONG_MOUSEUP= 0 ;
if(!qbevent)break;evnt(28182,12939,"ide_methods.bas");}while(r);
dl_continue_6833:;
}while(1);
dl_exit_6833:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free372.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;
qbs_maketmp(_FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG);return _FUNC_IDEFILEDIALOG_STRING_IDEFILEDIALOG;
}
