Karl --
Thanks for looking into this. I forgot to put in the original post
that I've tried this with a new delivery of Sage both to my
home machine running Snow Leopard and the lab machines running Lion. I had
my tutors in the lab to try some basic Gap
programming through Sage so they could learn the language and be prepared
to help students next week. We ran into
quite a few odd things like this. One program (similar to the one posted)
had no output if the code was properly indented,
but when leading spaces were deleted, it worked. There also seem to be
many times that the notebook has to be reinitialized
to get things to work. I'm wondering if sometimes Sage hands off strings
to Gap while Gap is at a break rather than at its
main prompt.
I also find it odd that an expression like 2 + 3 (without an
ending semicolon) produces output 5. In Gap this expression
would not produce output until a closing semicolon is entered. Hence, I
wonder if Sage is adding semicolons in unexpected
places. (Double semicolons suppress output.)
Since I don't have a clue about how Sage notebooks interact with
Gap, I'm merely speculating. However, I'm nervous
jumping into a class when the behavior is unpredictable.
-- 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