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.
47 lines
1.8 KiB
Text
47 lines
1.8 KiB
Text
int32 *_FUNC_ISNUMBER_LONG_ISNUMBER=NULL;
|
|
if(_FUNC_ISNUMBER_LONG_ISNUMBER==NULL){
|
|
_FUNC_ISNUMBER_LONG_ISNUMBER=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISNUMBER_LONG_ISNUMBER=0;
|
|
}
|
|
qbs*oldstr2480=NULL;
|
|
if(_FUNC_ISNUMBER_STRING_A->tmp||_FUNC_ISNUMBER_STRING_A->fixed||_FUNC_ISNUMBER_STRING_A->readonly){
|
|
oldstr2480=_FUNC_ISNUMBER_STRING_A;
|
|
if (oldstr2480->cmem_descriptor){
|
|
_FUNC_ISNUMBER_STRING_A=qbs_new_cmem(oldstr2480->len,0);
|
|
}else{
|
|
_FUNC_ISNUMBER_STRING_A=qbs_new(oldstr2480->len,0);
|
|
}
|
|
memcpy(_FUNC_ISNUMBER_STRING_A->chr,oldstr2480->chr,oldstr2480->len);
|
|
}
|
|
byte_element_struct *byte_element_2481=NULL;
|
|
if (!byte_element_2481){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2481=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2481=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_ISNUMBER_LONG_I=NULL;
|
|
if(_FUNC_ISNUMBER_LONG_I==NULL){
|
|
_FUNC_ISNUMBER_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISNUMBER_LONG_I=0;
|
|
}
|
|
int64 fornext_value2483;
|
|
int64 fornext_finalvalue2483;
|
|
int64 fornext_step2483;
|
|
uint8 fornext_step_negative2483;
|
|
byte_element_struct *byte_element_2484=NULL;
|
|
if (!byte_element_2484){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2484=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2484=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_ISNUMBER_LONG_A=NULL;
|
|
if(_FUNC_ISNUMBER_LONG_A==NULL){
|
|
_FUNC_ISNUMBER_LONG_A=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISNUMBER_LONG_A=0;
|
|
}
|
|
int32 *_FUNC_ISNUMBER_LONG_DP=NULL;
|
|
if(_FUNC_ISNUMBER_LONG_DP==NULL){
|
|
_FUNC_ISNUMBER_LONG_DP=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISNUMBER_LONG_DP=0;
|
|
}
|
|
int32 *_FUNC_ISNUMBER_LONG_V=NULL;
|
|
if(_FUNC_ISNUMBER_LONG_V==NULL){
|
|
_FUNC_ISNUMBER_LONG_V=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISNUMBER_LONG_V=0;
|
|
}
|