RE: MI mapbasic input variables

1999-10-19 Thread Warren Vick, Europa Technologies Ltd.
Hello Scott, I would like to have one sub routine such as save copy C:\city.tab as E:\temp\city.tab in which the input variable city would represent the variable that the user has selected You can use your CITY variable in an expression in table processing commands. However, there is no

RE: MI mapbasic input variables

1999-10-18 Thread Tom White
Scott, It sounds like you want to construct strings that can be executed as MapBasic commands. The spirit of this idea is to do something like the following: Dim Cmd as string Dim Path as string Dim City as string '-- to create a new table named after the value of City Cmd = "Create Table " +

Re: MI mapbasic input variables

1999-10-18 Thread Khairul Alam
Hi Scott, You may try Do Case statements as follows: Dim city, msg As String Do Case city Case toronto save copy C:\Toronto.tab as E:temp\toronto.tab Case Chicago save copy C:\Toronto.tab as