LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (April 1997, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments: To: JMS@online.realtech.de

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 */ /***************************************************************************** **/


Back to: Top of message | Previous page | Main SAS-L page