void translate() throws ScriptException {
		if (statementLength < 3)
			badArgumentCount();
		if (statement[2].tok != Token.integer)
			integerExpected();
		int percent = statement[2].intValue;
		if (percent > 100 || percent < -100)
			numberOutOfRange(-100, 100);
		if (statement[1].tok == Token.identifier) {
			String str = (String) statement[1].value;
			if (str.equalsIgnoreCase("x")) {
				viewer.translateToXPercent(percent);
				return;
			}
			if (str.equalsIgnoreCase("y")) {
				viewer.translateToYPercent(percent);
				return;
			}
			if (str.equalsIgnoreCase("z")) {
				viewer.translateToZPercent(percent);
				return;
			}
		}
		axisExpected();
	}