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 "data382.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_WIKISAFENAME_STRING_EXT,func_space(_FUNC_WIKISAFENAME_STRING_PAGE->len));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,1137,"wiki_methods.bas");}while(r);
S_62794:;
fornext_value7084= 1 ;
fornext_finalvalue7084=_FUNC_WIKISAFENAME_STRING_PAGE->len;
fornext_step7084= 1 ;
if (fornext_step7084<0) fornext_step_negative7084=1; else fornext_step_negative7084=0;
if (is_error_pending()) goto fornext_error7084;
goto fornext_entrylabel7084;
while(1){
fornext_value7084=fornext_step7084+(*_FUNC_WIKISAFENAME_LONG_I);
fornext_entrylabel7084:
*_FUNC_WIKISAFENAME_LONG_I=fornext_value7084;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative7084){
if (fornext_value7084<fornext_finalvalue7084) break;
}else{
if (fornext_value7084>fornext_finalvalue7084) break;
}
fornext_error7084:;
if(qbevent){evnt(24235,1138,"wiki_methods.bas");if(r)goto S_62794;}
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(24235,1139,"wiki_methods.bas");}while(r);
S_62796:;
if(qbevent){evnt(24235,1140,"wiki_methods.bas");if(r)goto S_62796;}
S_62797:;
if ((((*_FUNC_WIKISAFENAME_LONG_C>=( 65 ))&&(*_FUNC_WIKISAFENAME_LONG_C<=( 90 ))))||is_error_pending()){
if(qbevent){evnt(24235,1141,"wiki_methods.bas");if(r)goto S_62797;}
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(24235,1141,"wiki_methods.bas");}while(r);
sc_ec_476_end:;
goto sc_7086_end;
}
S_62799:;
if ((((*_FUNC_WIKISAFENAME_LONG_C>=( 97 ))&&(*_FUNC_WIKISAFENAME_LONG_C<=( 122 ))))||is_error_pending()){
if(qbevent){evnt(24235,1142,"wiki_methods.bas");if(r)goto S_62799;}
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(24235,1142,"wiki_methods.bas");}while(r);
sc_ec_477_end:;
goto sc_7086_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(24235,1143,"wiki_methods.bas");}while(r);
sc_7086_end:;
fornext_continue_7083:;
}
fornext_exit_7083:;
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(24235,1146,"wiki_methods.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free382.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;
}
