I'm getting a syntax error with IMPORT...Why?

Boaz Bezborodko boaz at mirrotek.com
Mon Feb 14 09:25:29 PST 2011


I'm not sure why I am getting a syntax error, but here it is together 
with the code:


*** A filePro Error Has Occurred ***

Line Number: 23

caltag(4) ne "Dropship Vendor Notification Report"
^
Process contains a syntax error at position indicated.


22 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: GOSUB ImpCall ◄
23 ------- - - - - - - - - - - - - - - - -
◄ If: caltag(4) ne "Dropship Vendor Notification Report" ◄
Then: BEEP ; SHOW "@This is not a proper Vendor Notification Report...Pr>
24 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: RETURN ◄
25 ------- - - - - - - - - - - - - - - - -
ImpCall◄ If: ◄
Then: ◄
26 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: IMPORT WORD caltag=("/USERS/OFFICE/Import-documents/ "{File_Name) ◄
27 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: Line_Num=Line_Num+"1" ◄
28 ------- - - - - - - - - - - - - - - - -
◄ If: ◄
Then: RETURN ◄

P.S. Belated Happy B-Day, Ken. Thanks for a program that makes doing 
data-processing easy.


More information about the Filepro-list mailing list