qbs* FUNC_GETESCAPEDPATH(qbs*_FUNC_GETESCAPEDPATH_STRING_PATH_NAME){
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 "data124.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(28163,87,"file.bas");}while(r);
S_36781:;
fornext_value4402= 1 ;
fornext_finalvalue4402=_FUNC_GETESCAPEDPATH_STRING_PATH_NAME->len;
fornext_step4402= 1 ;
if (fornext_step4402<0) fornext_step_negative4402=1; else fornext_step_negative4402=0;
if (is_error_pending()) goto fornext_error4402;
goto fornext_entrylabel4402;
while(1){
fornext_value4402=fornext_step4402+(*_FUNC_GETESCAPEDPATH_ULONG_Z);
fornext_entrylabel4402:
*_FUNC_GETESCAPEDPATH_ULONG_Z=fornext_value4402;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4402){
if (fornext_value4402<fornext_finalvalue4402) break;
}else{
if (fornext_value4402>fornext_finalvalue4402) break;
}
fornext_error4402:;
if(qbevent){evnt(28163,89,"file.bas");if(r)goto S_36781;}
do{
*_FUNC_GETESCAPEDPATH_UBYTE_A=qbs_asc(_FUNC_GETESCAPEDPATH_STRING_PATH_NAME,*_FUNC_GETESCAPEDPATH_ULONG_Z);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,90,"file.bas");}while(r);
do{
qbs_set(_FUNC_GETESCAPEDPATH_STRING_BUF,qbs_add(_FUNC_GETESCAPEDPATH_STRING_BUF,func_chr(*_FUNC_GETESCAPEDPATH_UBYTE_A)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,91,"file.bas");}while(r);
S_36784:;
if ((-(*_FUNC_GETESCAPEDPATH_UBYTE_A== 92 ))||is_error_pending()){
if(qbevent){evnt(28163,92,"file.bas");if(r)goto S_36784;}
do{
qbs_set(_FUNC_GETESCAPEDPATH_STRING_BUF,qbs_add(_FUNC_GETESCAPEDPATH_STRING_BUF,qbs_new_txt_len("\\",1)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,92,"file.bas");}while(r);
}
fornext_continue_4401:;
}
fornext_exit_4401:;
do{
qbs_set(_FUNC_GETESCAPEDPATH_STRING_GETESCAPEDPATH,_FUNC_GETESCAPEDPATH_STRING_BUF);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,95,"file.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free124.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_GETESCAPEDPATH_STRING_GETESCAPEDPATH);return _FUNC_GETESCAPEDPATH_STRING_GETESCAPEDPATH;
}
