int32 FUNC_IDEGETLINENUMBERBOX(qbs*_FUNC_IDEGETLINENUMBERBOX_STRING_TITLE,int32*_FUNC_IDEGETLINENUMBERBOX_LONG_INITIALVALUE){
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 "data396.txt"
mem_lock *sf_mem_lock;
new_mem_lock();
sf_mem_lock=mem_lock_tmp;
sf_mem_lock->type=3;
libqb_check_stack();
if (is_error_pending()) goto exit_subfunc;
do{
qbs_set(_FUNC_IDEGETLINENUMBERBOX_STRING_A2,qbs__tostr((int32)(*_FUNC_IDEGETLINENUMBERBOX_LONG_INITIALVALUE),NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16288,"ide_methods.bas");}while(r);
S_61752:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_IDEGETLINENUMBERBOX_STRING_A2,qbs_new_txt_len("0",1))))||is_error_pending()){
if(qbevent){evnt(28182,16289,"ide_methods.bas");if(r)goto S_61752;}
do{
qbs_set(_FUNC_IDEGETLINENUMBERBOX_STRING_A2,qbs_new_txt_len("",0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16289,"ide_methods.bas");}while(r);
}
do{
qbs_set(_FUNC_IDEGETLINENUMBERBOX_STRING_V,FUNC_IDEINPUTBOX(_FUNC_IDEGETLINENUMBERBOX_STRING_TITLE,qbs_new_txt_len("#Line",5),_FUNC_IDEGETLINENUMBERBOX_STRING_A2,qbs_new_txt_len("0123456789",10),&(pass7243= 30 ),&(pass7244= 8 ),&(pass7245= 0 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16290,"ide_methods.bas");}while(r);
S_61756:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_FUNC_IDEGETLINENUMBERBOX_STRING_V,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28182,16291,"ide_methods.bas");if(r)goto S_61756;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,16291,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEGETLINENUMBERBOX_LONG_V=qbr(qbs_val<long double>(_FUNC_IDEGETLINENUMBERBOX_STRING_V));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16293,"ide_methods.bas");}while(r);
S_61760:;
if ((-(*_FUNC_IDEGETLINENUMBERBOX_LONG_V< 1 ))||is_error_pending()){
if(qbevent){evnt(28182,16294,"ide_methods.bas");if(r)goto S_61760;}
do{
*_FUNC_IDEGETLINENUMBERBOX_LONG_V= 1 ;
if(!qbevent)break;evnt(28182,16294,"ide_methods.bas");}while(r);
}
S_61763:;
if ((-(*_FUNC_IDEGETLINENUMBERBOX_LONG_V>*__LONG_IDEN))||is_error_pending()){
if(qbevent){evnt(28182,16295,"ide_methods.bas");if(r)goto S_61763;}
do{
*_FUNC_IDEGETLINENUMBERBOX_LONG_V=*__LONG_IDEN;
if(!qbevent)break;evnt(28182,16295,"ide_methods.bas");}while(r);
}
do{
*_FUNC_IDEGETLINENUMBERBOX_LONG_IDEGETLINENUMBERBOX=*_FUNC_IDEGETLINENUMBERBOX_LONG_V;
if(!qbevent)break;evnt(28182,16297,"ide_methods.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free396.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_IDEGETLINENUMBERBOX_LONG_IDEGETLINENUMBERBOX;
}
