Problem with 5 and 6

1 view
Skip to first unread message

Aaron

unread,
Jun 13, 2011, 9:46:56 PM6/13/11
to BYU CS 142 (Spring 2011) [McCarthy]
can we define a function or method that starts with a number?

I get some funky compile errors when I try it. When I remove the 3
from 3DayMovingAverage, everything works like normal.

What's going on here?

Sarah (TA)

unread,
Jun 13, 2011, 9:48:57 PM6/13/11
to byu-cs-jm-14...@googlegroups.com

Jay McCarthy

unread,
Jun 13, 2011, 10:10:20 PM6/13/11
to byu-cs-jm-14...@googlegroups.com
Obviously this means I'm dumb for picking that name :)

Jay

2011/6/14 Aaron <l33...@gmail.com>:

--
Jay McCarthy <j...@cs.byu.edu>
Assistant Professor / Brigham Young University
http://faculty.cs.byu.edu/~jay

"The glory of God is Intelligence" - D&C 93

Reply all
Reply to author
Forward
0 new messages