Export a Unix variable named File.

Joe Chasan joe at magnatechonline.com
Tue Aug 1 12:55:22 PDT 2006


On Mon, Jul 31, 2006 at 03:22:00PM -0700, George wrote:
> I must be missing something here. I'm trying to export a new file name with
> each export run.
> 
> Export ascii exp=/tmp/$file r=\n f=, -x
> 
> Apparently export takes the $variable as a literal, while -p $file works
> just great.

$file means nothing to filePro
you could do something like:
fi=getenv(file)
ascii exp=("/tmp/"{fi{"") r=\n f=, -x
 
--- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ---
-Joe Chasan-                      Magnatech Business Systems, Inc.
joe at magnatechonline.com           Hicksville, NY - USA
http://www.MagnatechOnline.com    Tel.(516) 931-4444/Fax.(516) 931-1264


More information about the Filepro-list mailing list