DIMension syntax checking...

Fairlight fairlite at fairlite.com
Tue Feb 7 15:47:08 PST 2006


With neither thought nor caution, Bob Stockler blurted:
> 
> A space is not a legal character in an array name.  From what I know
> (which may not be too much):
> 
>    Array names must consist of letters, digits and . or _ and may
>    begin with any of them.

I agree, Bob.  And I'm not suggesting it's a legal character -in the name-.

There's:

arr[]

..and there's:

arr []

The space isn't taken as part of the name, making it "arr ". That's
not what's happening.  It's entirely ignoring that.  The issue is that
whitespace is (apparently, surprisingly, eye-poppingly) allowed between
name and subscript notation.  So both of the above are legal.

But I completly agree that:

ar r[]

...is illegal.  

But that's not where the whitespace issue fell.

mark->


More information about the Filepro-list mailing list