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.
53 lines
2.4 KiB
Text
53 lines
2.4 KiB
Text
int32 *_FUNC_ISVALIDVARIABLE_LONG_ISVALIDVARIABLE=NULL;
|
|
if(_FUNC_ISVALIDVARIABLE_LONG_ISVALIDVARIABLE==NULL){
|
|
_FUNC_ISVALIDVARIABLE_LONG_ISVALIDVARIABLE=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISVALIDVARIABLE_LONG_ISVALIDVARIABLE=0;
|
|
}
|
|
qbs*oldstr2492=NULL;
|
|
if(_FUNC_ISVALIDVARIABLE_STRING_A->tmp||_FUNC_ISVALIDVARIABLE_STRING_A->fixed||_FUNC_ISVALIDVARIABLE_STRING_A->readonly){
|
|
oldstr2492=_FUNC_ISVALIDVARIABLE_STRING_A;
|
|
if (oldstr2492->cmem_descriptor){
|
|
_FUNC_ISVALIDVARIABLE_STRING_A=qbs_new_cmem(oldstr2492->len,0);
|
|
}else{
|
|
_FUNC_ISVALIDVARIABLE_STRING_A=qbs_new(oldstr2492->len,0);
|
|
}
|
|
memcpy(_FUNC_ISVALIDVARIABLE_STRING_A->chr,oldstr2492->chr,oldstr2492->len);
|
|
}
|
|
int32 *_FUNC_ISVALIDVARIABLE_LONG_I=NULL;
|
|
if(_FUNC_ISVALIDVARIABLE_LONG_I==NULL){
|
|
_FUNC_ISVALIDVARIABLE_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISVALIDVARIABLE_LONG_I=0;
|
|
}
|
|
int64 fornext_value2494;
|
|
int64 fornext_finalvalue2494;
|
|
int64 fornext_step2494;
|
|
uint8 fornext_step_negative2494;
|
|
byte_element_struct *byte_element_2495=NULL;
|
|
if (!byte_element_2495){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2495=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2495=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
int32 *_FUNC_ISVALIDVARIABLE_LONG_C=NULL;
|
|
if(_FUNC_ISVALIDVARIABLE_LONG_C==NULL){
|
|
_FUNC_ISVALIDVARIABLE_LONG_C=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISVALIDVARIABLE_LONG_C=0;
|
|
}
|
|
int32 *_FUNC_ISVALIDVARIABLE_LONG_T=NULL;
|
|
if(_FUNC_ISVALIDVARIABLE_LONG_T==NULL){
|
|
_FUNC_ISVALIDVARIABLE_LONG_T=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISVALIDVARIABLE_LONG_T=0;
|
|
}
|
|
int32 *_FUNC_ISVALIDVARIABLE_LONG_N=NULL;
|
|
if(_FUNC_ISVALIDVARIABLE_LONG_N==NULL){
|
|
_FUNC_ISVALIDVARIABLE_LONG_N=(int32*)mem_static_malloc(4);
|
|
*_FUNC_ISVALIDVARIABLE_LONG_N=0;
|
|
}
|
|
qbs *_FUNC_ISVALIDVARIABLE_STRING_E=NULL;
|
|
if (!_FUNC_ISVALIDVARIABLE_STRING_E)_FUNC_ISVALIDVARIABLE_STRING_E=qbs_new(0,0);
|
|
byte_element_struct *byte_element_2496=NULL;
|
|
if (!byte_element_2496){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2496=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2496=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|
|
byte_element_struct *byte_element_2497=NULL;
|
|
if (!byte_element_2497){
|
|
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_2497=(byte_element_struct*)(mem_static_pointer-12); else byte_element_2497=(byte_element_struct*)mem_static_malloc(12);
|
|
}
|