On Fri, 18 Jun 2010, Wade Bowmer wrote:

> On Fri, 18 Jun 2010 03:57:55 +1000, Steve Graham <[email protected]> wrote:
> > Thanks, Hugh.  Forgot to include the most important thing!
> > 
> > ---
> 
> 
> Backslashes are your problem. They won't work in Unicon strings like that.
> Either double them or replace them with forward slashes.

Then there probably needs to be something added to 

http://unicon.org/utr/utr7.html#features

or it's equivalent.  A quick prod of the search engines turned up
that.  Paths will appear in strings, so IMHO it is relevant. 
> 
> Wade
> 

        Hugh
> 
> procedure main()
> >  in := open("c:\users\steve\desktop\dd_va.go","r") | stop("Unable to open
> > input file")
> >  out := open("c:\users\steve\desktop\dd_va2.go","w") | stop("Unable to open
> > output file")
> > while (line := read(in)) do {
> >  read(in)
> >  write(out,line)
> > }
> > close(in)
> > close(out)
> > a := 1
> > end
> 
> > ---
> 
> > --- On Thu, 6/17/10, Hugh Sasse <[email protected]> wrote:
> 
> > > From: Hugh Sasse <[email protected]>
> > > Subject: Re: [Unicon-group] Problem opening file
> > > To: "Steve Graham" <[email protected]>
> > > Cc: "Unicon Mailing List" <[email protected]>
> > > Date: Thursday, June 17, 2010, 1:51 PM
> 
> > > I'm not seeing the program in any attachments.  Are you opening the
> > > file to be altered (read + write access)?  Under Vista 64 I've had things
> > > locked by anti-virus programs in a way opaque to me as a user, only when
> > > the AV has done its job does normality return.  That's when I've been
> > > trying to move, delete or otherwise write to the file.
> 
> > > I don't know how to diagnose those further, so hope you get some other
> > > help.
> 
> > >       Hugh
> 
> > > On Thu, 17 Jun 2010, Steve Graham wrote:
> 
> > > > I'm running the following program on a Windows 7 x64 box.  When I
> > > > executeicont delete_spaces.icn
> > > > I get the following:
> > > > Translating:
> > > > delete_spaces.icn:
> > > >  main
> > > > No errors
> > > > Linking:
> > > > When I execute this:
> > > > C:\Program Files (x86)\Unicon\bin>delete_spaces
> > > > I get this:
> > > > Unable to open input file
> > > > I've checked security on the file and directory - They're owned by me
> > > > and look okay.
> > > > Probably a simple thing.
> > > > Any help would be appreciated.
> > > > Steve
> > > > 
> 
> 
> 

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Unicon-group mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/unicon-group

Reply via email to