This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

32
http/TABLE.CPP Normal file
View File

@@ -0,0 +1,32 @@
#include <http/table.hpp>
WORD Table::locateSymbolString(String &symbolString,int &tableIndex)
{
size_t numSymbols((size_t)size());
for(int index=0;index<numSymbols;index++)
{
if(operator[](index)==symbolString)
{
tableIndex=index;
return TRUE;
}
}
return FALSE;
}
WORD Table::locateSymbolIdentifier(int symbolIdentifier,int &tableIndex)
{
size_t numSymbols((size_t)size());
for(int index=0;index<numSymbols;index++)
{
if(operator[](index).identifier()==symbolIdentifier)
{
tableIndex=index;
return TRUE;
}
}
return FALSE;
}