1
1
Fork 0
mirror of https://github.com/QB64-Phoenix-Edition/QB64pe.git synced 2024-07-26 13:15:52 +00:00
QB64-PE/internal/source/data185.txt
SMcNeill 6e01fc8dce Altered string compare routines (<,<=,>,>=) so they don't give false results with CHR$(0).
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.
2014-09-22 08:19:03 -04:00

84 lines
3.3 KiB
Plaintext

qbs*oldstr4841=NULL;
if(_SUB_PARSESTRING_STRING_E->tmp||_SUB_PARSESTRING_STRING_E->fixed||_SUB_PARSESTRING_STRING_E->readonly){
oldstr4841=_SUB_PARSESTRING_STRING_E;
if (oldstr4841->cmem_descriptor){
_SUB_PARSESTRING_STRING_E=qbs_new_cmem(oldstr4841->len,0);
}else{
_SUB_PARSESTRING_STRING_E=qbs_new(oldstr4841->len,0);
}
memcpy(_SUB_PARSESTRING_STRING_E->chr,oldstr4841->chr,oldstr4841->len);
}
qbs *_SUB_PARSESTRING_STRING_T=NULL;
if (!_SUB_PARSESTRING_STRING_T)_SUB_PARSESTRING_STRING_T=qbs_new(0,0);
int32 *_SUB_PARSESTRING_LONG_L=NULL;
if(_SUB_PARSESTRING_LONG_L==NULL){
_SUB_PARSESTRING_LONG_L=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_L=0;
}
qbs *_SUB_PARSESTRING_STRING_TEMPFILE=NULL;
if (!_SUB_PARSESTRING_STRING_TEMPFILE)_SUB_PARSESTRING_STRING_TEMPFILE=qbs_new(0,0);
int32 *_SUB_PARSESTRING_LONG_F=NULL;
if(_SUB_PARSESTRING_LONG_F==NULL){
_SUB_PARSESTRING_LONG_F=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_F=0;
}
int32 *_SUB_PARSESTRING_LONG_QUI=NULL;
if(_SUB_PARSESTRING_LONG_QUI==NULL){
_SUB_PARSESTRING_LONG_QUI=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_QUI=0;
}
int32 *_SUB_PARSESTRING_LONG_C=NULL;
if(_SUB_PARSESTRING_LONG_C==NULL){
_SUB_PARSESTRING_LONG_C=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_C=0;
}
int64 fornext_value4849;
int64 fornext_finalvalue4849;
int64 fornext_step4849;
uint8 fornext_step_negative4849;
int32 *_SUB_PARSESTRING_LONG_COUNT=NULL;
if(_SUB_PARSESTRING_LONG_COUNT==NULL){
_SUB_PARSESTRING_LONG_COUNT=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_COUNT=0;
}
qbs *_SUB_PARSESTRING_STRING_T1=NULL;
if (!_SUB_PARSESTRING_STRING_T1)_SUB_PARSESTRING_STRING_T1=qbs_new(0,0);
qbs *_SUB_PARSESTRING_STRING_T2=NULL;
if (!_SUB_PARSESTRING_STRING_T2)_SUB_PARSESTRING_STRING_T2=qbs_new(0,0);
qbs *_SUB_PARSESTRING_STRING_A=NULL;
if (!_SUB_PARSESTRING_STRING_A)_SUB_PARSESTRING_STRING_A=qbs_new(0,0);
int32 *_SUB_PARSESTRING_LONG_X3=NULL;
if(_SUB_PARSESTRING_LONG_X3==NULL){
_SUB_PARSESTRING_LONG_X3=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_X3=0;
}
int32 *_SUB_PARSESTRING_LONG_I=NULL;
if(_SUB_PARSESTRING_LONG_I==NULL){
_SUB_PARSESTRING_LONG_I=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_I=0;
}
int32 *_SUB_PARSESTRING_LONG_X=NULL;
if(_SUB_PARSESTRING_LONG_X==NULL){
_SUB_PARSESTRING_LONG_X=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_X=0;
}
int32 *_SUB_PARSESTRING_LONG_X2=NULL;
if(_SUB_PARSESTRING_LONG_X2==NULL){
_SUB_PARSESTRING_LONG_X2=(int32*)mem_static_malloc(4);
*_SUB_PARSESTRING_LONG_X2=0;
}
int32 pass4854;
int32 pass4855;
byte_element_struct *byte_element_4856=NULL;
if (!byte_element_4856){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4856=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4856=(byte_element_struct*)mem_static_malloc(12);
}
byte_element_struct *byte_element_4857=NULL;
if (!byte_element_4857){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4857=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4857=(byte_element_struct*)mem_static_malloc(12);
}
byte_element_struct *byte_element_4858=NULL;
if (!byte_element_4858){
if ((mem_static_pointer+=12)<mem_static_limit) byte_element_4858=(byte_element_struct*)(mem_static_pointer-12); else byte_element_4858=(byte_element_struct*)mem_static_malloc(12);
}