Loading ...
Sorry, an error occurred while loading the content.
 

FUNCTION

Expand Messages
  • qedholmes
    Does anyone have a sample for FUNCTION that compiles and runs called in class ARRAY, feature for_all? It would return True if all the elements in the array
    Message 1 of 2 , Dec 1, 2004
      Does anyone have a sample for FUNCTION that compiles and runs called
      in class ARRAY, feature for_all? It would return True if all the
      elements in the array met the test - say all prime integers.

      Thanks.
    • Karsten Heusser
      You may find a working example at: http://service.gmx.net/mc/lq03syyXIauFZIDq8eDOCU1AlUbY3Z 1. Be sure to use the complete link, starting with
      Message 2 of 2 , Dec 2, 2004
        You may find a working example at:
        http://service.gmx.net/mc/lq03syyXIauFZIDq8eDOCU1AlUbY3Z

        1. Be sure to use the complete link,
        starting with http://service... and
        ending with ...bY3Z.
        2. Push the button [GMX MediaCenter starten].
        3. Mark the checkbox of the file root_class.e.
        4. Click [Datei] in the upper left.
        5. Choose [Download].
        6. Provide a target folder on your hard disk.

        In ISE Eiffel 5.1 `for_all' is not available in arrays.
        Therefore, the example uses a linked list instead.

        All the best,
        Karsten
      Your message has been successfully submitted and would be delivered to recipients shortly.