From: adamo@ajax.noc.ntua.gr (Yiorgos Adamopoulos)
Subject: bounds checking
Date: 6 May 1997 00:26:30 GMT
Organization: National Technical University of Athens, Greece
Does scsh perform bounds checking on strings? Ie. will I have buffer
overruns? I am not a great scheme hacker to know to answer this, but if
scsh handles buffer overruns, then I would not have to use Perl for the
project I am currently on.
Sure! It's Scheme. No buffer overruns here.
If you try to index off the end of an array or string, the system raises an
exception. The default exception handler
- stops the program and drops into an interactive breakpoint if scsh
is running in interactive mode;
- kills the process if it is running in non-interactive mode.
-Olin
|