int32 FUNC_FILEHASEXTENSION(qbs*_FUNC_FILEHASEXTENSION_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 "data120.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_36735:;
fornext_value4383=_FUNC_FILEHASEXTENSION_STRING_F->len;
fornext_finalvalue4383= 1 ;
fornext_step4383= -1 ;
if (fornext_step4383<0) fornext_step_negative4383=1; else fornext_step_negative4383=0;
if (is_error_pending()) goto fornext_error4383;
goto fornext_entrylabel4383;
while(1){
fornext_value4383=fornext_step4383+(*_FUNC_FILEHASEXTENSION_LONG_I);
fornext_entrylabel4383:
*_FUNC_FILEHASEXTENSION_LONG_I=fornext_value4383;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative4383){
if (fornext_value4383<fornext_finalvalue4383) break;
}else{
if (fornext_value4383>fornext_finalvalue4383) break;
}
fornext_error4383:;
if(qbevent){evnt(28163,36,"file.bas");if(r)goto S_36735;}
do{
*_FUNC_FILEHASEXTENSION_LONG_A=qbs_asc(_FUNC_FILEHASEXTENSION_STRING_F,*_FUNC_FILEHASEXTENSION_LONG_I);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28163,37,"file.bas");}while(r);
S_36737:;
if (((-(*_FUNC_FILEHASEXTENSION_LONG_A== 47 ))|(-(*_FUNC_FILEHASEXTENSION_LONG_A== 92 )))||is_error_pending()){
if(qbevent){evnt(28163,38,"file.bas");if(r)goto S_36737;}
do{
goto fornext_exit_4382;
if(!qbevent)break;evnt(28163,38,"file.bas");}while(r);
}
S_36740:;
if ((-(*_FUNC_FILEHASEXTENSION_LONG_A== 46 ))||is_error_pending()){
if(qbevent){evnt(28163,39,"file.bas");if(r)goto S_36740;}
do{
*_FUNC_FILEHASEXTENSION_LONG_FILEHASEXTENSION= -1 ;
if(!qbevent)break;evnt(28163,39,"file.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28163,39,"file.bas");}while(r);
}
fornext_continue_4382:;
}
fornext_exit_4382:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free120.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;
return *_FUNC_FILEHASEXTENSION_LONG_FILEHASEXTENSION;
}
