Date: Thu, 17 Apr 1997 08:48:06 -0400
Reply-To: Chris Roper <QLXCAR@AOL.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Chris Roper <QLXCAR@AOL.COM>
Subject: Re: SCL bug with lists
Jens,
The way I handle deletion of lists is to reassign the list identifier to zero
when the list is deleted. This avoids any confusion later on. In your
example I would make the following change:
c=makelist(); /* make a list */
rc=curlist(c); /* becomes current list */
<other stuff>
if c then c=dellist(c); /* finished - delete it */ <=== Changed from rc
= dellist(c);
<other stuff - or other frame entry>
otherlist=makelist();
Hope this helps,
Chris.
/*****************************************************************************
**/
/* Christopher A. Roper Rt. 2 Box 224C
*/
/* Qualex Consulting Services, Inc. Hillsville, Va. 24343
*/
/* A SAS Institute Quality Partner USA
*/
/* QLXCAR@AOL.COM (540) 398 - 3757 */
/* www.qlx.com
*/
/*****************************************************************************
**/
|