home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!cis.ohio-state.edu!csugrad.cs.vt.edu!pmiller
- From: pmiller@csugrad.cs.vt.edu (Paul Miller)
- Subject: TagItem tricks
- Message-ID: <9209071929.AA28631@csugrad.cs.vt.edu>
- Sender: daemon@cis.ohio-state.edu
- Organization: The Ohio State University Department of Computer and Information Science
- Date: Mon, 7 Sep 1992 19:29:49 GMT
- Lines: 18
-
- What would be the best way to add and remove specific items from a TagList?
- I want to take a stack-based taglist, add one or more tag-items and remove
- one or more items, then pass it on to a function which accepts a taglist.
-
- I tried traversing the list, pulling out the information I needed and
- totaling the other items, then allocating a list with AllocateTagItems(),
- then traversing the list again, copying over all the items I wanted. I
- added room for the items I wanted to add too. This doesn't appear to work.
- Any suggestions?
-
- --
- ****************************************************************************
- * Paul Miller |Nobody cares about my opinion anyway*
- * Certified Amiga Developer | *
- * INTERNET: pmiller@csugrad.cs.vt.edu | - Have a JOLT and a smile! - *
- * ------------------------------------------------------------------------ *
- * "What IS it, man?" "Happy Happy, Joy Joy" *
- ****************************************************************************
-