mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-09 12:50:17 +00:00
44 lines
1.8 KiB
Text
44 lines
1.8 KiB
Text
qbs *_FUNC_FORMATRANGE_STRING_FORMATRANGE=NULL;
|
|
if (!_FUNC_FORMATRANGE_STRING_FORMATRANGE)_FUNC_FORMATRANGE_STRING_FORMATRANGE=qbs_new(0,0);
|
|
qbs*oldstr5151=NULL;
|
|
if(_FUNC_FORMATRANGE_STRING___TEXT->tmp||_FUNC_FORMATRANGE_STRING___TEXT->fixed||_FUNC_FORMATRANGE_STRING___TEXT->readonly){
|
|
oldstr5151=_FUNC_FORMATRANGE_STRING___TEXT;
|
|
if (oldstr5151->cmem_descriptor){
|
|
_FUNC_FORMATRANGE_STRING___TEXT=qbs_new_cmem(oldstr5151->len,0);
|
|
}else{
|
|
_FUNC_FORMATRANGE_STRING___TEXT=qbs_new(oldstr5151->len,0);
|
|
}
|
|
memcpy(_FUNC_FORMATRANGE_STRING___TEXT->chr,oldstr5151->chr,oldstr5151->len);
|
|
}
|
|
qbs *_FUNC_FORMATRANGE_STRING_TEMP=NULL;
|
|
if (!_FUNC_FORMATRANGE_STRING_TEMP)_FUNC_FORMATRANGE_STRING_TEMP=qbs_new(0,0);
|
|
int32 *_FUNC_FORMATRANGE_LONG_V1=NULL;
|
|
if(_FUNC_FORMATRANGE_LONG_V1==NULL){
|
|
_FUNC_FORMATRANGE_LONG_V1=(int32*)mem_static_malloc(4);
|
|
*_FUNC_FORMATRANGE_LONG_V1=0;
|
|
}
|
|
int32 *_FUNC_FORMATRANGE_LONG_V2=NULL;
|
|
if(_FUNC_FORMATRANGE_LONG_V2==NULL){
|
|
_FUNC_FORMATRANGE_LONG_V2=(int32*)mem_static_malloc(4);
|
|
*_FUNC_FORMATRANGE_LONG_V2=0;
|
|
}
|
|
int32 *_FUNC_FORMATRANGE_LONG_I=NULL;
|
|
if(_FUNC_FORMATRANGE_LONG_I==NULL){
|
|
_FUNC_FORMATRANGE_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_FORMATRANGE_LONG_I=0;
|
|
}
|
|
int64 fornext_value5153;
|
|
int64 fornext_finalvalue5153;
|
|
int64 fornext_step5153;
|
|
uint8 fornext_step_negative5153;
|
|
byte_element_struct *byte_element_5154=NULL;
|
|
if (!byte_element_5154){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5154=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5154=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_FORMATRANGE_LONG_V=NULL;
|
|
if(_FUNC_FORMATRANGE_LONG_V==NULL){
|
|
_FUNC_FORMATRANGE_LONG_V=(int32*)mem_static_malloc(4);
|
|
*_FUNC_FORMATRANGE_LONG_V=0;
|
|
}
|
|
qbs *_FUNC_FORMATRANGE_STRING_A2=NULL;
|
|
if (!_FUNC_FORMATRANGE_STRING_A2)_FUNC_FORMATRANGE_STRING_A2=qbs_new(0,0);
|