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.
37 lines
1.5 KiB
Text
37 lines
1.5 KiB
Text
qbs*oldstr4080=NULL;
|
|
if(_SUB_IDEINSLINE_STRING_TEXT->tmp||_SUB_IDEINSLINE_STRING_TEXT->fixed||_SUB_IDEINSLINE_STRING_TEXT->readonly){
|
|
oldstr4080=_SUB_IDEINSLINE_STRING_TEXT;
|
|
if (oldstr4080->cmem_descriptor){
|
|
_SUB_IDEINSLINE_STRING_TEXT=qbs_new_cmem(oldstr4080->len,0);
|
|
}else{
|
|
_SUB_IDEINSLINE_STRING_TEXT=qbs_new(oldstr4080->len,0);
|
|
}
|
|
memcpy(_SUB_IDEINSLINE_STRING_TEXT->chr,oldstr4080->chr,oldstr4080->len);
|
|
}
|
|
int32 *_SUB_IDEINSLINE_LONG_B=NULL;
|
|
if(_SUB_IDEINSLINE_LONG_B==NULL){
|
|
_SUB_IDEINSLINE_LONG_B=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEINSLINE_LONG_B=0;
|
|
}
|
|
int64 fornext_value4082;
|
|
int64 fornext_finalvalue4082;
|
|
int64 fornext_step4082;
|
|
uint8 fornext_step_negative4082;
|
|
int32 *_SUB_IDEINSLINE_LONG_Y=NULL;
|
|
if(_SUB_IDEINSLINE_LONG_Y==NULL){
|
|
_SUB_IDEINSLINE_LONG_Y=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEINSLINE_LONG_Y=0;
|
|
}
|
|
int32 *_SUB_IDEINSLINE_LONG_TEXTLEN=NULL;
|
|
if(_SUB_IDEINSLINE_LONG_TEXTLEN==NULL){
|
|
_SUB_IDEINSLINE_LONG_TEXTLEN=(int32*)mem_static_malloc(4);
|
|
*_SUB_IDEINSLINE_LONG_TEXTLEN=0;
|
|
}
|
|
byte_element_struct *byte_element_4083=NULL;
|
|
if (!byte_element_4083){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4083=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4083=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_4084=NULL;
|
|
if (!byte_element_4084){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4084=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4084=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|