Thread
:
Warning: integer argument expected, got float
View Single Post
12-25-2011, 12:14 AM
PM User
|
#
5
Samhain13
Regular Coder
Join Date: Aug 2008
Location: Pilipinas
Posts: 165
Thanks: 4
Thanked 18 Times in 18 Posts
notch[x]/360 is likely going to be a float anyway, regardless of whether notch[x] were rounded. And the problem is, range simply doesn't want floats; hence, the Deprecation Warning.
I believe "a different kind of loop structure" is truly in order.
__________________
I am a Man of Truth. I am a Free Human Person. I am a Peacemaker.
**
Independent Multimedia Artist in Pasig
**
Samhain13
View Public Profile
Visit Samhain13's homepage!
Find More Posts by Samhain13