Project/app_code/variable.c
int check_var(char n[])
{
	int i,count;
	count = Lexicon.count;

	for(i = 18; i <= count;i++)
	{
		if(strcmp(Lexicon.Entry[i].name,n)==0)
		{
			return 1;
		}

	}
	return 0;
}
/*---TO CHECK IF VARIABLE IS ALREADY EXISTING IN LEXICON---*/
TO CHECK IF VARIABLE IS ALREADY EXISTING IN LEXICON
TO CHECK IF VARIABLE IS ALREADY EXISTING IN LEXICON
int check_var(char n[])
{
	int i,count;
	count = Lexicon.count;
	for(i = 18; i <= count;i++)
	{
		if(strcmp(Lexicon.Entry[i].name,n)==0)
		{
			return 1;
		}
	}
	return 0;
}
int check_var ( char n [ ] ) { int i , count ; count = Lexicon . count ; for ( i = 18 ; i <= count ; i ++ ) { if ( strcmp ( Lexicon . Entry [ i ] . name , n ) == 0 ) { return 1 ; } } return 0 ; }
TO CHECK IF VARIABLE IS ALREADY EXISTING IN LEXICON
TO CHECK IF VARIABLE IS ALREADY EXISTING IN LEXICON