Post a reply
Username:
Note:If not registered, provide any username. For more comfort, register here.
Subject:
Message body:
Enter your message here, it may contain no more than 60000 characters. 

Smilies
:D :) :( :o :shock: :? 8) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :!: :?: :idea: :arrow: :| :mrgreen:
Font size:
Font colour
Options:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Disable BBCode
Disable smilies
Do not automatically parse URLs
Confirmation of post
To prevent automated posts the board requires you to enter a confirmation code. The code is displayed in the image you should see below. If you are visually impaired or cannot otherwise read this code please contact the %sBoard Administrator%s.
Confirmation code:
Enter the code exactly as it appears. All letters are case insensitive, there is no zero.
   

Topic review - ERROR("premature end of file encountered ");
Author Message
  Post subject:   Reply with quote
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
Post Posted: Tue Sep 20, 2005 5:40 pm
  Post subject:   Reply with quote
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
Post Posted: Tue Sep 20, 2005 5:40 pm
  Post subject:  ERROR("premature end of file encountered ");  Reply with quote
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
Post Posted: Thu Aug 11, 2005 5:32 pm


It is currently Fri May 13, 2022 11:00 am
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group