On the Frequency Theorem for Nonperiodic Systems.