1. RE: Error Trapping - Att: Christian Cuvier
- Posted by Chris Bensler <bensler at nt.net> Oct 14, 2004
- 929 views
Chris Bensler wrote: > > > Christian Cuvier wrote: > > > > > > > What you want is error trapping and exception handling. > > > > > > I've written a library to deal with this.. > > > It's not perfect, because we can't bail out of the call stack, but > > > otherwise, it's a good solution for error trapping. > > > > [snipped library partial description] > > > > > I'll share it with anyone interested. I'm not going to post it, because > > > the code is written for my own libraries, and isn't compatible with the > > > official rds libraries. There also isn't any documentation. If there is > > > anyone interested, I can port it back for them, and whip up some docs. > > > > > > > > > Chris Bensler > > > Code is Alchemy > > > > I'm quite interested. > > I'm so tired to work on a string whose length may grow or shrink as the > > result > > of recursive processing, and code n*n times "if i>length(theString) then > > > > exit > > end if". If your lib causes the interpreter to behave in a coder defined > > > > way - > > like "on error exit" or anything akin -, then it's ok. > > Breaking compatibility is a strong decision: sometimes it must be taken, > > > > and > > accompanying measures must be taken alongside. > > How would you describe the performance penalty of using this? If it's > > too > > huge I'd be a bit wary, but I generally don't need cutting edge > > performance in > > my code, just reasonable one. There are fastmachines nowadays. > > > > CChris > > > > > In my experience, my exception library does not cause a performance loss > > at all. The same steps are taken to throw and trap an error as is to > manually test and report an error. The difference is in the automation > of the task. Any performance penalty incurred would happen within the > error cases, by which point, perfomance is a sideline then. > > I'll work on porting the lib for you. > > Chris Bensler > Code is Alchemy > You can get my exception library from http://empire.iwireweb.com/forums/index.php?download=19 Sorry, you will have to sign up, I haven't figured out how to allow guests to download files yet :< Chris Bensler Code is Alchemy
2. RE: Error Trapping - Att: Christian Cuvier
- Posted by Chris Bensler <bensler at nt.net> Oct 16, 2004
- 909 views
Juergen Luethje wrote: > > > Chris Bensler wrote: > > <snip> > > > You can get my exception library from > > http://empire.iwireweb.com/forums/index.php?download=19 > > > > Sorry, you will have to sign up, I haven't figured out how to allow > > guests to download files yet :< > > I am also interested, but can't download your library. I have signed up, > but when I click at the big "Click Here To Download" bar, that HTML > page is downloaded (named "index.html" after download), not the library. > > > > Chris Bensler > > Code is Alchemy > > Regards, > Juergen > It appears to work correctly when I test. I'm not sure what the problem might be Jeurgen :/ Did you try any of the other downloads? The only thing I can think of is that maybe you chose 'save link as' instead of going to the download link. This is the url to go to, it will automatically start the download. http://empire.iwireweb.com/forums/index.php?act=Downloads&do=download&id=19 Does anyone else have a problem to download the file? (That link will only work for Empire Website members) Chris Bensler Code is Alchemy
3. RE: Error Trapping - Att: Christian Cuvier
- Posted by Chris Bensler <bensler at nt.net> Oct 16, 2004
- 936 views
Chris Bensler wrote: > > > Juergen Luethje wrote: > > > > > > Chris Bensler wrote: > > > > <snip> > > > > > You can get my exception library from > > > http://empire.iwireweb.com/forums/index.php?download=19 > > > > > > Sorry, you will have to sign up, I haven't figured out how to allow > > > guests to download files yet :< > > > > I am also interested, but can't download your library. I have signed up, > > but when I click at the big "Click Here To Download" bar, that HTML > > page is downloaded (named "index.html" after download), not the library. > > > > > > > Chris Bensler > > > Code is Alchemy > > > > Regards, > > Juergen > > > > It appears to work correctly when I test. > I'm not sure what the problem might be Jeurgen :/ > Did you try any of the other downloads? > The only thing I can think of is that maybe you chose 'save link as' > instead of going to the download link. > > This is the url to go to, it will automatically start the download. > http://empire.iwireweb.com/forums/index.php?act=Downloads&do=download&id=19 > > > Does anyone else have a problem to download the file? (That link will > only work for Empire Website members) > > Chris Bensler > Code is Alchemy > I've solved the problem with guest priviledges. You should be able to fetch that file without needing to login. Chris Bensler Code is Alchemy