Hi Tim, you can use something like this: if error? error: try [ your-code more-code end-code ] [ send [EMAIL PROTECTED] mold disarm error ] if error? error: try [ your-code more-code end-code ] [ write/append %logfile.log mold disarm error ] Example: >> if error? error: try [ 1 / 0 ] [ print mold disarm error ] make object! [ code: 400 type: math id: zero-divide arg1: none arg2: none arg3: none near: [1 / 0] where: none ] >> At 07:21 AM 1/25/00 -0900, you wrote: >I'm looking for a little general direction here: >I'd like to use Rebol for CGI programming. > >I'm a newbie, busy with other things, but I believe >that Rebol will "run minimized", right? > >Next question: If a particular script generates >error messages, can rebol write those messages to >a file, like an error log? > >Thanks >Tim > > > ;- Elan >> [: - )]
- [REBOL] OpenSource REBOL Re:(4) icimjs
- [REBOL] OpenSource REBOL Re:(5) jbone
- [REBOL] OpenSource REBOL Re:(6) Al . Bri
- [REBOL] OpenSource REBOL Re:(7) jbone
- [REBOL] OpenSource REBOL Re:(8) Al . Bri
- [REBOL] OpenSource REBOL Re:(9) jbone
- [REBOL] OpenSource REBOL Re:(10) news . ted
- [REBOL] OpenSource REBOL Re:(10) robert . muench
- [REBOL] OpenSource REBOL Re:(11) Al . Bri
- [REBOL] [REBOL] Logging Rebol Errors tjohnson
- [REBOL] OpenSource REBOL Re: icimjs
- [REBOL] OpenSource REBOL Re: news . ted
- [REBOL] Re: OpenSource REBOL Re: ejolson
- [REBOL] How do I conditionally shadow a variable Re:(... bobr
- [REBOL] Re: How do I conditionally shadow a variable ... giesse
- [REBOL] How do I test for simple regex from external strin... bobr
- [REBOL] How do I test for simple regex from external ... Al . Bri
- [REBOL] How do I test for simple regex from external ... bobr
- [REBOL] How do I test for simple regex from external ... Al . Bri
- [REBOL] How do I test for simple regex from external ... icimjs
- [REBOL] How do I test for simple regex from external ... icimjs