mid statement

Todd todd at weshyd.com
Thu Nov 17 16:13:43 PST 2005


SCO5.0.7
filePro 5.0.14R4

  Am I missing something obvious or is the following not allowed. I am 
getting a syntax error on the mid statement:

1  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
        ¦ 
If:                                                                   ¦
        Then: lookup dtl = macswodtl  r=free  -e
   2  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
        ¦ 
If:                                                                   ¦
        Then: copy dtl
   3  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
        ¦ 
If:                                                                   ¦
        Then: dtl[1] = "WC80597"
   4  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
        ¦ If: ' SPECIAL KEY, W/O# & PART NUMBER
        Then: mid(dtl[30],"1","7") = "WC80597"

*** A filePro Error Has Occurred ***

Line Number: 4

mid(dtl[30],"1","7") = "WC80597"
     ^
Process contains a syntax error at position indicated.

Thanks for your help.


**********************************
Todd Koenig
Western Hydrostatics, Inc.
(951) 784-2133
Rexroth Service Center ASC22
www.weshyd.com
********************************** 



More information about the Filepro-list mailing list