delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/21/03:46:34

From: a DOT gillett AT virgin DOT net (Andrew R. Gillett)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: how do I pass more than one value out of a function???
Date: Sat, 20 Jun 1998 23:51:36 +0100
Organization: Virgin Net Usenet Service
Lines: 12
Message-ID: <MPG.ff6363cc65faadf9897eb@news.virgin.net>
References: <358bfa94 DOT 0 AT news2 DOT ibm DOT net>
NNTP-Posting-Host: 194.168.60.205
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In comp.os.msdos.djgpp, article <358bfa94 DOT 0 AT news2 DOT ibm DOT net>, Sal 
(Sal AT Sal DOT com) wrote:
> I come from a pascal background... anyway, I know how to use a fundtion to
> ruturn a value.  What do I do to mave something that ruturns several
> values??

Either use pointers, or global variables.

-- 
Andrew Gillett
http://argnet.fatal-design.com/
ICQ: 12142937

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019