Using a variable as a field number

Jean-Pierre A. Radley appl at jpr.com
Mon May 10 12:24:09 PDT 2004


Keith Hamilton propounded (on Mon, May 10, 2004 at 02:05:30PM -0500):
| I’m trying to read a textfile and updating a certain field number from the
| textfile..  How would I go about using a variable for a field number like
| 
|  
| 
|  
| 
| @menu  þ If:
|        Then: import ASCII uo="/appl/fp/import/orderupdate" R=\n F=~
|   2  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
|        Then: RN(10, .0) = uo(1)
|   3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
|        Then: lookup ord = EORDER  R=RN -n
|   4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
|        Then: ord(uo(2)) = uo(3)
| 
| 
| How would I go about making uo(2) a field number so filePro knows what to do
| with it?

aa=uo(2), for example??

How does turning it into a dummy field, as I just did, or even a real
field, result in "telling filePro what to do with it"?  

-- 
JP


More information about the Filepro-list mailing list