int32 FUNC_TERM(qbs*_FUNC_TERM_STRING_EXP,void*_FUNC_TERM_UDT_STATE){
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 "data183.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_35252:;
if (( 0ll )||is_error_pending()){
if(qbevent){evnt(24222,487,"const_eval.bas");if(r)goto S_35252;}
do{
sub__echo(qbs_new_txt_len("Term",4));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24222,487,"const_eval.bas");}while(r);
}
S_35255:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_PARSEMOD(_FUNC_TERM_STRING_EXP,(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(24222,488,"const_eval.bas");if(r)goto S_35255;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24222,488,"const_eval.bas");}while(r);
}
do{
if(!qbevent)break;evnt(24222,490,"const_eval.bas");}while(r);
do{
memcpy((((char*)_FUNC_TERM_UDT_NUM)+(0)+ 0),(((char*)_FUNC_TERM_UDT_STATE)+(8)+ 0), 32);
memcpy((((char*)_FUNC_TERM_UDT_NUM)+(0)+ 32),(((char*)_FUNC_TERM_UDT_STATE)+(8)+ 32), 8);
memcpy((((char*)_FUNC_TERM_UDT_NUM)+(0)+ 40),(((char*)_FUNC_TERM_UDT_STATE)+(8)+ 40), 8);
qbs_set(*(qbs**)(((char*)_FUNC_TERM_UDT_NUM)+(0)+ 48), *(qbs**)(((char*)_FUNC_TERM_UDT_STATE)+(8)+ 48));
memcpy((((char*)_FUNC_TERM_UDT_NUM)+(0)+ 56),(((char*)_FUNC_TERM_UDT_STATE)+(8)+ 56), 4);
if(!qbevent)break;evnt(24222,491,"const_eval.bas");}while(r);
S_35260:;
do{
if(qbevent){evnt(24222,493,"const_eval.bas");if(r)goto S_35260;}
do{
qbs_set(_FUNC_TERM_STRING_ELE,FUNC_PEEKNEXTELEMENT(_FUNC_TERM_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ),(int32*)(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (4) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24222,494,"const_eval.bas");}while(r);
S_35262:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_TERM_STRING_ELE,qbs_new_txt_len("+",1))))||is_error_pending()){
if(qbevent){evnt(24222,495,"const_eval.bas");if(r)goto S_35262;}
do{
qbs_set(_FUNC_TERM_STRING_ELE,FUNC_GETNEXTELEMENT(_FUNC_TERM_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ),(int32*)(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (4) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24222,496,"const_eval.bas");}while(r);
S_35264:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_PARSEMOD(_FUNC_TERM_STRING_EXP,(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(24222,497,"const_eval.bas");if(r)goto S_35264;}
do{
SUB_FIXUPERRORMESSAGE((void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ),qbs_new_txt_len("+",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24222,497,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24222,497,"const_eval.bas");}while(r);
}
S_35268:;
if (((*(int32*)(((char*)_FUNC_TERM_UDT_NUM)+(56))&*__LONG_ISFLOAT)|(*(int32*)(((char*)_FUNC_TERM_UDT_STATE)+(64))&*__LONG_ISFLOAT))||is_error_pending()){
if(qbevent){evnt(24222,499,"const_eval.bas");if(r)goto S_35268;}
do{
SUB_PARSENUMSETF((void*)( ((char*)(_FUNC_TERM_UDT_NUM)) + (0) ),&(pass4134=*__LONG_FLOATTYPE-*__LONG_ISPOINTER),&(pass4135=*(long double*)(((char*)_FUNC_TERM_UDT_NUM)+(0))+*(long double*)(((char*)_FUNC_TERM_UDT_STATE)+(8))));
if(!qbevent)break;evnt(24222,500,"const_eval.bas");}while(r);
S_35270:;
}else{
if ((*(int32*)(((char*)_FUNC_TERM_UDT_NUM)+(56))&*__LONG_ISUNSIGNED)|(*(int32*)(((char*)_FUNC_TERM_UDT_STATE)+(64))&*__LONG_ISUNSIGNED)){
if(qbevent){evnt(24222,501,"const_eval.bas");if(r)goto S_35270;}
do{
SUB_PARSENUMSETUI((void*)( ((char*)(_FUNC_TERM_UDT_NUM)) + (0) ),&(pass4136=*__LONG_UINTEGER64TYPE-*__LONG_ISPOINTER),&(pass4137=*(uint64*)(((char*)_FUNC_TERM_UDT_NUM)+(40))+*(uint64*)(((char*)_FUNC_TERM_UDT_STATE)+(48))));
if(!qbevent)break;evnt(24222,502,"const_eval.bas");}while(r);
}else{
do{
SUB_PARSENUMSETI((void*)( ((char*)(_FUNC_TERM_UDT_NUM)) + (0) ),&(pass4138=*__LONG_INTEGER64TYPE-*__LONG_ISPOINTER),&(pass4139=*(int64*)(((char*)_FUNC_TERM_UDT_NUM)+(32))+*(int64*)(((char*)_FUNC_TERM_UDT_STATE)+(40))));
if(!qbevent)break;evnt(24222,504,"const_eval.bas");}while(r);
}
}
S_35275:;
}else{
if (qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_TERM_STRING_ELE,qbs_new_txt_len("-",1)))){
if(qbevent){evnt(24222,506,"const_eval.bas");if(r)goto S_35275;}
do{
qbs_set(_FUNC_TERM_STRING_ELE,FUNC_GETNEXTELEMENT(_FUNC_TERM_STRING_EXP,(int32*)(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ),(int32*)(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (4) )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24222,507,"const_eval.bas");}while(r);
S_35277:;
if ((qbs_cleanup(qbs_tmp_base,-(FUNC_PARSEMOD(_FUNC_TERM_STRING_EXP,(void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ))== 0 )))||is_error_pending()){
if(qbevent){evnt(24222,508,"const_eval.bas");if(r)goto S_35277;}
do{
SUB_FIXUPERRORMESSAGE((void*)( ((char*)(_FUNC_TERM_UDT_STATE)) + (0) ),qbs_new_txt_len("-",1));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(24222,508,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24222,508,"const_eval.bas");}while(r);
}
S_35281:;
if (((*(int32*)(((char*)_FUNC_TERM_UDT_NUM)+(56))&*__LONG_ISFLOAT)|(*(int32*)(((char*)_FUNC_TERM_UDT_STATE)+(64))&*__LONG_ISFLOAT))||is_error_pending()){
if(qbevent){evnt(24222,510,"const_eval.bas");if(r)goto S_35281;}
do{
SUB_PARSENUMSETF((void*)( ((char*)(_FUNC_TERM_UDT_NUM)) + (0) ),&(pass4140=*__LONG_FLOATTYPE-*__LONG_ISPOINTER),&(pass4141=*(long double*)(((char*)_FUNC_TERM_UDT_NUM)+(0))-*(long double*)(((char*)_FUNC_TERM_UDT_STATE)+(8))));
if(!qbevent)break;evnt(24222,511,"const_eval.bas");}while(r);
S_35283:;
}else{
if ((*(int32*)(((char*)_FUNC_TERM_UDT_NUM)+(56))&*__LONG_ISUNSIGNED)|(*(int32*)(((char*)_FUNC_TERM_UDT_STATE)+(64))&*__LONG_ISUNSIGNED)){
if(qbevent){evnt(24222,512,"const_eval.bas");if(r)goto S_35283;}
do{
SUB_PARSENUMSETUI((void*)( ((char*)(_FUNC_TERM_UDT_NUM)) + (0) ),&(pass4142=*__LONG_UINTEGER64TYPE-*__LONG_ISPOINTER),&(pass4143=*(uint64*)(((char*)_FUNC_TERM_UDT_NUM)+(40))-*(uint64*)(((char*)_FUNC_TERM_UDT_STATE)+(48))));
if(!qbevent)break;evnt(24222,513,"const_eval.bas");}while(r);
}else{
do{
SUB_PARSENUMSETI((void*)( ((char*)(_FUNC_TERM_UDT_NUM)) + (0) ),&(pass4144=*__LONG_INTEGER64TYPE-*__LONG_ISPOINTER),&(pass4145=*(int64*)(((char*)_FUNC_TERM_UDT_NUM)+(32))-*(int64*)(((char*)_FUNC_TERM_UDT_STATE)+(40))));
if(!qbevent)break;evnt(24222,515,"const_eval.bas");}while(r);
}
}
}else{
do{
memcpy((((char*)_FUNC_TERM_UDT_STATE)+(8)+ 0),(((char*)_FUNC_TERM_UDT_NUM)+(0)+ 0), 32);
memcpy((((char*)_FUNC_TERM_UDT_STATE)+(8)+ 32),(((char*)_FUNC_TERM_UDT_NUM)+(0)+ 32), 8);
memcpy((((char*)_FUNC_TERM_UDT_STATE)+(8)+ 40),(((char*)_FUNC_TERM_UDT_NUM)+(0)+ 40), 8);
qbs_set(*(qbs**)(((char*)_FUNC_TERM_UDT_STATE)+(8)+ 48), *(qbs**)(((char*)_FUNC_TERM_UDT_NUM)+(0)+ 48));
memcpy((((char*)_FUNC_TERM_UDT_STATE)+(8)+ 56),(((char*)_FUNC_TERM_UDT_NUM)+(0)+ 56), 4);
if(!qbevent)break;evnt(24222,518,"const_eval.bas");}while(r);
do{
*_FUNC_TERM_LONG_TERM= -1 ;
if(!qbevent)break;evnt(24222,519,"const_eval.bas");}while(r);
do{
goto exit_subfunc;
if(!qbevent)break;evnt(24222,520,"const_eval.bas");}while(r);
}
}
dl_continue_4133:;
}while(1);
dl_exit_4133:;
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free183.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;
return *_FUNC_TERM_LONG_TERM;
}
