understanding code
- To: mathgroup at smc.vnet.net
- Subject: [mg114147] understanding code
- From: Sam Takoy <sam.takoy at yahoo.com>
- Date: Thu, 25 Nov 2010 05:57:27 -0500 (EST)
Hi, The following code: i[_] = 0; i[1]++ i[1]++ i[1]++ i[1]++ return 0 1 2 3 4. I'd like to understand whats going on here. That is, What is i? Is it a function? And what is i[1]? Is it a function or a value? Etc... Many thanks in advance, Sam