qbs* FUNC_GETFILEPATH(qbs*_FUNC_GETFILEPATH_STRING_F){
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 "data119.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;
S_36727:;
fornext_value4379=_FUNC_GETFILEPATH_STRING_F->len;
fornext_finalvalue4379= 1 ;
fornext_step4379= -1 ;
if (fornext_step4379<0) fornext_step_negative4379=1; else fornext_step_negative4379=0;
if (is_error_pending()) goto fornext_error4379;
goto fornext_entrylabel4379;
while(1){
fornext_value4379=fornext_step4379+(*_FUNC_GETFILEPATH_LONG_I);
fornext_entrylabel4379:
*_FUNC_GETFILEPATH_LONG_I=fornext_value4379;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4379){
if (fornext_value4379<fornext_finalvalue4379) break;
}else{
if (fornext_value4379>fornext_finalvalue4379) break;
}
fornext_error4379:;
if(qbevent){evnt(28163,21,"file.bas");if(r)goto S_36727;}
do{
qbs_set(_FUNC_GETFILEPATH_STRING_A,func_mid(_FUNC_GETFILEPATH_STRING_F,*_FUNC_GETFILEPATH_LONG_I, 1 ,0|1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,22,"file.bas");}while(r);
S_36729:;
if ((qbs_cleanup(qbs_tmp_base,(qbs_equal(_FUNC_GETFILEPATH_STRING_A,qbs_new_txt_len("/",1)))|(qbs_equal(_FUNC_GETFILEPATH_STRING_A,qbs_new_txt_len("\\",1)))))||is_error_pending()){
if(qbevent){evnt(28163,23,"file.bas");if(r)goto S_36729;}
do{
qbs_set(_FUNC_GETFILEPATH_STRING_GETFILEPATH,qbs_left(_FUNC_GETFILEPATH_STRING_F,*_FUNC_GETFILEPATH_LONG_I));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,24,"file.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28163,25,"file.bas");}while(r);
}
fornext_continue_4378:;
}
fornext_exit_4378:;
do{
qbs_set(_FUNC_GETFILEPATH_STRING_GETFILEPATH,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,28,"file.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free119.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_GETFILEPATH_STRING_GETFILEPATH);return _FUNC_GETFILEPATH_STRING_GETFILEPATH;
}
