FAQ
Cover
\
Build
\
Source
\
Bugs
\
Reference
\
Libraries
\
Tools
The bugs database has moved
here
.
Bug 1547 : processing boolean "online" causes compiler error
Last modified: 2010-04-15 19:02
P
roject:
processing
trash
Version:
unspecified
Co
m
ponent:
android
book
core
libraries
pde
reference
tools
web
Status:
RESOLVED
Resolution:
WONTFIX -
Pr
i
ority:
P2
Severity:
normal
Platform
All
O
S:
All
Windows
Mac OS
Linux
Other
Reporter:
p brouwer
Assigned To:
fry
Attachment
Type
Created
Size
Actions
code snip
application/octet-stream
2010-04-14 17:42
171 bytes
Description
: Opened: 2010-04-14 17:41
usage such as:
if (online) { // ... }
causes compiler error.
Additional Comment
#1 From p brouwer 2010-04-14 17:42
edit
]
code snip
Additional Comment
#2 From fry 2010-04-14 19:26
With Android? Or with the desktop version?
Additional Comment
#3 From fry 2010-04-15 04:17
This isn't available on Android. There's no such thing as 'online', which
is specific to applets. I've made a note in about.txt.
Additional Comment
#4 From p brouwer 2010-04-15 09:04
"online" doesn't mean anything in Windows either but it still compiles and I can still
export. I don't care about this -- but it is a departure from how things work in Processing
until now.
Additional Comment
#5 From fry 2010-04-15 16:43
No, of course it means something on Windows. It's used to determine whether
a sketch is online (exported as an applet, in a browser), or that it's
running locally or as an application. That's the point of it being there.
Additional Comment
#6 From p brouwer 2010-04-15 19:02
got it.