|
Author |
Topic: get ".expected instead of this token" (Read 251 times) |
|
c Guest
|
get ".expected instead of this token"
« on: May 21st, 2004, 2:30pm » |
|
hello there, starting with this code uppon the rest, i get this failore message: ".expected instead of this token" CODE: Kontinent[]kontinente; Kontinent[]kontinente_01; float rx, ry; float o; float zoom=.4; float bogenHoehe; float zufallsZahl; int r; any suggestions? is it possible that is has something to do with classes not beeing identified at this position in the script? thanks for help ch
|
|
|
|
c Guest
|
Re: get ".expected instead of this token"
« Reply #1 on: May 21st, 2004, 2:33pm » |
|
sorry: heres the full message: D:/processing-0069/lib/build/Temporary_8543_3865.java:1:52:1:52: Syntax Error: . expected instead of this token c
|
|
|
|
arielm
|
Re: get ".expected instead of this token"
« Reply #2 on: May 21st, 2004, 2:48pm » |
|
float zoom=.4f; would work in pure java, but since processing's preprocessor is doing some cooking in the background (e.g. making it possible not to use the "f" notation), it would accept instead something like: float zoom=0.4; not tested, just a guess...
|
« Last Edit: May 21st, 2004, 2:50pm by arielm » |
|
Ariel Malka | www.chronotext.org
|
|
|
c Guest
|
Re: get ".expected instead of this token"
« Reply #3 on: May 21st, 2004, 3:20pm » |
|
thanks, arielm; this was not the fault. it highlights the first line : Kontinente [] kontinente; c
|
|
|
|
c Guest
|
Re: get ".expected instead of this token"
« Reply #4 on: May 21st, 2004, 4:36pm » |
|
oops... now it works again after writing the code completely new . . . dont know exactly what happened...
|
|
|
|
|