Path: csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!.POSTED!not-for-mail From: "Rod Pemberton" Newsgroups: comp.lang.forth Subject: Re: New to the group Date: Fri, 02 Oct 2015 20:44:49 -0400 Organization: Aioe.org NNTP Server Lines: 20 Message-ID: References: <4f5b572c-04ae-433e-bed0-9d7b754bc27b@googlegroups.com> <4340f7c0-4267-494e-988f-bdf6d3c8af0f@googlegroups.com> <97f1036b-2ca0-488f-a630-566994f8e58d@googlegroups.com> <-9udnUrFSOV8WJHLnZ2dnUU7-N-dnZ2d@supernews.com> <6bba1447-e1fe-42dd-8972-8f3c9837ad5c@googlegroups.com> <877fn4amxg.fsf@jester.gateway.sonic.net> NNTP-Posting-Host: n4wpt9zq8xR26Ttf9mo2BA.user.speranza.aioe.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@aioe.org User-Agent: Opera Mail/12.16 (Linux) X-Notice: Filtered by postfilter v. 0.8.2 Xref: csiph.com comp.lang.forth:42326 On Fri, 02 Oct 2015 19:08:27 -0400, Paul Rubin wrote: > Yes. Think of a subscript error in a C program. The C standard says > what happens when a subscript is in range, but says nothing about what's > supposed to happen when it's out of range. Traditionally in C, that's > an unsafe operation and anything can happen. (nitpick ...) It defines access one past the end of certain arrays as valid, e.g., to detect nul '\0' at the end of string. But, yes, in general, access outside the scope of valid C objects is undefined or implementation defined. Rod Pemberton -- Just how many texting and calendar apps does humanity need? Just how many food articles from neurotic millenials do we need?