| To: | "REALbasic NUG" <realbasic-nug@lists.realsoftware.com> |
|---|---|
| Subject: | RBScript Trapping Multiple Compile Errors |
| From: | "Scott Fortmann-Roe" <scottfr@gmail.com> |
| Date: | Sat, 28 Jun 2008 09:21:39 -0700 |
| Authentication-results: | mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com; dkim=neutral (body hash did not verify) header.i=@gmail.com |
| Delivered-to: | listarchive@realsoftware.com |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=HjbBZAWMxr83Ogw2PiZwfWHSNtYoXsRUwfyTVyWSea8=; b=MmTJ72Qka6z7Ao7+ZknXSYWcKTGREBejwz417Oox6NoCPZwTnNkA2T50eD6GeTeA3C HKV3toakltrRPhG4zEX3ENxo/nL2+PkQSRf4WpTvdTRRMd7S66LW8HXAtknLwRvePHah TVt5HtUUyfwO+iiuGVkFaCW4f8ynxpzxhHK+k= |
| Domainkey-signature: | a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=v9OGLj1BLj1tlH7WYYrEeGu3N3gZPhEhz7wLC0u67arfVQy4f1h6mUhkDPEeoVok/b fIBPrfb8qiObaCyY7wLqEXTXpMaHvnLM6rS+SKB5ywboUMA4Y+YT5QSc3iiC7YrFywkD 9n/IXDL8sCBoDjwzXGwnZ9vzmrufVxoOFZlSA= |
| Reply-to: | REALbasic NUG <realbasic-nug@lists.realsoftware.com> |
| Sender: | realbasic-nug-bounces@lists.realsoftware.com |
Hi, When you run an RBscript, the CompilerError event is executed for each error in the program. This is nice, but there is no indication of how many errors there are so it is hard to trap them all in an elegant manner. Does anyone have a way to trap all the errors and return them all at once to an error handling function. So far the only way I can think of doing something like this is very hackish and would need a timer. Does anyone have something better? Also, what is the status of the RuntimeError event. In the latest version I tried--2008r2--I heard it was supposed to be fixed, but such an error caused a ugly Runtime Error to occur in my app. -Scott -- Scott Fortmann-Roe 4721 El Centro Ave Oakland Ca, 94602 510-866-5296 _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html> |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: REALbasic 4 Linux NOOB, Fargo Holiday |
|---|---|
| Next by Date: | Re: Checking array for double entries, John Jobe |
| Previous by Thread: | RbScript problem, Bob Delaney |
| Next by Thread: | Re: RBScript Trapping Multiple Compile Errors, Scott Fortmann-Roe |
| Indexes: | [Date] [Thread] [Top] [All Lists] |