Functions that return multiple values

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: 1.1
    • Component/s: specification
    • None
    • x86
    • windows_nt



      Name: mc57594 Date: 02/24/97


      It would be nice if functions could return more than one object for example

      public (int, File) getData(int p_stuff){
        return m_anInt, m_aFile;
      }

      ...
        File f; int i;
        (i, f) = getData(2);

      This save having to make an object just to hold the data


      company - Seagate Software IMG , email - ###@###.###
      ======================================================================

            Assignee:
            Gilad Bracha (Inactive)
            Reporter:
            Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: