Hi Brandi,
Use the following syntax to acheive an if/then kind of command in the
MapBasic window or a workspace:
run command left$(<<Command>>,1000*int(<<Condition>>))
eg:
run command left$("open table
""c:\temp\Property.tab""",1000*int(FileExists("c:\temp\Property.tab")))
This is great for saving into workspaces and adding custom functionality
to MapInfo and even ProViewer.
Cheers,
Simon
===========================
Simon O'Keefe
GIS & Mapping Specialist
Groundtruth
PO Box 162
Daylesford VIC 3460 Australia
phone: +61 3 5348 4370
mobile: +61 409 413 890
---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]