The behavior for internet files should be changed to match the behavior for local files.
As of August, 28 2016 the behavior seems to be consistent with local files, i.e, open() fails if the url cann't be open. However a runtime error takes place if the url is "malformed. For example, trying open("unicon.org") causes this:
Run-time error 1201
File ret.icn; Line 3
offending value: "unicon.org"
main(list_1 = ["unicon.org"])
open("unicon.org","m") from line 3 in ret.icn
Should we make that a failure?
Should unicon default to prefix the url with "http://" if it doesn't have one already?
http:// or https:// ? Or try the latter first and then the former?
Log in to post a comment.