🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13486

Re: crash on F12

#13486
From: Remy Lebeau (TeamB)
Date: Fri, 10 Oct 2003 17:29
19 lines
1873 bytes
"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:h1ndovsp42tk8iud5uvefqc7gigp66phpk@4ax.com...

> I also hope that in your rush, you left out wrap checking for
> mag. What happens when you zoom all the way down to 0,
> then zoom one more time? (Or zoom up and wrap back to 0?)

If the 'mag' is signed, it will simply magnify to negative values.  It
depends on how he is actually handling his magnifications whether that will
be ok or not.  The only wrapping he would have to be careful of is if he
really is approaching the real boundaries for the data type he's actually
using - don't go beyond 0 or 4,294,967,295 or unsigned int, and don't go
beyond -2,147,483,648 or 2,147,483,647 for signed int.  But then again,
maybe he wants the magnification to wrap around in the user's face after
awhile :-)


Gambit
Technical Details
Message-ID: <3f86ec05$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f85ded2$1@newsgroups.borland.com> <3f85fb0e.3478662202@forums.borland.com> <3f8629d9$1@newsgroups.borland.com> <h1ndovsp42tk8iud5uvefqc7gigp66phpk@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,2fad7e4d444a1c65
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-10-10 10:39:54 PST
From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f85ded2$1@newsgroups.borland.com> <3f85fb0e.3478662202@forums.borland.com> <3f8629d9$1@newsgroups.borland.com> <h1ndovsp42tk8iud5uvefqc7gigp66phpk@4ax.com>
Subject: Re: crash on F12
Date: Fri, 10 Oct 2003 10:29:27 -0700
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 67.22.137.75
Message-ID: <3f86ec05$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1065806853 67.22.137.75 (10 Oct 2003 10:27:33 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail