Instructions in for
- To: mathgroup at smc.vnet.net
- Subject: [mg89371] Instructions in for
- From: "Alejandra Lozada" <alozih at gmail.com>
- Date: Sat, 7 Jun 2008 02:59:49 -0400 (EDT)
Hello Group, ______________________________________________ QUESTION: how to introduce many instructions in for? ______________________________________________ In C++ it is possible to use while/for and include many instructions: for( i=0; i<n; i++ ){ instructions, as many as you like } In Mathematica, one instruction (Print) : For[ i=1, i<n, i++, Print[i] ] how can I include more instructions? Thank you All, Alejandra L.
- Follow-Ups:
- Re: Instructions in for
- From: Murray Eisenberg <murray@math.umass.edu>
- Re: Instructions in for
- From: "Curtis F. Osterhoudt" <cfo@lanl.gov>
- Re: Instructions in for
- From: "W_Craig Carter" <ccarter@mit.edu>
- Re: Instructions in for