Re: multiple outputs in Java
13 Dec 2000 15:03:03 -0500

          From comp.compilers

Related articles
multiple outputs in Java (2000-12-11)
Re: multiple outputs in Java (2000-12-13)
Re: multiple outputs in Java (Tim Harris) (2000-12-18)
| List of all articles for this month |

Newsgroups: comp.compilers
Date: 13 Dec 2000 15:03:03 -0500
Organization: - Before you buy.
References: 00-12-048
Keywords: Java
Posted-Date: 13 Dec 2000 15:03:03 EST (Fergus Henderson) wrote:
> One issue that has arisen is that our source language
> allows procedures with multiple output arguments
> (a.k.a. multiple return values). What's the best way
> to compile this to Java?

You might want to return all values as Vectors (java.util.Vector)
or arrays of a particular object type. ( Vector access is
more expensive at run-time than an array. )

Jim Lawless | MailSend - Cmd line e-mail sender | MailGrab - Cmd line e-mail reader | BPL - Batch Prog. Language

Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.