mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-18 20:55:09 +00:00
169 lines
5.9 KiB
Text
169 lines
5.9 KiB
Text
|
qbs*oldstr4015=NULL;
|
||
|
if(_SUB_IDENEWSF_STRING_SF->tmp||_SUB_IDENEWSF_STRING_SF->fixed||_SUB_IDENEWSF_STRING_SF->readonly){
|
||
|
oldstr4015=_SUB_IDENEWSF_STRING_SF;
|
||
|
if (oldstr4015->cmem_descriptor){
|
||
|
_SUB_IDENEWSF_STRING_SF=qbs_new_cmem(oldstr4015->len,0);
|
||
|
}else{
|
||
|
_SUB_IDENEWSF_STRING_SF=qbs_new(oldstr4015->len,0);
|
||
|
}
|
||
|
memcpy(_SUB_IDENEWSF_STRING_SF->chr,oldstr4015->chr,oldstr4015->len);
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_FOCUS=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_FOCUS==NULL){
|
||
|
_SUB_IDENEWSF_LONG_FOCUS=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_FOCUS=0;
|
||
|
}
|
||
|
void *_SUB_IDENEWSF_UDT_P=NULL;
|
||
|
if(_SUB_IDENEWSF_UDT_P==NULL){
|
||
|
_SUB_IDENEWSF_UDT_P=(void*)mem_static_malloc(20);
|
||
|
memset(_SUB_IDENEWSF_UDT_P,0,20);
|
||
|
}
|
||
|
ptrszint *_SUB_IDENEWSF_ARRAY_UDT_O=NULL;
|
||
|
if (!_SUB_IDENEWSF_ARRAY_UDT_O){
|
||
|
_SUB_IDENEWSF_ARRAY_UDT_O=(ptrszint*)mem_static_malloc(9*ptrsz);
|
||
|
new_mem_lock();
|
||
|
mem_lock_tmp->type=4;
|
||
|
((ptrszint*)_SUB_IDENEWSF_ARRAY_UDT_O)[8]=(ptrszint)mem_lock_tmp;
|
||
|
_SUB_IDENEWSF_ARRAY_UDT_O[2]=0;
|
||
|
_SUB_IDENEWSF_ARRAY_UDT_O[4]=2147483647;
|
||
|
_SUB_IDENEWSF_ARRAY_UDT_O[5]=0;
|
||
|
_SUB_IDENEWSF_ARRAY_UDT_O[6]=0;
|
||
|
_SUB_IDENEWSF_ARRAY_UDT_O[0]=(ptrszint)nothingvalue;
|
||
|
}
|
||
|
void *_SUB_IDENEWSF_UDT_OO=NULL;
|
||
|
if(_SUB_IDENEWSF_UDT_OO==NULL){
|
||
|
_SUB_IDENEWSF_UDT_OO=(void*)mem_static_malloc(80);
|
||
|
memset(_SUB_IDENEWSF_UDT_OO,0,80);
|
||
|
}
|
||
|
qbs *_SUB_IDENEWSF_STRING1_SEP=NULL;
|
||
|
if(_SUB_IDENEWSF_STRING1_SEP==NULL){
|
||
|
_SUB_IDENEWSF_STRING1_SEP=qbs_new_fixed((uint8*)mem_static_malloc(1),1,0);
|
||
|
memset(_SUB_IDENEWSF_STRING1_SEP->chr,0,1);
|
||
|
}
|
||
|
qbs *_SUB_IDENEWSF_STRING_A=NULL;
|
||
|
if (!_SUB_IDENEWSF_STRING_A)_SUB_IDENEWSF_STRING_A=qbs_new(0,0);
|
||
|
qbs *_SUB_IDENEWSF_STRING_A2=NULL;
|
||
|
if (!_SUB_IDENEWSF_STRING_A2)_SUB_IDENEWSF_STRING_A2=qbs_new(0,0);
|
||
|
int32 *_SUB_IDENEWSF_LONG_SX1=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_SX1==NULL){
|
||
|
_SUB_IDENEWSF_LONG_SX1=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_SX1=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_SX2=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_SX2==NULL){
|
||
|
_SUB_IDENEWSF_LONG_SX2=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_SX2=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_X=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_X==NULL){
|
||
|
_SUB_IDENEWSF_LONG_X=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_X=0;
|
||
|
}
|
||
|
int64 fornext_value4017;
|
||
|
int64 fornext_finalvalue4017;
|
||
|
int64 fornext_step4017;
|
||
|
uint8 fornext_step_negative4017;
|
||
|
byte_element_struct *byte_element_4018=NULL;
|
||
|
if (!byte_element_4018){
|
||
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4018=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4018=(byte_element_struct*)mem_static_malloc(12);
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_I=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_I==NULL){
|
||
|
_SUB_IDENEWSF_LONG_I=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_I=0;
|
||
|
}
|
||
|
int32 pass4019;
|
||
|
int32 pass4020;
|
||
|
byte_element_struct *byte_element_4021=NULL;
|
||
|
if (!byte_element_4021){
|
||
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4021=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4021=(byte_element_struct*)mem_static_malloc(12);
|
||
|
}
|
||
|
int64 fornext_value4023;
|
||
|
int64 fornext_finalvalue4023;
|
||
|
int64 fornext_step4023;
|
||
|
uint8 fornext_step_negative4023;
|
||
|
int32 *_SUB_IDENEWSF_LONG_F=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_F==NULL){
|
||
|
_SUB_IDENEWSF_LONG_F=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_F=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_CX=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_CX==NULL){
|
||
|
_SUB_IDENEWSF_LONG_CX=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_CX=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_CY=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_CY==NULL){
|
||
|
_SUB_IDENEWSF_LONG_CY=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_CY=0;
|
||
|
}
|
||
|
int64 fornext_value4026;
|
||
|
int64 fornext_finalvalue4026;
|
||
|
int64 fornext_step4026;
|
||
|
uint8 fornext_step_negative4026;
|
||
|
int32 *_SUB_IDENEWSF_LONG_LASTFOCUS=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_LASTFOCUS==NULL){
|
||
|
_SUB_IDENEWSF_LONG_LASTFOCUS=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_LASTFOCUS=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_CHANGE=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_CHANGE==NULL){
|
||
|
_SUB_IDENEWSF_LONG_CHANGE=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_CHANGE=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_MOUSEDOWN=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_MOUSEDOWN==NULL){
|
||
|
_SUB_IDENEWSF_LONG_MOUSEDOWN=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_MOUSEDOWN=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_MOUSEUP=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_MOUSEUP==NULL){
|
||
|
_SUB_IDENEWSF_LONG_MOUSEUP=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_MOUSEUP=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_ALT=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_ALT==NULL){
|
||
|
_SUB_IDENEWSF_LONG_ALT=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_ALT=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_OLDALT=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_OLDALT==NULL){
|
||
|
_SUB_IDENEWSF_LONG_OLDALT=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_OLDALT=0;
|
||
|
}
|
||
|
qbs *_SUB_IDENEWSF_STRING_ALTLETTER=NULL;
|
||
|
if (!_SUB_IDENEWSF_STRING_ALTLETTER)_SUB_IDENEWSF_STRING_ALTLETTER=qbs_new(0,0);
|
||
|
byte_element_struct *byte_element_4028=NULL;
|
||
|
if (!byte_element_4028){
|
||
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4028=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4028=(byte_element_struct*)mem_static_malloc(12);
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_K=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_K==NULL){
|
||
|
_SUB_IDENEWSF_LONG_K=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_K=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_INFO=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_INFO==NULL){
|
||
|
_SUB_IDENEWSF_LONG_INFO=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_INFO=0;
|
||
|
}
|
||
|
int64 fornext_value4030;
|
||
|
int64 fornext_finalvalue4030;
|
||
|
int64 fornext_step4030;
|
||
|
uint8 fornext_step_negative4030;
|
||
|
int32 *_SUB_IDENEWSF_LONG_T=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_T==NULL){
|
||
|
_SUB_IDENEWSF_LONG_T=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_T=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_FOCUSOFFSET=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_FOCUSOFFSET==NULL){
|
||
|
_SUB_IDENEWSF_LONG_FOCUSOFFSET=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_FOCUSOFFSET=0;
|
||
|
}
|
||
|
int32 *_SUB_IDENEWSF_LONG_Y=NULL;
|
||
|
if(_SUB_IDENEWSF_LONG_Y==NULL){
|
||
|
_SUB_IDENEWSF_LONG_Y=(int32*)mem_static_malloc(4);
|
||
|
*_SUB_IDENEWSF_LONG_Y=0;
|
||
|
}
|