Newsgroups: rec.arts.int-fiction
Path: nntp.gmd.de!stern.fokus.gmd.de!zib-berlin.de!uni-paderborn.de!golden-gate.owl.de!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!uni-erlangen.de!uni-regensburg.de!lrz-muenchen.de!informatik.tu-muenchen.de!Germany.EU.net!howland.reston.ans.net!news.cac.psu.edu!news.math.psu.edu!news.cse.psu.edu!uwm.edu!math.ohio-state.edu!usc!news.cerf.net!mvb.saic.com!eskimo!news
From: Philip Dearmore <morbeus@eskimo.com>
Subject: TADS question
X-Nntp-Posting-Host: morbeus.ndip.eskimo.net
Content-Type: text/plain; charset=us-ascii
Message-ID: <318CC7C2.24F7@eskimo.com>
Sender: news@eskimo.com (News User Id)
Content-Transfer-Encoding: 7bit
Organization: NeoText Software
Mime-Version: 1.0
Date: Sun, 5 May 1996 15:22:42 GMT
X-Mailer: Mozilla 2.01Gold (Win95; I)
Lines: 16

Hi... I'm trying to write a function that will cycle things out of
someone's inventory, and into a list.  So, the function would be
called like this cycle_inv( old_list, new_list), where the player's
current inventory is put in old_list, and new_list is then moved
into the inventory.  Is this possible?  Does TADS just run on a copy
of what's passed to it like C?  If so, is there some way to just
pass the address of old_list?  Thanks.
 
-- 
/****************************************************************************
*  Philip Dearmore       *   http://www.eskimo.com/~morbeus                 *
*  morbeus@eskimo.com    *                                                  *
*  Neotext Software      *   http://www.eskimo.com/~morbeus/neotext.html    *
*                        *                                                  *
*  The WA State Lottery  *   A tax on people who are bad at math.           * 
****************************************************************************/
