qbs* FUNC_READSETTING(qbs*_FUNC_READSETTING_STRING_FILE,qbs*_FUNC_READSETTING_STRING___SECTION,qbs*_FUNC_READSETTING_STRING___KEY){
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 "data162.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(28167,158,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,159,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,160,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,161,"ini.bm");}while(r);
do{
SUB_INILOAD(_FUNC_READSETTING_STRING_FILE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,163,"ini.bm");}while(r);
S_37877:;
if ((*__LONG_INICODE)||is_error_pending()){
if(qbevent){evnt(28167,164,"ini.bm");if(r)goto S_37877;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,164,"ini.bm");}while(r);
}
S_37880:;
if ((qbs_cleanup(qbs_tmp_base,(-(*__ULONG_CURRENTINIFILELOF== 0 ))|(-(((int32)(qbs_ltrim(qbs_rtrim(__STRING_INIWHOLEFILE)))->len)== 0 ))))||is_error_pending()){
if(qbevent){evnt(28167,166,"ini.bm");if(r)goto S_37880;}
do{
*__LONG_INICODE= 17 ;
if(!qbevent)break;evnt(28167,166,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,166,"ini.bm");}while(r);
}
do{
if(!qbevent)break;evnt(28167,168,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,169,"ini.bm");}while(r);
do{
if(!qbevent)break;evnt(28167,170,"ini.bm");}while(r);
do{
qbs_set(_FUNC_READSETTING_STRING_SECTION,FUNC_INIFORMATSECTION(_FUNC_READSETTING_STRING___SECTION));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,172,"ini.bm");}while(r);
S_37888:;
if ((*__LONG_INICODE)||is_error_pending()){
if(qbevent){evnt(28167,173,"ini.bm");if(r)goto S_37888;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,173,"ini.bm");}while(r);
}
do{
qbs_set(__STRING_INISECTIONDATA,FUNC_INIGETSECTION(_FUNC_READSETTING_STRING_SECTION));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,176,"ini.bm");}while(r);
S_37892:;
if (((-(*__LONG_INICODE> 0 ))&(-(*__LONG_INICODE!= 17 )))||is_error_pending()){
if(qbevent){evnt(28167,177,"ini.bm");if(r)goto S_37892;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,177,"ini.bm");}while(r);
}
S_37895:;
if ((qbs_cleanup(qbs_tmp_base,(-(__STRING_INISECTIONDATA->len== 0 ))&(qbs_notequal(_FUNC_READSETTING_STRING_SECTION,qbs_new_txt_len("[]",2)))))||is_error_pending()){
if(qbevent){evnt(28167,179,"ini.bm");if(r)goto S_37895;}
do{
*__LONG_INICODE= 14 ;
if(!qbevent)break;evnt(28167,179,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,179,"ini.bm");}while(r);
}
do{
qbs_set(__STRING_INILASTSECTION,_FUNC_READSETTING_STRING_SECTION);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,181,"ini.bm");}while(r);
do{
*__ULONG_INIPOSITION= 0 ;
if(!qbevent)break;evnt(28167,183,"ini.bm");}while(r);
do{
qbs_set(_FUNC_READSETTING_STRING_KEY,qbs_ltrim(qbs_rtrim(_FUNC_READSETTING_STRING___KEY)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,185,"ini.bm");}while(r);
do{
qbs_set(__STRING_INILASTKEY,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,186,"ini.bm");}while(r);
S_37903:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_READSETTING_STRING_KEY,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28167,187,"ini.bm");if(r)goto S_37903;}
do{
*__LONG_INICODE= 12 ;
if(!qbevent)break;evnt(28167,187,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,187,"ini.bm");}while(r);
}
S_37907:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(qbs_left(_FUNC_READSETTING_STRING_KEY, 1 ),qbs_new_txt_len(";",1)))|(qbs_equal(qbs_left(_FUNC_READSETTING_STRING_KEY, 1 ),qbs_new_txt_len("'",1)))|(-(func_instr(NULL,_FUNC_READSETTING_STRING_KEY,qbs_new_txt_len("[",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_READSETTING_STRING_KEY,qbs_new_txt_len("]",1),0)> 0 ))|(-(func_instr(NULL,_FUNC_READSETTING_STRING_KEY,qbs_new_txt_len("=",1),0)> 0 ))))||is_error_pending()){
if(qbevent){evnt(28167,189,"ini.bm");if(r)goto S_37907;}
do{
*__LONG_INICODE= 12 ;
if(!qbevent)break;evnt(28167,190,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,191,"ini.bm");}while(r);
}
do{
qbs_set(__STRING_INILASTKEY,_FUNC_READSETTING_STRING_KEY);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,194,"ini.bm");}while(r);
S_37912:;
if ((-(*__ULONG_INIPOSITION> 0 ))||is_error_pending()){
if(qbevent){evnt(28167,196,"ini.bm");if(r)goto S_37912;}
do{
*_FUNC_READSETTING_ULONG_EQUAL=*__ULONG_INIPOSITION;
if(!qbevent)break;evnt(28167,196,"ini.bm");}while(r);
do{
goto LABEL_KEYFOUND;
if(!qbevent)break;evnt(28167,196,"ini.bm");}while(r);
}
LABEL_CHECKKEY:;
if(qbevent){evnt(28167,197,"ini.bm");r=0;}
do{
*__ULONG_INIPOSITION=func_instr(*__ULONG_INIPOSITION+ 1 ,qbs_lcase(__STRING_INISECTIONDATA),qbs_lcase(_FUNC_READSETTING_STRING_KEY),0|1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,198,"ini.bm");}while(r);
S_37917:;
if ((-(*__ULONG_INIPOSITION> 0 ))||is_error_pending()){
if(qbevent){evnt(28167,200,"ini.bm");if(r)goto S_37917;}
S_37918:;
fornext_value4563=*__ULONG_INIPOSITION- 1 ;
fornext_finalvalue4563= 1 ;
fornext_step4563= -1 ;
if (fornext_step4563<0) fornext_step_negative4563=1; else fornext_step_negative4563=0;
if (is_error_pending()) goto fornext_error4563;
goto fornext_entrylabel4563;
while(1){
fornext_value4563=fornext_step4563+(*_FUNC_READSETTING_LONG_I);
fornext_entrylabel4563:
*_FUNC_READSETTING_LONG_I=fornext_value4563;
if (fornext_step_negative4563){
if (fornext_value4563<fornext_finalvalue4563) break;
}else{
if (fornext_value4563>fornext_finalvalue4563) break;
}
fornext_error4563:;
if(qbevent){evnt(28167,202,"ini.bm");if(r)goto S_37918;}
S_37919:;
if ((qbs_cleanup(qbs_tmp_base,-(qbs_asc(__STRING_INISECTIONDATA,*_FUNC_READSETTING_LONG_I)== 10 )))||is_error_pending()){
if(qbevent){evnt(28167,203,"ini.bm");if(r)goto S_37919;}
do{
goto fornext_exit_4562;
if(!qbevent)break;evnt(28167,203,"ini.bm");}while(r);
}
S_37922:;
if ((qbs_cleanup(qbs_tmp_base,(-(qbs_asc(__STRING_INISECTIONDATA,*_FUNC_READSETTING_LONG_I)!= 10 ))&(-(qbs_asc(__STRING_INISECTIONDATA,*_FUNC_READSETTING_LONG_I)!= 32 ))))||is_error_pending()){
if(qbevent){evnt(28167,204,"ini.bm");if(r)goto S_37922;}
do{
goto LABEL_CHECKKEY;
if(!qbevent)break;evnt(28167,206,"ini.bm");}while(r);
}
fornext_continue_4562:;
}
fornext_exit_4562:;
S_37926:;
fornext_value4565=*__ULONG_INIPOSITION+_FUNC_READSETTING_STRING_KEY->len;
fornext_finalvalue4565=__STRING_INISECTIONDATA->len;
fornext_step4565= 1 ;
if (fornext_step4565<0) fornext_step_negative4565=1; else fornext_step_negative4565=0;
if (is_error_pending()) goto fornext_error4565;
goto fornext_entrylabel4565;
while(1){
fornext_value4565=fornext_step4565+(*_FUNC_READSETTING_LONG_I);
fornext_entrylabel4565:
*_FUNC_READSETTING_LONG_I=fornext_value4565;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4565){
if (fornext_value4565<fornext_finalvalue4565) break;
}else{
if (fornext_value4565>fornext_finalvalue4565) break;
}
fornext_error4565:;
if(qbevent){evnt(28167,211,"ini.bm");if(r)goto S_37926;}
S_37927:;
if ((qbs_cleanup(qbs_tmp_base,-(qbs_asc(__STRING_INISECTIONDATA,*_FUNC_READSETTING_LONG_I)==qbs_asc(qbs_new_txt_len("=",1)))))||is_error_pending()){
if(qbevent){evnt(28167,212,"ini.bm");if(r)goto S_37927;}
do{
goto fornext_exit_4564;
if(!qbevent)break;evnt(28167,212,"ini.bm");}while(r);
}
S_37930:;
if ((qbs_cleanup(qbs_tmp_base,(-(qbs_asc(__STRING_INISECTIONDATA,*_FUNC_READSETTING_LONG_I)!=qbs_asc(qbs_new_txt_len("=",1))))&(-(qbs_asc(__STRING_INISECTIONDATA,*_FUNC_READSETTING_LONG_I)!= 32 ))))||is_error_pending()){
if(qbevent){evnt(28167,213,"ini.bm");if(r)goto S_37930;}
do{
goto LABEL_CHECKKEY;
if(!qbevent)break;evnt(28167,215,"ini.bm");}while(r);
}
fornext_continue_4564:;
}
fornext_exit_4564:;
do{
*_FUNC_READSETTING_ULONG_EQUAL=func_instr(*__ULONG_INIPOSITION,__STRING_INISECTIONDATA,qbs_new_txt_len("=",1),0|1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,220,"ini.bm");}while(r);
LABEL_KEYFOUND:;
if(qbevent){evnt(28167,221,"ini.bm");r=0;}
do{
*_FUNC_READSETTING_ULONG_FOUNDLF=func_instr(*__ULONG_INIPOSITION,__STRING_INISECTIONDATA,__STRING_INILF,0|1);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,222,"ini.bm");}while(r);
S_37936:;
if ((-(*_FUNC_READSETTING_ULONG_FOUNDLF> 0 ))||is_error_pending()){
if(qbevent){evnt(28167,224,"ini.bm");if(r)goto S_37936;}
S_37937:;
if ((-(*_FUNC_READSETTING_ULONG_EQUAL>*_FUNC_READSETTING_ULONG_FOUNDLF))||is_error_pending()){
if(qbevent){evnt(28167,225,"ini.bm");if(r)goto S_37937;}
do{
goto LABEL_CHECKKEY;
if(!qbevent)break;evnt(28167,225,"ini.bm");}while(r);
}
}else{
do{
*_FUNC_READSETTING_ULONG_FOUNDLF=__STRING_INISECTIONDATA->len+ 1 ;
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,227,"ini.bm");}while(r);
S_37942:;
if ((-(*_FUNC_READSETTING_ULONG_EQUAL== 0 ))||is_error_pending()){
if(qbevent){evnt(28167,228,"ini.bm");if(r)goto S_37942;}
do{
goto LABEL_CHECKKEY;
if(!qbevent)break;evnt(28167,228,"ini.bm");}while(r);
}
}
do{
qbs_set(_FUNC_READSETTING_STRING_TEMPVALUE,qbs_ltrim(qbs_rtrim(func_mid(__STRING_INISECTIONDATA,*_FUNC_READSETTING_ULONG_EQUAL+ 1 ,*_FUNC_READSETTING_ULONG_FOUNDLF-*_FUNC_READSETTING_ULONG_EQUAL- 1 ,0|1))));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,231,"ini.bm");}while(r);
S_37947:;
if ((qbs_cleanup(qbs_tmp_base,-(_FUNC_READSETTING_STRING_TEMPVALUE->len> 0 )))||is_error_pending()){
if(qbevent){evnt(28167,233,"ini.bm");if(r)goto S_37947;}
S_37948:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(qbs_left(_FUNC_READSETTING_STRING_TEMPVALUE, 1 ),func_chr( 34 ))))||is_error_pending()){
if(qbevent){evnt(28167,234,"ini.bm");if(r)goto S_37948;}
do{
qbs_set(_FUNC_READSETTING_STRING_TEMPVALUE,func_mid(_FUNC_READSETTING_STRING_TEMPVALUE, 2 ,NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,235,"ini.bm");}while(r);
do{
*_FUNC_READSETTING_ULONG_QUOTE=func_instr(NULL,_FUNC_READSETTING_STRING_TEMPVALUE,func_chr( 34 ),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,236,"ini.bm");}while(r);
S_37951:;
if ((-(*_FUNC_READSETTING_ULONG_QUOTE> 0 ))||is_error_pending()){
if(qbevent){evnt(28167,237,"ini.bm");if(r)goto S_37951;}
do{
qbs_set(_FUNC_READSETTING_STRING_TEMPVALUE,qbs_left(_FUNC_READSETTING_STRING_TEMPVALUE,*_FUNC_READSETTING_ULONG_QUOTE- 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,238,"ini.bm");}while(r);
}
}else{
S_37955:;
if ((*__LONG_INIALLOWBASICCOMMENTS)||is_error_pending()){
if(qbevent){evnt(28167,241,"ini.bm");if(r)goto S_37955;}
do{
*_FUNC_READSETTING_ULONG_COMMENT=func_instr(NULL,_FUNC_READSETTING_STRING_TEMPVALUE,qbs_new_txt_len("'",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,241,"ini.bm");}while(r);
}
S_37958:;
if ((-(*_FUNC_READSETTING_ULONG_COMMENT== 0 ))||is_error_pending()){
if(qbevent){evnt(28167,242,"ini.bm");if(r)goto S_37958;}
do{
*_FUNC_READSETTING_ULONG_COMMENT=func_instr(NULL,_FUNC_READSETTING_STRING_TEMPVALUE,qbs_new_txt_len(";",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,242,"ini.bm");}while(r);
}
S_37961:;
if ((-(*_FUNC_READSETTING_ULONG_COMMENT> 0 ))||is_error_pending()){
if(qbevent){evnt(28167,243,"ini.bm");if(r)goto S_37961;}
do{
qbs_set(_FUNC_READSETTING_STRING_TEMPVALUE,qbs_ltrim(qbs_rtrim(qbs_left(_FUNC_READSETTING_STRING_TEMPVALUE,*_FUNC_READSETTING_ULONG_COMMENT- 1 ))));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,244,"ini.bm");}while(r);
}
}
}else{
do{
*__LONG_INICODE= 2 ;
if(!qbevent)break;evnt(28167,248,"ini.bm");}while(r);
}
}else{
do{
*__LONG_INICODE= 3 ;
if(!qbevent)break;evnt(28167,251,"ini.bm");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28167,252,"ini.bm");}while(r);
}
do{
qbs_set(_FUNC_READSETTING_STRING_READSETTING,_FUNC_READSETTING_STRING_TEMPVALUE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,255,"ini.bm");}while(r);
do{
qbs_set(__STRING_INILASTSECTION,FUNC_INICURRENTSECTION());
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28167,256,"ini.bm");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free162.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_READSETTING_STRING_READSETTING);return _FUNC_READSETTING_STRING_READSETTING;
}
