alibaba@ucscb.UCSC.EDU (Alexander M. Rosenberg) (04/13/89)
Ok, I have a need to get all the items off the system scrap and transfer them to another machine. All that is provided to fetch items off the scrap is via GetScrap. You tell it you want a PICT and it gives yo the first PICT on the scrap. Yuck. I want all items regardless of type. Currently, I walk through the data at scrapHandle^^ until I hit scrapSize (including the word padding that the scrap manager does). This format is documented under Scrap Manager in IM I (around 453). It doesn't warn anywhere I found that this is a bad thing to do. Is this bad? Is there a more kosher way to do this? (I refuse to ask GetScrap for every four character combo.) ------------------------------------------------------------------------------- - Alexander M. Rosenberg - INTERNET: alibaba@ucscb.ucsc.edu - Yoyodyne - - Crown College, UCSC - UUCP:...!ucbvax!ucscc!ucscb!alibaba- Propulsion - - Santa Cruz, CA 95064 - BITNET:alibaba%ucscb@ucscc.BITNET - Systems - - (408) 426-8869 - Disclaimer: Nobody is my employer - :-) - - - so nobody cares what I say. - -