Here's another related example.
This works:
for n in [1..10] do
for m in [1..10] do
Print(m*n,"\t");
od;
Print("\n");
od;
This works:
for n in [1..10] do
for m in [1..10] do
Print(m*n,"\t");
# Print("x");
od;
Print("\n");
od;
This produces no output:
for n in [1..10] do
for m in [1..10] do
Print(m*n,"\t");
Print("x");
od;
Print("\n");
od;
But this one works:
for n in [1..10] do
for m in [1..10] do
Print(m*n,"\t");
Print("x");
od;
Print("\n");
od;
The only difference between the last two is truncating initial spaces in
the code, i.e., not indenting the code in a proper
structured format.
-- Walter
--
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org