boolean booleanParameter(int i) throws ScriptException {
		if (statementLength == i)
			return true;
		checkStatementLength(i + 1);
		switch (statement[i].tok) {
		case Token.on:
			return true;
		case Token.off:
			return false;
		default:
			booleanExpected();
		}
		return false;
	}