readline syntax error
Richard Kreiss
rkreiss at gccconsulting.net
Wed May 7 12:41:42 PDT 2008
I again misquoted myself.
The code was:
Xx=readline(aa,ab)
If:ab eq ""
Then: RETURN
When I, at line 44 aa=open(pfile,"rt");ab(1024,*)
That is when the syntax error at readline() stopped.
I think we are both saying the same thing but a bit differently.
Richard
> -----Original Message-----
> From: Kenneth Brody [mailto:kenbrody at bestweb.net]
> Sent: Wednesday, May 07, 2008 3:26 PM
> To: gccconsulting at comcast.net
> Cc: rkreiss at gccconsulting.net; filepro-list at lists.celestial.com
> Subject: RE: readline syntax error
>
> Quoting GCC Consulting (Wed, 7 May 2008 15:23:11 -0400):
>
> > Apparently my follow up post did not reach the list.
> >
> > Problem was that ab was uncast. When I added
> > ab(1024,*)=readline(aa,ab), the syntax error disappeared.
> >
> > Ken, ab is only referenced in this part of the program.
>
> The problem is not that ab was "uncast", but "undefined". The code
> snippet
> you included had only one reference to "ab" -- inside the READLINE()
> call.
> If you never actually defined a variable "ab", then it is a syntax
> error to
> attempt to pass the non-existent field to READLINE().
>
> [...]
>
> --
> Read the truth behind the movie "Expelled" at
> <http://www.ExpelledExposed.com>
> --
> KenBrody at BestWeb dot net spamtrap:
> <g8ymh8uf001 at sneakemail.com>
> http://www.hvcomputer.com
> http://www.fileProPlus.com
More information about the Filepro-list
mailing list