- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is anyone know how to get the runtime error from array bound check i.e. without crashing the program. some what like iostat in file opening or stat in allocation of arrays?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You may be able to trap the exception using SIGNALQQ, but I've never tried this. Furthermore, what you could do after getting the error is quite limited - it's not like IOSTAT.
Under what circumstances would this not be a fatal error? You could always check the bounds yourself before doing the array operation and take whatever action you felt appropriate?
Steve
Under what circumstances would this not be a fatal error? You could always check the bounds yourself before doing the array operation and take whatever action you felt appropriate?
Steve

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page