|
Author |
Topic: float() in parentheses (Read 1842 times) |
|
narain
|
float() in parentheses
« on: May 8th, 2004, 12:11pm » |
|
This is very strange. float u = float(x)/width; works. float u = (float(x)/width); doesn't work: "unexpected token: float". float u = (x/float(width)); works! Apparently Processing finds it illegal for float() to be the first token in a parenthesized expression. I guess it gets confused expecting (float... to be a typecast.
|
|
|
|
fry
|
Re: float() in parentheses
« Reply #1 on: May 8th, 2004, 8:35pm » |
|
yeah, more of these have been popping up recently. thanks for the details on what's working and what's not.. that's really helpful.
|
|
|
|
|