Just a quick thought here -- not yet checked out.
I remember having a similar problem, which went away
when I used
if f := open(...) then ... else ...
instead of
f := open(...) | stop(...)
I suspect that open assigned &null to f,
and stop was not executed.
Dick McCullough
Context Knowledge Systems
What is your view?
From: [email protected]
To: [email protected]; [email protected]
Date: Wed, 25 Jun 2014 09:41:31 +0000
Subject: Re: [Unicon-group] internet directory contents
Hi Sergey,
Thanks for your report, this bug reproduces nicely for me. Does your file end
in a newline, or is it just 3 bytes long, total? I am getting that the
messaging facilities have a problem with files not ending with a newline, but
perhaps it is more subtle
than that.
Regards,
Clint
From: Sergey Logichev <[email protected]>
Sent: Wednesday, June 25, 2014 1:17 AM
To: Unicon
Subject: Re: [Unicon-group] internet directory contents
Hello,
it was very interesting to observe progressive elegancy of your code %-)), but
I have following question. There is ordinary text file which contains a single
line "3.3". File is stored on the web. Why when I try to read it as
procedure main()
f := open("http://xmarkup.sourceforge.net/xm.version","m") | stop("http open
error")
write("v",read(f)) # shall print v3.3
close(f)
end
I don't get open error but actually no data are read? It seems as the file is
empty, but it is not true. You can check it in your browser.
Best regards,
Sergey
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group