ERROR("premature end of file encountered ");
Vinay Wagh · Thu Aug 11, 2005 5:32 pm
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
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