Scott,
From the MapBasic Reference Manual under the Dim Statement:
"You cannot define array variables using the MapBasic window."
So it looks like you (and the rest of us) are out of luck on this one.
Gary.
Scott England wrote:
> I had already tried dimensioning the array but I get the same error.
> If it's any help the exact error message is "Syntax Error: (."
> Could it be something wierd to do with one of the parentheses ??
> Scott
>
> -----Original Message-----
> From: Paris Jacques <[EMAIL PROTECTED]>
> To: Scott England <[EMAIL PROTECTED]>
> Date: 01 March 1999 11:00
> Subject: Re: MI Problem DIMming an array through VB
>
> >On Mon, 1 Mar 1999, Scott England wrote:
> >> I am trying to automate Thematic Map creation through VB. As part of
> >> that process I have to DIM an array to hold the range values. The
> >> command I am using is:
> >> Mi.Do "DIM themRanges() as Float"
> >> However, when I run the command all I get is a "Syntax Error" error
> >> message Funnily, this is what I get when I run the same command from
> >> the Mapbasic window within Mapinfo itself.
> >
> >I think that you have to give the dimension of the array somewhat.
> >Assuming that you do not know the size it should have at the time you send
> >the command, mahe it themranges(1) and redim later on.
> >
> >JP
> >
> >________________________________________________________________________
> >
> >Jacques Paris Institut d'Urbanisme Universite de Montreal
> >
> >e-mail [EMAIL PROTECTED]
> >
> >web page http://www.total.net/~rparis/gisproducts.htm
> >(documents and software)
> >________________________________________________________________________
> >
> >
>
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]