void SUB_SORT(ptrszint*_SUB_SORT_ARRAY_STRING998_ARR){
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 "data350.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;
S_60435:;
fornext_value6737=func_lbound(_SUB_SORT_ARRAY_STRING998_ARR,1,1)+ 1 ;
fornext_finalvalue6737=func_ubound(_SUB_SORT_ARRAY_STRING998_ARR,1,1);
fornext_step6737= 1 ;
if (fornext_step6737<0) fornext_step_negative6737=1; else fornext_step_negative6737=0;
if (is_error_pending()) goto fornext_error6737;
goto fornext_entrylabel6737;
while(1){
fornext_value6737=fornext_step6737+(*_SUB_SORT_LONG_I);
fornext_entrylabel6737:
*_SUB_SORT_LONG_I=fornext_value6737;
qbs_cleanup(qbs_tmp_base,0);
if (fornext_step_negative6737){
if (fornext_value6737<fornext_finalvalue6737) break;
}else{
if (fornext_value6737>fornext_finalvalue6737) break;
}
fornext_error6737:;
if(qbevent){evnt(24235,20111,"ide_methods.bas");if(r)goto S_60435;}
do{
qbs_set(_SUB_SORT_STRING_X,qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[(array_check((*_SUB_SORT_LONG_I)-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]))*998],998,1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20112,"ide_methods.bas");}while(r);
do{
*_SUB_SORT_LONG_J=*_SUB_SORT_LONG_I- 1 ;
if(!qbevent)break;evnt(24235,20113,"ide_methods.bas");}while(r);
S_60438:;
while((qbs_cleanup(qbs_tmp_base,-(*_SUB_SORT_LONG_J>=func_lbound(_SUB_SORT_ARRAY_STRING998_ARR,1,1))))||is_error_pending()){
if(qbevent){evnt(24235,20114,"ide_methods.bas");if(r)goto S_60438;}
S_60439:;
if ((qbs_cleanup(qbs_tmp_base,qbs_lessorequal(qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[(array_check((*_SUB_SORT_LONG_J)-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]))*998],998,1),_SUB_SORT_STRING_X)))||is_error_pending()){
if(qbevent){evnt(24235,20115,"ide_methods.bas");if(r)goto S_60439;}
do{
goto ww_exit_6738;
if(!qbevent)break;evnt(24235,20115,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*_SUB_SORT_LONG_J+ 1 )-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]);
if (!is_error_pending()) qbs_set(qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[tmp_long*998],998,1),qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[(array_check((*_SUB_SORT_LONG_J)-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]))*998],998,1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20116,"ide_methods.bas");}while(r);
do{
*_SUB_SORT_LONG_J=*_SUB_SORT_LONG_J- 1 ;
if(!qbevent)break;evnt(24235,20117,"ide_methods.bas");}while(r);
ww_continue_6738:;
}
ww_exit_6738:;
do{
tmp_long=array_check((*_SUB_SORT_LONG_J+ 1 )-_SUB_SORT_ARRAY_STRING998_ARR[4],_SUB_SORT_ARRAY_STRING998_ARR[5]);
if (!is_error_pending()) qbs_set(qbs_new_fixed(&((uint8*)(_SUB_SORT_ARRAY_STRING998_ARR[0]))[tmp_long*998],998,1),_SUB_SORT_STRING_X);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20119,"ide_methods.bas");}while(r);
fornext_continue_6736:;
}
fornext_exit_6736:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free350.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;
}
