readline syntax error

GCC Consulting gccconsulting at comcast.net
Wed May 7 09:37:29 PDT 2008


Found the problem.  The answer is interesting.

Reason is ab was left uncast.  When I changed ab(1024,*) the syntax error disappeared.

Richard

> -----Original Message-----
> From: filepro-list-
> bounces+gccconsulting=comcast.net at lists.celestial.com [mailto:filepro-
> list-bounces+gccconsulting=comcast.net at lists.celestial.com] On Behalf
> Of Richard Kreiss
> Sent: Wednesday, May 07, 2008 12:31 PM
> To: filepro-list at lists.celestial.com
> Subject: readline syntax error
> 
> I am getting a syntax error with the following code:
> 
> 43  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
>       ◄ If: 'start reading this file in
>       Then: pfile="session.txt"
> 44  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
>       ◄ If:
>       Then: aa=open(pfile,"rt")
> 45  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
>       ◄ If: aa lt "0"
>       Then: BEEP;ERRORBOX "Process File Not found";EXIT
> 46  -------   -   -   -   -   -   -   -   -   -   -   -   -   -   -   -
> -
> loop  ◄ If:
>       Then: xx=readline(aa,ab)
> 
> Session.txt is created prior to line 44 executing.
> 
> 
> Richard Kreiss
> GCC Consulting
> rkreiss at gccconsulting.net
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Filepro-list mailing list
> Filepro-list at lists.celestial.com
> http://mailman.celestial.com/mailman/listinfo/filepro-list




More information about the Filepro-list mailing list