qbs* FUNC_WIKISAFENAME(qbs*_FUNC_WIKISAFENAME_STRING_PAGE){
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 "data457.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{
qbs_set(_FUNC_WIKISAFENAME_STRING_EXT,func_space(_FUNC_WIKISAFENAME_STRING_PAGE->len));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,1143,"wiki_methods.bas");}while(r);
S_69159:;
fornext_value8027= 1 ;
fornext_finalvalue8027=_FUNC_WIKISAFENAME_STRING_PAGE->len;
fornext_step8027= 1 ;
if (fornext_step8027<0) fornext_step_negative8027=1; else fornext_step_negative8027=0;
if (is_error_pending()) goto fornext_error8027;
goto fornext_entrylabel8027;
while(1){
fornext_value8027=fornext_step8027+(*_FUNC_WIKISAFENAME_LONG_I);
fornext_entrylabel8027:
*_FUNC_WIKISAFENAME_LONG_I=fornext_value8027;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative8027){
if (fornext_value8027<fornext_finalvalue8027) break;
}else{
if (fornext_value8027>fornext_finalvalue8027) break;
}
fornext_error8027:;
if(qbevent){evnt(28182,1144,"wiki_methods.bas");if(r)goto S_69159;}
do{
*_FUNC_WIKISAFENAME_LONG_C=qbs_asc(_FUNC_WIKISAFENAME_STRING_PAGE,*_FUNC_WIKISAFENAME_LONG_I);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,1145,"wiki_methods.bas");}while(r);
S_69161:;
if(qbevent){evnt(28182,1146,"wiki_methods.bas");if(r)goto S_69161;}
S_69162:;
if ((((*_FUNC_WIKISAFENAME_LONG_C>=( 65 ))&&(*_FUNC_WIKISAFENAME_LONG_C<=( 90 ))))||is_error_pending()){
if(qbevent){evnt(28182,1147,"wiki_methods.bas");if(r)goto S_69162;}
do{
tqbs=_FUNC_WIKISAFENAME_STRING_EXT; if (!is_error_pending()){
tmp_fileno=*_FUNC_WIKISAFENAME_LONG_I; if (!is_error_pending()){
tmp_long= 49 ; if (!is_error_pending()){
if ((tmp_fileno>0)&&(tmp_fileno<=tqbs->len)){tqbs->chr[tmp_fileno-1]=tmp_long;}else{error(5);}
}}}
if(!qbevent)break;evnt(28182,1147,"wiki_methods.bas");}while(r);
sc_ec_484_end:;
goto sc_8029_end;
}
S_69164:;
if ((((*_FUNC_WIKISAFENAME_LONG_C>=( 97 ))&&(*_FUNC_WIKISAFENAME_LONG_C<=( 122 ))))||is_error_pending()){
if(qbevent){evnt(28182,1148,"wiki_methods.bas");if(r)goto S_69164;}
do{
tqbs=_FUNC_WIKISAFENAME_STRING_EXT; if (!is_error_pending()){
tmp_fileno=*_FUNC_WIKISAFENAME_LONG_I; if (!is_error_pending()){
tmp_long= 48 ; if (!is_error_pending()){
if ((tmp_fileno>0)&&(tmp_fileno<=tqbs->len)){tqbs->chr[tmp_fileno-1]=tmp_long;}else{error(5);}
}}}
if(!qbevent)break;evnt(28182,1148,"wiki_methods.bas");}while(r);
sc_ec_485_end:;
goto sc_8029_end;
}
do{
tqbs=_FUNC_WIKISAFENAME_STRING_EXT; if (!is_error_pending()){
tmp_fileno=*_FUNC_WIKISAFENAME_LONG_I; if (!is_error_pending()){
tmp_long=*_FUNC_WIKISAFENAME_LONG_C; if (!is_error_pending()){
if ((tmp_fileno>0)&&(tmp_fileno<=tqbs->len)){tqbs->chr[tmp_fileno-1]=tmp_long;}else{error(5);}
}}}
if(!qbevent)break;evnt(28182,1149,"wiki_methods.bas");}while(r);
sc_8029_end:;
fornext_continue_8026:;
}
fornext_exit_8026:;
do{
qbs_set(_FUNC_WIKISAFENAME_STRING_WIKISAFENAME,qbs_add(qbs_add(_FUNC_WIKISAFENAME_STRING_PAGE,qbs_new_txt_len("_",1)),_FUNC_WIKISAFENAME_STRING_EXT));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,1152,"wiki_methods.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free457.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_WIKISAFENAME_STRING_WIKISAFENAME);return _FUNC_WIKISAFENAME_STRING_WIKISAFENAME;
}
