Here's an example from mapbasic documentation.
Include "mapbasic.def"
Dim range_limits() As Float
Dim brush_styles() As Brush
Dim col_name As Alias
Open Table "states" Interactive
Create Styles
From Brush(2, CYAN, 0) 'style for LOW range
To Brush (2, BLUE, 0) 'style for HIGH range
Vary Color By "RGB"
Number 5
Into Variable brush_styles
' Store a column name in the Alias variable:
col_name = "Pop_1990"
Create Ranges From states
With col_name
Use "Natural Break"
Number 5
Into Variable range_limits
Map From states
Shade states
With col_name
Ranges
From Variable range_limits
Style Variable brush_styles
' Show the legend window:
Open Window Legend
----- Original Message -----
From: "Rodeo Januar" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 25, 2002 12:39 AM
Subject: MI-L need a help..
> hi all,
> i having trouble with mapbasic syntax,could anybdy help solving my
problem.
> I want to call command "create thematic map" at map basic what is the
> command should i use and please give me some example too...
> And i want to call command "find" at map basic what is the command and
plese
> give an example too
>
> I'm very appreaciate any help...
>
>
>
> ==============================
> Rodeo Januar,Bsc of Information Systems
> CCNA
> Ph:5808668
> Email:[EMAIL PROTECTED],[EMAIL PROTECTED]
> "Sucess is not a destiny is an option"
>
>
>
>
> _________________________________________________________________
> Surf the Web without missing calls! Get MSN Broadband.
> http://resourcecenter.msn.com/access/plans/freeactivation.asp
>
>
> ---------------------------------------------------------------------
> List hosting provided by Directions Magazine | www.directionsmag.com |
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> Message number: 3783
>
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Message number: 3791