<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.3199" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>filepro 5.0.09</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I need to open a .txt file and read each line so I 
can compare to an existing filepro file. </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>does anyone have an example of the syntax for the 
open and read commands. I cant get past two lines of code without a syntax 
error. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>This is what I have. Syntax error at 
"open"</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>aa="c:/jpgfile.wri"<BR>&nbsp; -&nbsp;&nbsp; 
-&nbsp;&nbsp; -&nbsp;&nbsp; -&nbsp;&nbsp; -</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>bb=open(aa,r)<BR></FONT></DIV></BODY></HTML>