Using a variable as a field number

Keith Hamilton khamilton at ex-cell.com
Mon May 10 12:05:30 PDT 2004


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  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

       þ If:
þ

       Then: RN(10, .0) = uo(1)
þ

  3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

       þ If:
þ

       Then: lookup ord = EORDER  R=RN -n
þ

  4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -

       þ If:
þ

       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?

 

-- Keith

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.celestial.com/pipermail/filepro-list/attachments/20040510/eeaeab11/attachment.html


More information about the Filepro-list mailing list