Hi there,
 
I have recently started using Hugs 98 for Windows (previously was using the MSDOS version). In general it works fine and contains lots of useful features. However, in contrast to the MSDOS version, if I associate .hs files with hugs98 for windows, and then attempt to open them directly (double-clicking on the script file) then it fails with an error such as :
 
ERROR ""C:\HaskellProject\HaskellProject(alex-new).hs"": Unable to open file
""C:\HaskellProject\HaskellProject(alex-new).hs"" 
 
It seems that for some reason the filename gains two sets of double quotes which makes it unreadable. I can only guess that Windows supplies one set with its file-passing convention, and hugs supplies the other.
 
Interestingly, I can still edit the file (even from the hugs prompt), as WordPad accepts the filename correctly. But any attempt to load it at the hugs prompt fails, and I have to remove it from the script manager and then add it manually. In the script manager the filename has a single set of double quotes, which script files (e.g. the prelude) do not normally have here.
 
Any help would be greatly appreciated.
 
Thanks in advance,
 
Alex Summers

Reply via email to