Why am I getting an error here?
Bruce Easton
bruce at stn.com
Mon Jan 28 11:08:09 PST 2008
Mark wrote Monday, January 28, 2008 1:44 PM:
>
> Yo, homey, in case you don' be listenin', Nancy Palmquist done said:
> > Just one more option here.
> >
> > I always put the strings with forward slashes so I can display them if I
> > need to in filepro and they will read correctly.
> >
> > ac(100,*)="!PDF /f //server/data/fpro/temp/"&flname{".pdf"
> >
> > Then use xlate to flip them when you need it for WINDOWS:
> >
> > xlate(ac,"/",chr("92"))
>
> Which means a switch like /f becomes a path \f on the current drive, which
> is likely not what you want.
>
> m->
Hmm - then maybe:
Then: ds(1,*)=chr("47") '*nix dir-slash
If: @os eq "DOS"
Then: ds=chr("92") 'DOS dir-slash
If:
Then: ac(100,*)="!PDF
/f"<ds{ds{"server"{ds{"data"{ds{"fpro"{ds"temp"{ds{"&flname{".pdf"
Bruce
Bruce Easton
STN, Inc.
More information about the Filepro-list
mailing list