public SolutionData getSymbol(String name, String type, int dimension) {
		if (!type.equals(SolutionData.VAR) && !type.equals(SolutionData.EQU)) {
			System.err.println("Unknown symbol type");
			return null;
		}

		if (dimension == 0)
			return getSymbolScalar(name, type);
		else if (dimension > 0 && dimension <= 20)
			return getSymbolND(name, type, dimension);
		else {
			System.err.println("Invalid dimension");
			return null;
		}
	}