int32 FUNC_MULTISEARCH(qbs*_FUNC_MULTISEARCH_STRING___FULLTEXT,qbs*_FUNC_MULTISEARCH_STRING___SEARCHSTRING){
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 "data277.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
if (is_error_pending()) goto exit_subfunc;
do{
qbs_set(_FUNC_MULTISEARCH_STRING_FULLTEXT,qbs__trim(qbs_ucase(_FUNC_MULTISEARCH_STRING___FULLTEXT)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,8733,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_MULTISEARCH_STRING_SEARCHSTRING,qbs__trim(qbs_ucase(_FUNC_MULTISEARCH_STRING___SEARCHSTRING)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,8734,"ide_methods.bas");}while(r);
S_49528:;
if ((qbs_cleanup(qbs_tmp_base,-(_FUNC_MULTISEARCH_STRING_FULLTEXT->len== 0 )))||is_error_pending()){
if(qbevent){evnt(25769,8735,"ide_methods.bas");if(r)goto S_49528;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25769,8735,"ide_methods.bas");}while(r);
}
S_49531:;
if ((qbs_cleanup(qbs_tmp_base,-(_FUNC_MULTISEARCH_STRING_SEARCHSTRING->len== 0 )))||is_error_pending()){
if(qbevent){evnt(25769,8736,"ide_methods.bas");if(r)goto S_49531;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25769,8736,"ide_methods.bas");}while(r);
}
do{
*_FUNC_MULTISEARCH_LONG_MULTISEARCH= -1 ;
if(!qbevent)break;evnt(25769,8738,"ide_methods.bas");}while(r);
do{
*_FUNC_MULTISEARCH_LONG_FINDPLUS=func_instr(NULL,_FUNC_MULTISEARCH_STRING_SEARCHSTRING,qbs_new_txt_len("+",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,8739,"ide_methods.bas");}while(r);
S_49536:;
while((*_FUNC_MULTISEARCH_LONG_FINDPLUS)||is_error_pending()){
if(qbevent){evnt(25769,8740,"ide_methods.bas");if(r)goto S_49536;}
do{
qbs_set(_FUNC_MULTISEARCH_STRING_THISTERM,qbs_left(_FUNC_MULTISEARCH_STRING_SEARCHSTRING,*_FUNC_MULTISEARCH_LONG_FINDPLUS- 1 ));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,8741,"ide_methods.bas");}while(r);
do{
qbs_set(_FUNC_MULTISEARCH_STRING_SEARCHSTRING,func_mid(_FUNC_MULTISEARCH_STRING_SEARCHSTRING,*_FUNC_MULTISEARCH_LONG_FINDPLUS+ 1 ,NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,8742,"ide_methods.bas");}while(r);
S_49539:;
if ((qbs_cleanup(qbs_tmp_base,-(func_instr(NULL,_FUNC_MULTISEARCH_STRING_FULLTEXT,_FUNC_MULTISEARCH_STRING_THISTERM,0)== 0 )))||is_error_pending()){
if(qbevent){evnt(25769,8743,"ide_methods.bas");if(r)goto S_49539;}
do{
*_FUNC_MULTISEARCH_LONG_MULTISEARCH= 0 ;
if(!qbevent)break;evnt(25769,8743,"ide_methods.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(25769,8743,"ide_methods.bas");}while(r);
}
do{
*_FUNC_MULTISEARCH_LONG_FINDPLUS=func_instr(NULL,_FUNC_MULTISEARCH_STRING_SEARCHSTRING,qbs_new_txt_len("+",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(25769,8744,"ide_methods.bas");}while(r);
ww_continue_5748:;
}
ww_exit_5748:;
S_49545:;
if ((qbs_cleanup(qbs_tmp_base,_FUNC_MULTISEARCH_STRING_SEARCHSTRING->len))||is_error_pending()){
if(qbevent){evnt(25769,8747,"ide_methods.bas");if(r)goto S_49545;}
S_49546:;
if ((qbs_cleanup(qbs_tmp_base,-(func_instr(NULL,_FUNC_MULTISEARCH_STRING_FULLTEXT,_FUNC_MULTISEARCH_STRING_SEARCHSTRING,0)== 0 )))||is_error_pending()){
if(qbevent){evnt(25769,8748,"ide_methods.bas");if(r)goto S_49546;}
do{
*_FUNC_MULTISEARCH_LONG_MULTISEARCH= 0 ;
if(!qbevent)break;evnt(25769,8748,"ide_methods.bas");}while(r);
}
}
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free277.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_MULTISEARCH_LONG_MULTISEARCH;
}
