mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-08-31 04:10:14 +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*oldstr5039=NULL;
|
|
if(_FUNC_FORMATRANGE_STRING___TEXT->tmp||_FUNC_FORMATRANGE_STRING___TEXT->fixed||_FUNC_FORMATRANGE_STRING___TEXT->readonly){
|
|
oldstr5039=_FUNC_FORMATRANGE_STRING___TEXT;
|
|
if (oldstr5039->cmem_descriptor){
|
|
_FUNC_FORMATRANGE_STRING___TEXT=qbs_new_cmem(oldstr5039->len,0);
|
|
}else{
|
|
_FUNC_FORMATRANGE_STRING___TEXT=qbs_new(oldstr5039->len,0);
|
|
}
|
|
memcpy(_FUNC_FORMATRANGE_STRING___TEXT->chr,oldstr5039->chr,oldstr5039->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_value5041;
|
|
int64 fornext_finalvalue5041;
|
|
int64 fornext_step5041;
|
|
uint8 fornext_step_negative5041;
|
|
byte_element_struct *byte_element_5042=NULL;
|
|
if (!byte_element_5042){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_5042=(byte_element_struct*)(mem_static_pointer-12); else byte_element_5042=(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);
|