void SUB_LOADCOLORSCHEMES(){
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 "data358.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{
if(!qbevent)break;evnt(24235,20342,"ide_methods.bas");}while(r);
do{
*__INTEGER_PRESETCOLORSCHEMES= 14 ;
if(!qbevent)break;evnt(24235,20348,"ide_methods.bas");}while(r);
do{

if (__ARRAY_STRING_COLORSCHEMES[2]&2){
error(10);
}else{
((mem_lock*)((ptrszint*)__ARRAY_STRING_COLORSCHEMES)[8])->id=(++mem_lock_id);
if (__ARRAY_STRING_COLORSCHEMES[2]&1){
tmp_long=__ARRAY_STRING_COLORSCHEMES[5];
while(tmp_long--) qbs_free((qbs*)((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]);
free((void*)(__ARRAY_STRING_COLORSCHEMES[0]));
}
__ARRAY_STRING_COLORSCHEMES[4]= 1 ;
__ARRAY_STRING_COLORSCHEMES[5]=(*__INTEGER_PRESETCOLORSCHEMES)-__ARRAY_STRING_COLORSCHEMES[4]+1;
__ARRAY_STRING_COLORSCHEMES[6]=1;
__ARRAY_STRING_COLORSCHEMES[0]=(ptrszint)malloc(__ARRAY_STRING_COLORSCHEMES[5]*8);
if (!__ARRAY_STRING_COLORSCHEMES[0]) error(257);
__ARRAY_STRING_COLORSCHEMES[2]|=1;
tmp_long=__ARRAY_STRING_COLORSCHEMES[5];
if (__ARRAY_STRING_COLORSCHEMES[2]&4){
while(tmp_long--) ((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
}else{
while(tmp_long--) ((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]=(uint64)qbs_new(0,0);
}
}
if(!qbevent)break;evnt(24235,20349,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I= 0 ;
if(!qbevent)break;evnt(24235,20349,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20350,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Super Dark Blue|216216216069118147216098078255167000085206085098098098000000039000049078000088108170170170",106));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20350,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20351,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Dark Blue|226226226069147216245128177255177000085255085049196196000000069000068108000147177170170170",100));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20351,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20352,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("QB64 Original|226226226147196235245128177255255085085255085085255255000000170000108177000147177170170170",104));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20352,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20353,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Classic QB4.5|177177177177177177177177177177177177177177177177177177000000170000000170000147177170170170",104));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20353,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20354,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Dark Side|255255255206206000245010098000177000085255085049186245011022029100100100000147177170170170",100));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20354,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20355,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Camouflage|196196196255255255245128177255177000137177147147137020000039029098069020000147177170170170",101));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20355,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20356,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Plum|186186186255255255245128177255108000085186078085186255059000059088088128000147177170170170",95));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20356,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20357,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Cornfield|255255180065130255255130065065255130255130255190160130100080060110090070170000000200200130",100));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20357,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20358,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("CF Dark|226226226115222227255043138255178034185237049157118137043045037010000020088088088170170170",98));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20358,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20359,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Broadcast|228224220034085170221068051238238068221136000051153034024024024036036036034136170170170170",100));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20359,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20360,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("VS Code|212212212086156214212099162206145120070201176106153085031031031040040040034136170170170170",98));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20360,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20361,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("X11 SgiColors|197193170113113198198113113142142056113198113085085085024024024036036036142056142170170170",104));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20361,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20362,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("Light Green|051051051000000216245128177255157255147177093206206206234255234206255206000147177170170170",102));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20362,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20363,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*_SUB_LOADCOLORSCHEMES_LONG_I)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("All White|051051051000000216245128177206147000059177000206206206255255255245245245000147177170170170",100));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20363,"ide_methods.bas");}while(r);
do{
*__INTEGER_TOTALCOLORSCHEMES=*__INTEGER_PRESETCOLORSCHEMES;
if(!qbevent)break;evnt(24235,20364,"ide_methods.bas");}while(r);
do{
*__INTEGER_LASTVALIDCOLORSCHEME=*__INTEGER_TOTALCOLORSCHEMES;
if(!qbevent)break;evnt(24235,20365,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_I= 0 ;
if(!qbevent)break;evnt(24235,20368,"ide_methods.bas");}while(r);
S_60691:;
do{
if(qbevent){evnt(24235,20369,"ide_methods.bas");if(r)goto S_60691;}
do{
*_SUB_LOADCOLORSCHEMES_LONG_I=*_SUB_LOADCOLORSCHEMES_LONG_I+ 1 ;
if(!qbevent)break;evnt(24235,20370,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_RESULT=FUNC_READCONFIGSETTING(__STRING_COLORSCHEMESSECTION,qbs_add(qbs_add(qbs_new_txt_len("Scheme",6),qbs__tostr((int32)(*_SUB_LOADCOLORSCHEMES_LONG_I),NULL,0)),qbs_new_txt_len("$",1)),_SUB_LOADCOLORSCHEMES_STRING_VALUE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20371,"ide_methods.bas");}while(r);
S_60694:;
if ((*_SUB_LOADCOLORSCHEMES_LONG_RESULT)||is_error_pending()){
if(qbevent){evnt(24235,20372,"ide_methods.bas");if(r)goto S_60694;}
do{
*__INTEGER_TOTALCOLORSCHEMES=*__INTEGER_TOTALCOLORSCHEMES+ 1 ;
if(!qbevent)break;evnt(24235,20373,"ide_methods.bas");}while(r);
S_60696:;
if ((qbs_cleanup(qbs_tmp_base,-(*__INTEGER_TOTALCOLORSCHEMES>func_ubound(__ARRAY_STRING_COLORSCHEMES,1,1))))||is_error_pending()){
if(qbevent){evnt(24235,20374,"ide_methods.bas");if(r)goto S_60696;}
do{

if (__ARRAY_STRING_COLORSCHEMES[2]&2){
error(10);
}else{
((mem_lock*)((ptrszint*)__ARRAY_STRING_COLORSCHEMES)[8])->id=(++mem_lock_id);
static int32 preserved_elements;
if (__ARRAY_STRING_COLORSCHEMES[2]&1){
preserved_elements=__ARRAY_STRING_COLORSCHEMES[5];
}
else preserved_elements=0;
__ARRAY_STRING_COLORSCHEMES[4]= 1 ;
__ARRAY_STRING_COLORSCHEMES[5]=(func_ubound(__ARRAY_STRING_COLORSCHEMES,1,1)+ 10 )-__ARRAY_STRING_COLORSCHEMES[4]+1;
__ARRAY_STRING_COLORSCHEMES[6]=1;
if (preserved_elements){
static ptrszint tmp_long2;
tmp_long2=__ARRAY_STRING_COLORSCHEMES[5];
if (tmp_long2<preserved_elements){
for(tmp_long=tmp_long2;tmp_long<preserved_elements;tmp_long++) {
qbs_free((qbs*)((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]);
}}
__ARRAY_STRING_COLORSCHEMES[0]=(ptrszint)realloc((void*)(__ARRAY_STRING_COLORSCHEMES[0]),tmp_long2*8);
if (!__ARRAY_STRING_COLORSCHEMES[0]) error(257);
if (preserved_elements<tmp_long2){
for(tmp_long=preserved_elements;tmp_long<tmp_long2;tmp_long++){
if (__ARRAY_STRING_COLORSCHEMES[2]&4){
((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
}else{
((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]=(uint64)qbs_new(0,0);
}
}
}
}else{
__ARRAY_STRING_COLORSCHEMES[0]=(ptrszint)malloc(__ARRAY_STRING_COLORSCHEMES[5]*8);
if (!__ARRAY_STRING_COLORSCHEMES[0]) error(257);
__ARRAY_STRING_COLORSCHEMES[2]|=1;
tmp_long=__ARRAY_STRING_COLORSCHEMES[5];
if (__ARRAY_STRING_COLORSCHEMES[2]&4){
while(tmp_long--) ((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]=(uint64)qbs_new_cmem(0,0);
}else{
while(tmp_long--) ((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long]=(uint64)qbs_new(0,0);
}
}
}
if(!qbevent)break;evnt(24235,20375,"ide_methods.bas");}while(r);
}
do{
tmp_long=array_check((*__INTEGER_TOTALCOLORSCHEMES)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),_SUB_LOADCOLORSCHEMES_STRING_VALUE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20377,"ide_methods.bas");}while(r);
do{
*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE=func_instr(NULL,_SUB_LOADCOLORSCHEMES_STRING_VALUE,qbs_new_txt_len("|",1),0);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20378,"ide_methods.bas");}while(r);
S_60701:;
if ((-(*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE> 0 ))||is_error_pending()){
if(qbevent){evnt(24235,20379,"ide_methods.bas");if(r)goto S_60701;}
S_60702:;
if ((qbs_cleanup(qbs_tmp_base,-(((int32)(func_mid(_SUB_LOADCOLORSCHEMES_STRING_VALUE,*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE+ 1 ,NULL,0))->len)== 81 )))||is_error_pending()){
if(qbevent){evnt(24235,20380,"ide_methods.bas");if(r)goto S_60702;}
do{
*__INTEGER_LASTVALIDCOLORSCHEME=*__INTEGER_TOTALCOLORSCHEMES;
if(!qbevent)break;evnt(24235,20382,"ide_methods.bas");}while(r);
do{
qbs_set(_SUB_LOADCOLORSCHEMES_STRING_VALUE,qbs_add(_SUB_LOADCOLORSCHEMES_STRING_VALUE,qbs_new_txt_len("170170170",9)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20383,"ide_methods.bas");}while(r);
do{
SUB_WRITECONFIGSETTING(__STRING_COLORSCHEMESSECTION,qbs_add(qbs_add(qbs_new_txt_len("Scheme",6),qbs__tostr((int32)(*_SUB_LOADCOLORSCHEMES_LONG_I),NULL,0)),qbs_new_txt_len("$",1)),_SUB_LOADCOLORSCHEMES_STRING_VALUE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20384,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*__INTEGER_TOTALCOLORSCHEMES)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),_SUB_LOADCOLORSCHEMES_STRING_VALUE);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20385,"ide_methods.bas");}while(r);
S_60707:;
}else{
if (qbs_cleanup(qbs_tmp_base,-(((int32)(func_mid(_SUB_LOADCOLORSCHEMES_STRING_VALUE,*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE+ 1 ,NULL,0))->len)== 90 ))){
if(qbevent){evnt(24235,20386,"ide_methods.bas");if(r)goto S_60707;}
do{
*__INTEGER_LASTVALIDCOLORSCHEME=*__INTEGER_TOTALCOLORSCHEMES;
if(!qbevent)break;evnt(24235,20388,"ide_methods.bas");}while(r);
S_60709:;
}else{
if (qbs_cleanup(qbs_tmp_base,-(((int32)(func_mid(_SUB_LOADCOLORSCHEMES_STRING_VALUE,*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE+ 1 ,NULL,0))->len)== 54 ))){
if(qbevent){evnt(24235,20389,"ide_methods.bas");if(r)goto S_60709;}
do{
qbs_set(_SUB_LOADCOLORSCHEMES_STRING_TEMP,qbs_left(_SUB_LOADCOLORSCHEMES_STRING_VALUE,*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20392,"ide_methods.bas");}while(r);
do{
qbs_set(_SUB_LOADCOLORSCHEMES_STRING_TEMP,qbs_add(qbs_add(_SUB_LOADCOLORSCHEMES_STRING_TEMP,func_mid(_SUB_LOADCOLORSCHEMES_STRING_VALUE,*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE+ 1 , 9 ,0|1)),qbs_new_txt_len("069147216245128177",18)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20393,"ide_methods.bas");}while(r);
do{
qbs_set(_SUB_LOADCOLORSCHEMES_STRING_TEMP,qbs_add(qbs_add(_SUB_LOADCOLORSCHEMES_STRING_TEMP,func_mid(_SUB_LOADCOLORSCHEMES_STRING_VALUE,*_SUB_LOADCOLORSCHEMES_LONG_FOUNDPIPE+ 10 ,NULL,0)),qbs_new_txt_len("000147177170170170",18)));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20394,"ide_methods.bas");}while(r);
do{
tmp_long=array_check((*__INTEGER_TOTALCOLORSCHEMES)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),_SUB_LOADCOLORSCHEMES_STRING_TEMP);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20395,"ide_methods.bas");}while(r);
do{
SUB_WRITECONFIGSETTING(__STRING_COLORSCHEMESSECTION,qbs_add(qbs_add(qbs_new_txt_len("Scheme",6),qbs__tostr((int32)(*_SUB_LOADCOLORSCHEMES_LONG_I),NULL,0)),qbs_new_txt_len("$",1)),_SUB_LOADCOLORSCHEMES_STRING_TEMP);
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20396,"ide_methods.bas");}while(r);
do{
*__INTEGER_LASTVALIDCOLORSCHEME=*__INTEGER_TOTALCOLORSCHEMES;
if(!qbevent)break;evnt(24235,20397,"ide_methods.bas");}while(r);
}else{
do{
goto LABEL_DISCARDINVALID;
if(!qbevent)break;evnt(24235,20399,"ide_methods.bas");}while(r);
}
}
}
}else{
LABEL_DISCARDINVALID:;
if(qbevent){evnt(24235,20402,"ide_methods.bas");r=0;}
do{
tmp_long=array_check((*__INTEGER_TOTALCOLORSCHEMES)-__ARRAY_STRING_COLORSCHEMES[4],__ARRAY_STRING_COLORSCHEMES[5]);
if (!is_error_pending()) qbs_set( ((qbs*)(((uint64*)(__ARRAY_STRING_COLORSCHEMES[0]))[tmp_long])),qbs_new_txt_len("0",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24235,20403,"ide_methods.bas");}while(r);
}
}else{
do{
goto dl_exit_6761;
if(!qbevent)break;evnt(24235,20407,"ide_methods.bas");}while(r);
}
dl_continue_6761:;
}while(1);
dl_exit_6761:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free358.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;
}
