#line 17047 "qb64pe.bas"
void SUB_APPENDUDTFILEBOUNDSCHECK(qbs*_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR,int32*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_MEMBER_ID,qbs*_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC){
#line 17047 "qb64pe.bas"
qbs *tqbs;
#line 17047 "qb64pe.bas"
ptrszint tmp_long;
#line 17047 "qb64pe.bas"
int32 tmp_fileno;
#line 17047 "qb64pe.bas"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 17047 "qb64pe.bas"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 17047 "qb64pe.bas"
uint32 tmp_cmem_sp=cmem_sp;
#line 17047 "qb64pe.bas"
#include "data46.txt"
#line 17047 "qb64pe.bas"
mem_lock *sf_mem_lock;
#line 17047 "qb64pe.bas"
new_mem_lock();
#line 17047 "qb64pe.bas"
sf_mem_lock=mem_lock_tmp;
#line 17047 "qb64pe.bas"
sf_mem_lock->type=3;
#line 17047 "qb64pe.bas"
libqb_check_stack();
#line 17047 "qb64pe.bas"
if (is_error_pending()) goto exit_subfunc;
#line 17048 "qb64pe.bas"
do{
#line 17048 "qb64pe.bas"
if(!qbevent)break;evnt(17048);}while(r);
#line 17049 "qb64pe.bas"
do{
#line 17049 "qb64pe.bas"
if(!qbevent)break;evnt(17049);}while(r);
#line 17050 "qb64pe.bas"
do{
#line 17050 "qb64pe.bas"
if(!qbevent)break;evnt(17050);}while(r);
#line 17051 "qb64pe.bas"
do{
#line 17051 "qb64pe.bas"
if(!qbevent)break;evnt(17051);}while(r);
#line 17052 "qb64pe.bas"
do{
#line 17052 "qb64pe.bas"
if(!qbevent)break;evnt(17052);}while(r);
#line 17053 "qb64pe.bas"
do{
#line 17053 "qb64pe.bas"
if(!qbevent)break;evnt(17053);}while(r);
#line 17054 "qb64pe.bas"
do{
#line 17054 "qb64pe.bas"
if(!qbevent)break;evnt(17054);}while(r);
#line 17056 "qb64pe.bas"
do{
#line 17056 "qb64pe.bas"
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR,qbs_add(func_chr( 13 ),func_chr( 10 )));
#line 17056 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17056 "qb64pe.bas"
if(!qbevent)break;evnt(17056);}while(r);
#line 17057 "qb64pe.bas"
do{
#line 17057 "qb64pe.bas"
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT=((int32*)(__ARRAY_LONG_UDTEARRAYDIMS[0]))[array_check((*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_MEMBER_ID)-__ARRAY_LONG_UDTEARRAYDIMS[4],__ARRAY_LONG_UDTEARRAYDIMS[5])];
#line 17057 "qb64pe.bas"
if(!qbevent)break;evnt(17057);}while(r);
#line 17058 "qb64pe.bas"
do{
#line 17058 "qb64pe.bas"
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR),qbs_new_txt_len("if ((!",6)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len(")||(",4)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[3]!=",5)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT),NULL,0)),qbs_new_txt_len(")) error(9);",12)));
#line 17058 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17058 "qb64pe.bas"
if(!qbevent)break;evnt(17058);}while(r);
#line 17059 "qb64pe.bas"
do{
#line 17059 "qb64pe.bas"
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DESC_SCAN= 1 ;
#line 17059 "qb64pe.bas"
if(!qbevent)break;evnt(17059);}while(r);
#line 17060 "qb64pe.bas"
S_19559:;
#line 17060 "qb64pe.bas"
fornext_value2313= 1 ;
#line 17060 "qb64pe.bas"
fornext_finalvalue2313=*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT;
#line 17060 "qb64pe.bas"
fornext_step2313= 1 ;
#line 17060 "qb64pe.bas"
if (fornext_step2313<0) fornext_step_negative2313=1; else fornext_step_negative2313=0;
#line 17060 "qb64pe.bas"
if (is_error_pending()) goto fornext_error2313;
#line 17060 "qb64pe.bas"
goto fornext_entrylabel2313;
#line 17060 "qb64pe.bas"
while(1){
#line 17060 "qb64pe.bas"
fornext_value2313=fornext_step2313+(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_INDEX);
#line 17060 "qb64pe.bas"
fornext_entrylabel2313:
#line 17060 "qb64pe.bas"
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_INDEX=fornext_value2313;
#line 17060 "qb64pe.bas"
if (fornext_step_negative2313){
#line 17060 "qb64pe.bas"
if (fornext_value2313<fornext_finalvalue2313) break;
#line 17060 "qb64pe.bas"
}else{
#line 17060 "qb64pe.bas"
if (fornext_value2313>fornext_finalvalue2313) break;
#line 17060 "qb64pe.bas"
}
#line 17060 "qb64pe.bas"
fornext_error2313:;
#line 17060 "qb64pe.bas"
if(qbevent){evnt(17060);if(r)goto S_19559;}
#line 17061 "qb64pe.bas"
S_19560:;
#line 17061 "qb64pe.bas"
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_PARSENEXTUDTARRAYDESCRIPTORDIM((((qbs**)(__ARRAY_STRING_UDTEARRAYDESC[0]))[array_check((*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_MEMBER_ID)-__ARRAY_STRING_UDTEARRAYDESC[4],__ARRAY_STRING_UDTEARRAYDESC[5])]),_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DESC_SCAN,_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_LOWER,_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_ELEM_COUNT)== 0 )))||is_error_pending()){
#line 17061 "qb64pe.bas"
if(qbevent){evnt(17061);if(r)goto S_19560;}
#line 17062 "qb64pe.bas"
do{
#line 17062 "qb64pe.bas"
SUB_GIVE_ERROR(qbs_new_txt_len("Cannot process the declared bounds of this TYPE member array",60));
#line 17062 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17062 "qb64pe.bas"
if(!qbevent)break;evnt(17062);}while(r);
#line 17063 "qb64pe.bas"
do{
#line 17063 "qb64pe.bas"
goto exit_subfunc;
#line 17063 "qb64pe.bas"
if(!qbevent)break;evnt(17063);}while(r);
#line 17064 "qb64pe.bas"
}
#line 17065 "qb64pe.bas"
do{
#line 17065 "qb64pe.bas"
*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_SLOT_INDEX=((*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_COUNT-*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_INDEX)* 4 )+( 4 );
#line 17065 "qb64pe.bas"
if(!qbevent)break;evnt(17065);}while(r);
#line 17066 "qb64pe.bas"
do{
#line 17066 "qb64pe.bas"
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR),qbs_new_txt_len("if ((",5)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[",1)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_SLOT_INDEX),NULL,0)),qbs_new_txt_len("]!=",3)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_DIM_LOWER),NULL,0)),qbs_new_txt_len(")||(",4)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[",1)),qbs__tostr((int64)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_SLOT_INDEX+ 1 ),NULL,0)),qbs_new_txt_len("]!=",3)),qbs__tostr((int32)(*_SUB_APPENDUDTFILEBOUNDSCHECK_LONG_ELEM_COUNT),NULL,0)),qbs_new_txt_len(")) error(9);",12)));
#line 17066 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17066 "qb64pe.bas"
if(!qbevent)break;evnt(17066);}while(r);
#line 17067 "qb64pe.bas"
fornext_continue_2312:;
#line 17067 "qb64pe.bas"
}
#line 17067 "qb64pe.bas"
fornext_exit_2312:;
#line 17068 "qb64pe.bas"
do{
#line 17068 "qb64pe.bas"
qbs_set(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(qbs_add(_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_ACC,_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_CR),qbs_new_txt_len("if ((!",6)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[0])||(",7)),_SUB_APPENDUDTFILEBOUNDSCHECK_STRING_DESC_EXPR),qbs_new_txt_len("[0]==(ptrszint)nothingvalue)) error(9);",39)));
#line 17068 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 17068 "qb64pe.bas"
if(!qbevent)break;evnt(17068);}while(r);
#line 17069 "qb64pe.bas"
exit_subfunc:;
#line 17069 "qb64pe.bas"
free_mem_lock(sf_mem_lock);
#line 17069 "qb64pe.bas"
#include "free46.txt"
#line 17069 "qb64pe.bas"
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;
#line 17069 "qb64pe.bas"
cmem_sp=tmp_cmem_sp;
#line 17069 "qb64pe.bas"
}
