We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexSuggestions & BugsWebsite,  Documentation,  Book Bugs › Error in code for spotLight() example
Page Index Toggle Pages: 1
Error in code for spotLight() example (Read 1204 times)
Error in code for spotLight() example
Apr 25th, 2005, 11:43am
 
Hi all.

if you haven't found this one already, the example page for spotLight() gives two examples.  The first one won't compile:

C:/Documents and Settings/User/Application Data/Processing/build/Temporary_9244_8916.java:5:1:5:51: Semantic Error: No applicable overload for a method with signature "spotLight(int, int, int, int, int, int, int, int, int, float)" was found in type "processing.core.PApplet". Perhaps you wanted the overloaded version "void spotLight(float $1, float $2, float $3, float $4, float $5, float $6, float $7, float $8, float $9, float $10, float $11);" instead?

I assume this is because spotLight() isn't passed enough parameters (i.e. concentration is omitted).

best,

reg

(Running non-expert on WinXP SP2
Re: Error in code for spotLight() example
Reply #1 - Apr 26th, 2005, 12:50am
 
thank you reg. it's now fixed in the file and will be online shortly. yes, it was missing the last parameter.
Page Index Toggle Pages: 1