Article View: comp.sys.mac.programmer.codewarrior
Article #666Re: How to crop image in powerplant
From: Jon Summers
Date: Thu, 09 Oct 2003 13:04
Date: Thu, 09 Oct 2003 13:04
23 lines
2318 bytes
2318 bytes
in article 7328a61a.0310090125.3fd8c2aa@posting.google.com, wall at heroin_c@hotmail.com wrote on 09/10/03 7:25 PM: > who know where is error in this code. because sometime when the code > perform here,project will crash. You code crashes writing passed the end of the destination GWorld off-by-one error /n./ Exceedingly common error induced in many ways, such as by writing <= N instead of < N. fencepost error /n./ A problem with the discrete equivalent of a boundary condition, often exhibited in programs by iterative loops. From the following problem: "If you build a fence 100 feet long with posts 10 feet apart, how many posts do you need?" (Either 9 or 11 is a better answer than the obvious 10.) Fencepost errors come from counting things rather than the spaces between them. -- jons(AT)vrtools(DOT)invalid
Technical Details
Message-ID:
<BBAB99FD.C419%jons@vrtools.INVALID>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news-out.newsfeeds.com!propagator2-maxim!news-in-maxim.spamkiller.net!snewsf0.syd.ops.aspac.uu.net!news1.optus.net.au!optus!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!not-for-mailReferences:
<7328a61a.0310090125.3fd8c2aa@posting.google.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10bcce,84ab783dcdd87219 X-Google-Attributes: gid10bcce,public X-Google-Thread: f98ee,84ab783dcdd87219 X-Google-Attributes: gidf98ee,public X-Google-Thread: f635e,84ab783dcdd87219 X-Google-Attributes: gidf635e,public X-Google-Thread: 11100c,84ab783dcdd87219 X-Google-Attributes: gid11100c,public X-Google-ArrivalTime: 2003-10-09 06:04:34 PST User-Agent: Microsoft-Entourage/10.1.0.2006 Date: Thu, 09 Oct 2003 23:04:29 +1000 Subject: Re: How to crop image in powerplant From: Jon Summers <jons@vrtools.INVALID> Newsgroups: comp.sys.mac.programmer.codewarrior,comp.os.ms-windows.programmer.tools.misc,codewarrior.mac,comp.sys.mac.programmer.tools Message-ID: <BBAB99FD.C419%jons@vrtools.INVALID> References: <7328a61a.0310090125.3fd8c2aa@posting.google.com> Mime-version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit NNTP-Posting-Host: ppp192-57.lns1.syd3.internode.on.net X-Trace: duster.adelaide.on.net 1065704672 ppp192-57.lns1.syd3.internode.on.net (9 Oct 2003 22:34:32 +0950) Lines: 24 Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.frii.net!newsfeed.frii.net!news-out.newsfeeds.com!propagator2-maxim!news-in-maxim.spamkiller.net!snewsf0.syd.ops.aspac.uu.net!news1.optus.net.au!optus!news.mel.connect.com.au!news.ade.connect.com.au!duster.adelaide.on.net!not-for-mail