home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x
- Path: sparky!uunet!spool.mu.edu!enterpoop.mit.edu!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
- From: nosmo@ximage.COM (Vince Kraemer)
- Subject: Error handler flow control
- Message-ID: <9301260154.AA15744@ximage.com>
- Sender: daemon@athena.mit.edu (Mr Background)
- Reply-To: nosmo@ximage.com
- Organization: The Internet
- Date: Tue, 26 Jan 1993 01:54:22 GMT
- Lines: 18
-
- I am writing a simple set of copy/paste routines for a form based
- application. I have gotten the "simple" error free case to work fine.
- Now I want to deal with Alloc errors in XChangeProperty "correctly" by
- using an incremental transfer scheme for large selections.
-
- Since I cannot tell how big a property is "too big", it seems that the
- only way to do this is to change strategies in an error handler.
-
- (Is there a way to tell what "too big" is? That could make this whole
- question moot, which I wouldn't mind a bit.)
-
- My problem is fairly simple, where does the error handler return to, if
- I say return in it? Does it return to the place where I set it (similar
- to longjmp), to the line after the request which generated the error, or
- someplace else completely?
-
- Thanks
- vbk
-