public void Assign(String name) {
		boolean error = false;
		if(Values.getType(name) == null) {
			Error("Variable \'" + name + "\' has not been declared.");
			return;
		}
		if(current.getId().equals("ASSIGN")) {
			nextToken();
			Expression(name);
		}
		else if(current.getId().equals("LSBRACKET")) {
			nextToken();
			if(current.getId().equals("VALNUM")) {
				String index = current.getLexeme();
				nextToken();
				if(current.getId().equals("RSBRACKET")) {
					nextToken();
					if(current.getId().equals("ASSIGN")) {
						nextToken();
						ArrExpression(name,index);
					}
					else {
						error = true;
					}
				}
				else {
					error = true;
				}
			}
			else {
				error = true;
			}
			if(error) {
				Error("Invalid array assignment expression.");
			}
		}
		else {
			Error("Expecting expression to be assigned.");
		}
	
	}