Singular https://www.singular.uni-kl.de/forum/ |
|
ERROR("premature end of file encountered "); https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=1366 |
Page 1 of 1 |
Author: | Vinay Wagh [ Thu Aug 11, 2005 5:32 pm ] |
Post subject: | ERROR("premature end of file encountered "); |
Hi! I am facing somewhat odd behaviour of Singular. I have written few procedures in a single file with the code to be executed at the end. Say the name of the file is "myfile.sing". When I say > < "myfile.sing"; It raises the error . premature end of file encountered while reading the string . And then keeps on waiting for the input. Initially I thought this one to be the problem of string/ double quotes `"` mismatchings. So I commented the complete procedure part. And executed the just `print("Hello"); messages after restaring the singular. It gave me the same error. Then after restarting the computer, I tried the original file again, it worked for the 1st run. but the same problem from 2nd run onwords. Can somebody help me in this regard? Vinay P.S. I have tried this on both shell + emacs. email: vinay_wagh@yahoo.com Posted in old Singular Forum on: 2003-04-18 08:13:56+02 |
Author: | Justin Walker [ Tue Sep 20, 2005 5:40 pm ] |
Post subject: | |
It's hard to tell what's going on without seeing the actual file. Can you post it (or send it to me)? I'm fairly new at this as well, but I haven't seen the problem you describe. If I create a file containing the single line print("Hello"); and then read it with < "file"; I see Hello printed. What system (and OS version) are you using? When reporting problems, it helps to know what you are running on, what version of Singular, and a little more data about the problem. Regards, Justin PS: the text handling of this interface does *not* wrap lines, so you have to do it yourself. If you don't, you see long lines that stretch forever out to the right... email: justin@mac.com Posted in old Singular Forum on: 2003-04-21 00:32:59+02 |
Author: | Vinay Wagh [ Tue Sep 20, 2005 5:40 pm ] |
Post subject: | |
HI! I am using Singular-2-0-3 on win98. Anyway but now I have another problem that the problem I had described earlier has suddenly stopped its strange behaviour. It behaves nicely now. I think it had something to do with the memory. Anyay I 'll try to monitor in case the problem repeates. Regards Vinay email: vinay_wagh@yahoo.com Posted in old Singular Forum on: 2003-04-21 10:38:38+02 |
Page 1 of 1 | All times are UTC + 1 hour [ DST ] |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |