Tip of the day! import and an annoying syntax error

Jeff Harrison jeffaharrison at yahoo.com
Mon Dec 10 10:33:54 PST 2007


--- Kenneth Brody <kenbrody at bestweb.net> wrote:

> Quoting Fairlight (Mon, 10 Dec 2007 11:37:49 -0500):
> 
> > Four score and seven years--eh, screw that!
> > At about Mon, Dec 10, 2007 at 07:37:32AM -0700,
> > fp at casabellagallery.com blabbed on about:
> >> Have you ever written a couple of lines of code
> like:
> >>   4  -------   -   -   -   -   -   -   -   -   - 
>  -   -   -   -   -   -   -
> >>        þ If:
> >>        Then: lookup new = fp_file@  r=free  -e
> >>   5  -------   -   -   -   -   -   -   -   -   - 
>  -   -   -   -   -   -   -
> >>        þ If:
> >>        Then: new(1)=ref(1); write new; close new;
> goto LOOP
> >
> > Missing line 4.5:
> >
> > If: not new
> > Then: ...
> 
> That statement will never be true.  (Re-examine the
> lookup flags.)
> 
> -- 

Right.  If you were to add the "not new" line, you
would also need to change the -e to -n

Jeff Harrison
jeffaharrison at yahoo.com

Author of JHExport and JHImport.  The fastest and
easiest ways to generate filepro exports and imports.


      ____________________________________________________________________________________
Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  http://tools.search.yahoo.com/newsearch/category.php?category=shopping


More information about the Filepro-list mailing list