mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-19 15:35:01 +00:00
6e01fc8dce
Added new _STRCMP and _STRICMP commands for quick string comparisons. Cleaned up QB64 to finish removing the QUI (quick user insert) code and folders. Altered UCASE and LCASE routines to be faster in some situations for us.
67 lines
2.6 KiB
Text
67 lines
2.6 KiB
Text
qbs*oldstr2888=NULL;
|
|
if(_SUB_XFILEWRITE_STRING_CA->tmp||_SUB_XFILEWRITE_STRING_CA->fixed||_SUB_XFILEWRITE_STRING_CA->readonly){
|
|
oldstr2888=_SUB_XFILEWRITE_STRING_CA;
|
|
if (oldstr2888->cmem_descriptor){
|
|
_SUB_XFILEWRITE_STRING_CA=qbs_new_cmem(oldstr2888->len,0);
|
|
}else{
|
|
_SUB_XFILEWRITE_STRING_CA=qbs_new(oldstr2888->len,0);
|
|
}
|
|
memcpy(_SUB_XFILEWRITE_STRING_CA->chr,oldstr2888->chr,oldstr2888->len);
|
|
}
|
|
qbs *_SUB_XFILEWRITE_STRING_L=NULL;
|
|
if (!_SUB_XFILEWRITE_STRING_L)_SUB_XFILEWRITE_STRING_L=qbs_new(0,0);
|
|
qbs *_SUB_XFILEWRITE_STRING_U=NULL;
|
|
if (!_SUB_XFILEWRITE_STRING_U)_SUB_XFILEWRITE_STRING_U=qbs_new(0,0);
|
|
int32 pass2889;
|
|
qbs *_SUB_XFILEWRITE_STRING_A3=NULL;
|
|
if (!_SUB_XFILEWRITE_STRING_A3)_SUB_XFILEWRITE_STRING_A3=qbs_new(0,0);
|
|
int32 *_SUB_XFILEWRITE_LONG_B=NULL;
|
|
if(_SUB_XFILEWRITE_LONG_B==NULL){
|
|
_SUB_XFILEWRITE_LONG_B=(int32*)mem_static_malloc(4);
|
|
*_SUB_XFILEWRITE_LONG_B=0;
|
|
}
|
|
int32 *_SUB_XFILEWRITE_LONG_I=NULL;
|
|
if(_SUB_XFILEWRITE_LONG_I==NULL){
|
|
_SUB_XFILEWRITE_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_SUB_XFILEWRITE_LONG_I=0;
|
|
}
|
|
int64 fornext_value2892;
|
|
int64 fornext_finalvalue2892;
|
|
int64 fornext_step2892;
|
|
uint8 fornext_step_negative2892;
|
|
qbs *_SUB_XFILEWRITE_STRING_A2=NULL;
|
|
if (!_SUB_XFILEWRITE_STRING_A2)_SUB_XFILEWRITE_STRING_A2=qbs_new(0,0);
|
|
qbs *_SUB_XFILEWRITE_STRING_E=NULL;
|
|
if (!_SUB_XFILEWRITE_STRING_E)_SUB_XFILEWRITE_STRING_E=qbs_new(0,0);
|
|
int32 pass2893;
|
|
int32 *_SUB_XFILEWRITE_LONG_LAST=NULL;
|
|
if(_SUB_XFILEWRITE_LONG_LAST==NULL){
|
|
_SUB_XFILEWRITE_LONG_LAST=(int32*)mem_static_malloc(4);
|
|
*_SUB_XFILEWRITE_LONG_LAST=0;
|
|
}
|
|
int64 fornext_value2898;
|
|
int64 fornext_finalvalue2898;
|
|
int64 fornext_step2898;
|
|
uint8 fornext_step_negative2898;
|
|
int32 *_SUB_XFILEWRITE_LONG_NEWLINE=NULL;
|
|
if(_SUB_XFILEWRITE_LONG_NEWLINE==NULL){
|
|
_SUB_XFILEWRITE_LONG_NEWLINE=(int32*)mem_static_malloc(4);
|
|
*_SUB_XFILEWRITE_LONG_NEWLINE=0;
|
|
}
|
|
qbs *_SUB_XFILEWRITE_STRING_EBAK=NULL;
|
|
if (!_SUB_XFILEWRITE_STRING_EBAK)_SUB_XFILEWRITE_STRING_EBAK=qbs_new(0,0);
|
|
int32 *_SUB_XFILEWRITE_LONG_REEVALED=NULL;
|
|
if(_SUB_XFILEWRITE_LONG_REEVALED==NULL){
|
|
_SUB_XFILEWRITE_LONG_REEVALED=(int32*)mem_static_malloc(4);
|
|
*_SUB_XFILEWRITE_LONG_REEVALED=0;
|
|
}
|
|
int32 *_SUB_XFILEWRITE_LONG_TYP=NULL;
|
|
if(_SUB_XFILEWRITE_LONG_TYP==NULL){
|
|
_SUB_XFILEWRITE_LONG_TYP=(int32*)mem_static_malloc(4);
|
|
*_SUB_XFILEWRITE_LONG_TYP=0;
|
|
}
|
|
int32 pass2899;
|
|
byte_element_struct *byte_element_2905=NULL;
|
|
if (!byte_element_2905){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2905=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2905=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|