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.4 KiB
Text
47 lines
1.4 KiB
Text
qbs*oldstr1942=NULL;
|
|
if(_SUB_ASSIGN_STRING_A->tmp||_SUB_ASSIGN_STRING_A->fixed||_SUB_ASSIGN_STRING_A->readonly){
|
|
oldstr1942=_SUB_ASSIGN_STRING_A;
|
|
if (oldstr1942->cmem_descriptor){
|
|
_SUB_ASSIGN_STRING_A=qbs_new_cmem(oldstr1942->len,0);
|
|
}else{
|
|
_SUB_ASSIGN_STRING_A=qbs_new(oldstr1942->len,0);
|
|
}
|
|
memcpy(_SUB_ASSIGN_STRING_A->chr,oldstr1942->chr,oldstr1942->len);
|
|
}
|
|
int32 *_SUB_ASSIGN_LONG_I=NULL;
|
|
if(_SUB_ASSIGN_LONG_I==NULL){
|
|
_SUB_ASSIGN_LONG_I=(int32*)mem_static_malloc(4);
|
|
*_SUB_ASSIGN_LONG_I=0;
|
|
}
|
|
int64 fornext_value1944;
|
|
int64 fornext_finalvalue1944;
|
|
int64 fornext_step1944;
|
|
uint8 fornext_step_negative1944;
|
|
int32 *_SUB_ASSIGN_LONG_C=NULL;
|
|
if(_SUB_ASSIGN_LONG_C==NULL){
|
|
_SUB_ASSIGN_LONG_C=(int32*)mem_static_malloc(4);
|
|
*_SUB_ASSIGN_LONG_C=0;
|
|
}
|
|
int32 *_SUB_ASSIGN_LONG_B=NULL;
|
|
if(_SUB_ASSIGN_LONG_B==NULL){
|
|
_SUB_ASSIGN_LONG_B=(int32*)mem_static_malloc(4);
|
|
*_SUB_ASSIGN_LONG_B=0;
|
|
}
|
|
qbs *_SUB_ASSIGN_STRING_A2=NULL;
|
|
if (!_SUB_ASSIGN_STRING_A2)_SUB_ASSIGN_STRING_A2=qbs_new(0,0);
|
|
int32 pass1945;
|
|
int32 pass1946;
|
|
qbs *_SUB_ASSIGN_STRING_L=NULL;
|
|
if (!_SUB_ASSIGN_STRING_L)_SUB_ASSIGN_STRING_L=qbs_new(0,0);
|
|
int32 *_SUB_ASSIGN_LONG_TRY=NULL;
|
|
if(_SUB_ASSIGN_LONG_TRY==NULL){
|
|
_SUB_ASSIGN_LONG_TRY=(int32*)mem_static_malloc(4);
|
|
*_SUB_ASSIGN_LONG_TRY=0;
|
|
}
|
|
int32 *_SUB_ASSIGN_LONG_TYP=NULL;
|
|
if(_SUB_ASSIGN_LONG_TYP==NULL){
|
|
_SUB_ASSIGN_LONG_TYP=(int32*)mem_static_malloc(4);
|
|
*_SUB_ASSIGN_LONG_TYP=0;
|
|
}
|
|
int32 pass1948;
|
|
int32 pass1949;
|