🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.language.objectpascal
Article #32471

Re: Using constants & in

#32471
From: Stephen Froude
Date: Fri, 22 Nov 2002 13:08
11 lines
1550 bytes
>Why? Because [100..1000] would be a set, and a set can only contain 
>values 0..255. So without range checking, you probably get [100..1000 
>mod 256], or [100..232].

Yes, of course.  Thank you.  Now it makes sense.

>Do you have range checking on? If you do (you should *always* do that, 
>even in deployed code), you'll get a range check error, and rightly so.

Could you answer another quick question?  If I should always have range checking switched on, why is it now activated by default when I create a new application?
Technical Details
Message-ID: <3dde2c44$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail
References: <3dde1a3b$1@newsgroups.borland.com> <3dde1f33@newsgroups.borland.com> <3dde225f$1@newsgroups.borland.com> <3dde2ace$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109d30,1c6f6604b711dd81
X-Google-Attributes: gid109d30,public
X-Google-ArrivalTime: 2002-11-22 05:17:23 PST
From: "Stephen Froude" <sfroude@teleplan-uk.c0m>
Sender: "Stephen Froude" <sfroude@teleplan-uk.c0m>
Reply-To: "Stephen Froude" <sfroude@teleplan-uk.c0m>
Subject: Re: Using constants & in
Newsgroups: borland.public.delphi.language.objectpascal
X-User-Info: 193.130.174.58 193.130.174.58    
References: <3dde1a3b$1@newsgroups.borland.com> <3dde1f33@newsgroups.borland.com> <3dde225f$1@newsgroups.borland.com> <3dde2ace$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3dde2c44$1@newsgroups.borland.com>
Date: 22 Nov 2002 05:08:20 -0800
X-Trace: newsgroups.borland.com 1037970500 207.105.83.65 (22 Nov 2002 05:08:20 -0800)
Lines: 12
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-04!supernews.com!news.maxwell.syr.edu!fu-berlin.de!news.uni-x.net!newsgroups.borland.com!not-for-mail