user command

Fairlight fairlite at fairlite.com
Tue Sep 19 11:33:18 PDT 2006


Yo, homey, in case you don' be listenin', Richard D. Williams done said:
> Linux, FP 5.14
> 
> I am trying to get a unique number by executing this script called uniqueid:
> 
> temp_file="/tmp/$$"
> echo $temp_file
> 
> This is my result from the command line:
> # uniqueid
> /tmp/23124
> #
> 
> My filepro user command syntax is:
> 
> uniq = /usr/local/bin/uniqueid
> ha=uniq
> msgbox ha
> 
> This is my result from filepro @key:
> (the graphics did not cut and paste very well, but you get the idea.)
> 
> Any suggestions as to what I am doing wrong?
> 
> Richard D. Williams

Blank field, from the look of it.

The first line should be:

user uniq = /usr/local/bin/uniqueid

Of that I'm 99% positive.  The docs I'm looking at on someone's fP system
aren't more specific than "USER labelprog" (literally), so I'm doing this
from memory from like 1995.

The other problem -may- be in the lack of a subscript.  I honestly can't
remember if USER needs one the way IMPORT does.  I can't remember if it
should be ha("1") or not.  Memory wants to say yes, but it hasn't been very
reliable today.  You can try it.

mark->


More information about the Filepro-list mailing list