Hello BARUCH,

> How does one correctly use the "Into" portion of the Create Ranges statement
> in Integrated Mapping?
>
> I need to create a thematic map with 5 ranges using Equal Ranges. If I use
> the following code:
>
> goMapInfo.Do "Dim fRanges() as Float"
> goMapInfo.Do "Create Ranges From MET With Population Use ""Equal Ranges""
> Number 5 Round 100 Into Variable fRange"
>
> I got a message saying that the variable is not valid.
> Hope someone can help me with this.
>
> Tim Fast
> Pioneer Hi-Bred International
Hello!
I'm think error in declaration of variable fRanges()
You _must_ define size of array:
Ex. Dim fRanges(5) as Float
        fRanges(1) = 1.0
        ... and so on
If you dont know initial size of array you may write following code:
Dim fRanges(0) as Float
and later you can change array size using ReDim statement
-- 
Best regards,
Vladimir Lashin
microOLAP Technologies LLC
mailto:[EMAIL PROTECTED]
http://www.microolap.com/gis/ - GIS related products




_______________________________________________________________________
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, send e-mail to [EMAIL PROTECTED] and
put "unsubscribe MapInfo-L" in the message body.

Reply via email to