Using For[] for Generating Multiple Output Cells
- To: mathgroup at smc.vnet.net
- Subject: [mg104858] Using For[] for Generating Multiple Output Cells
- From: BenT <brtubb at pdmusic.org>
- Date: Thu, 12 Nov 2009 06:01:23 -0500 (EST)
Consider this v7 code which works as intended: x = 65; n0 = Names[ StringJoin[ "System`", FromCharacterCode[x], "*" ] ]; Grid[Partition[n0, 3], Alignment -> Left, Frame -> All] And now consider this code which allows far more versatility, for consecutive multiple outputs using the For[] function. BUT for some reason it doesn't appear to work at all! Does anyone know why? Can it be "fixed" as intended? For[x = 65, x < 91, x++, n0 = Names[ StringJoin[ "System`", FromCharacterCode[x], "*" ] ]; Grid[Partition[n0, 3], Alignment -> Left, Frame -> All] ] --- Benjamin Tubb
- Follow-Ups:
- Re: Using For[] for Generating Multiple Output Cells
- From: DrMajorBob <btreat1@austin.rr.com>
- Re: Using For[] for Generating Multiple Output Cells