void bondorder() throws ScriptException {
		Token tokenArg = statement[1];
		short order = 0;
		switch (tokenArg.tok) {
		case Token.integer:
			order = (short) tokenArg.intValue;
			if (order < 0 || order > 3)
				invalidArgument();
			break;
		case Token.hbond:
			order = JmolConstants.BOND_H_REGULAR;
			break;
		case Token.decimal:
			float f = ((Float) tokenArg.value).floatValue();
			if (f == (short) f) {
				order = (short) f;
				if (order < 0 || order > 3)
					invalidArgument();
			}
			else if (f == 0.5f)
				order = JmolConstants.BOND_H_REGULAR;
			else if (f == 1.5f)
				order = JmolConstants.BOND_AROMATIC;
			else invalidArgument();
			break;
		case Token.identifier:
			order = JmolConstants.getBondOrderFromString((String) tokenArg.value);
			if (order >= 1)
				break;
			// fall into
		default:
			invalidArgument();
		}
		viewer.setShapeProperty(JmolConstants.SHAPE_STICKS, "bondOrder", new Short(order), viewer
				.getSelectedAtomsOrBonds());
	}