FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1205 : Book p. 460 - Code error
Last modified: 2010-04-22 12:29
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
ASSIGNED
Resolution:
-
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
Bravo
Assigned To:
REAS
Attachment
Type
Created
Size
Actions
Description
: Opened: 2009-03-14 08:41
This error relates to another mentioned in Bug Report 1204.
Line 11 of code 48-10:
if (press == true) {
will generate the error:
Cannot find anything named "press"
The line should be changed to:
if (pressed == true) {
because "pressed" is the name of the boolean variable in the super-class
(p. 439, line 8) that this class extension refers to.
Additional Comment
#1 From REAS 2010-04-22 12:29
Thank you. This will be fixed in the next printing.
This bug is now being tracked
here
.