void SUB_IDESETTCPPORTBOX(){
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 "data395.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(_SUB_IDESETTCPPORTBOX_STRING_A2,qbs__tostr((int32)(*__LONG_IDEBASETCPPORT),NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16278,"ide_methods.bas");}while(r);
do{
qbs_set(_SUB_IDESETTCPPORTBOX_STRING_V,FUNC_IDEINPUTBOX(qbs_new_txt_len("Base TCP/IP Port Number",23),qbs_new_txt_len("#Port number for $DEBUG mode",28),_SUB_IDESETTCPPORTBOX_STRING_A2,qbs_new_txt_len("0123456789",10),&(pass7239= 45 ),&(pass7240= 5 ),&(pass7241= 0 )));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16279,"ide_methods.bas");}while(r);
S_61743:;
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(_SUB_IDESETTCPPORTBOX_STRING_V,qbs_new_txt_len("",0))))||is_error_pending()){
if(qbevent){evnt(28182,16280,"ide_methods.bas");if(r)goto S_61743;}
do{
goto exit_subfunc;
if(!qbevent)break;evnt(28182,16280,"ide_methods.bas");}while(r);
}
do{
*__LONG_IDEBASETCPPORT=qbr(qbs_val<long double>(_SUB_IDESETTCPPORTBOX_STRING_V));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16282,"ide_methods.bas");}while(r);
S_61747:;
if ((-(*__LONG_IDEBASETCPPORT== 0 ))||is_error_pending()){
if(qbevent){evnt(28182,16283,"ide_methods.bas");if(r)goto S_61747;}
do{
*__LONG_IDEBASETCPPORT= 9000 ;
if(!qbevent)break;evnt(28182,16283,"ide_methods.bas");}while(r);
}
do{
SUB_WRITECONFIGSETTING(__STRING_DEBUGSETTINGSSECTION,qbs_new_txt_len("BaseTCPPort",11),qbs__tostr((int32)(*__LONG_IDEBASETCPPORT),NULL,0));
qbs_cleanup(qbs_tmp_base,0);
if(!qbevent)break;evnt(28182,16284,"ide_methods.bas");}while(r);
exit_subfunc:;
free_mem_lock(sf_mem_lock);
#include "free395.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;
}
