#line 15685 "qb64pe.bas"
int16 FUNC_UDTFIELDMODETOKEN(qbs*_FUNC_UDTFIELDMODETOKEN_STRING_TOKEN){
#line 15685 "qb64pe.bas"
qbs *tqbs;
#line 15685 "qb64pe.bas"
ptrszint tmp_long;
#line 15685 "qb64pe.bas"
int32 tmp_fileno;
#line 15685 "qb64pe.bas"
uint32 qbs_tmp_base=qbs_tmp_list_nexti;
#line 15685 "qb64pe.bas"
uint8 *tmp_mem_static_pointer=mem_static_pointer;
#line 15685 "qb64pe.bas"
uint32 tmp_cmem_sp=cmem_sp;
#line 15685 "qb64pe.bas"
#include "data15.txt"
#line 15685 "qb64pe.bas"
mem_lock *sf_mem_lock;
#line 15685 "qb64pe.bas"
new_mem_lock();
#line 15685 "qb64pe.bas"
sf_mem_lock=mem_lock_tmp;
#line 15685 "qb64pe.bas"
sf_mem_lock->type=3;
#line 15685 "qb64pe.bas"
libqb_check_stack();
#line 15685 "qb64pe.bas"
if (is_error_pending()) goto exit_subfunc;
#line 15686 "qb64pe.bas"
S_18147:;
#line 15686 "qb64pe.bas"
qbs_set(sc_2120,qbs_ucase(_FUNC_UDTFIELDMODETOKEN_STRING_TOKEN));
#line 15686 "qb64pe.bas"
qbs_cleanup(qbs_tmp_base,0);
#line 15686 "qb64pe.bas"
if(qbevent){evnt(15686);if(r)goto S_18147;}
#line 15687 "qb64pe.bas"
S_18148:;
#line 15687 "qb64pe.bas"
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(sc_2120,qbs_new_txt_len("_STATIC",7))))||is_error_pending()){
#line 15687 "qb64pe.bas"
if(qbevent){evnt(15687);if(r)goto S_18148;}
#line 15688 "qb64pe.bas"
do{
#line 15688 "qb64pe.bas"
*_FUNC_UDTFIELDMODETOKEN_INTEGER_UDTFIELDMODETOKEN= 1 ;
#line 15688 "qb64pe.bas"
if(!qbevent)break;evnt(15688);}while(r);
#line 15689 "qb64pe.bas"
sc_ec_88_end:;
#line 15689 "qb64pe.bas"
goto sc_2120_end;
#line 15689 "qb64pe.bas"
}
#line 15689 "qb64pe.bas"
S_18150:;
#line 15689 "qb64pe.bas"
if ((qbs_cleanup(qbs_tmp_base,qbs_equal(sc_2120,qbs_new_txt_len("_DYNAMIC",8))))||is_error_pending()){
#line 15689 "qb64pe.bas"
if(qbevent){evnt(15689);if(r)goto S_18150;}
#line 15690 "qb64pe.bas"
do{
#line 15690 "qb64pe.bas"
*_FUNC_UDTFIELDMODETOKEN_INTEGER_UDTFIELDMODETOKEN= 2 ;
#line 15690 "qb64pe.bas"
if(!qbevent)break;evnt(15690);}while(r);
#line 15691 "qb64pe.bas"
sc_ec_89_end:;
#line 15691 "qb64pe.bas"
goto sc_2120_end;
#line 15691 "qb64pe.bas"
}
#line 15691 "qb64pe.bas"
sc_2120_end:;
#line 15692 "qb64pe.bas"
exit_subfunc:;
#line 15692 "qb64pe.bas"
free_mem_lock(sf_mem_lock);
#line 15692 "qb64pe.bas"
#include "free15.txt"
#line 15692 "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 15692 "qb64pe.bas"
cmem_sp=tmp_cmem_sp;
#line 15692 "qb64pe.bas"
return *_FUNC_UDTFIELDMODETOKEN_INTEGER_UDTFIELDMODETOKEN;
#line 15692 "qb64pe.bas"
}
