From the MapBasic User Guide:
Compiling and Linking Programs From the Command Line
If you use a text editor other than MapBasic to edit your programs, you may find it awkward switching to MapBasic whenever you want to compile or link your application. However, there is a way to automate the process of compiling and linking: if you can configure your text editor so that it issues a command string, then you can compile programs without leaving your editor.
You can start the MapBasic development environment by executing the command:
mapbasic
If the command line also includes the parameter -D followed by one or more program names, MapBasic automatically compiles the program files. For example, the following command line launches MapBasic and compiles two program files (main and sub1):
mapbasic -D main.mb sub1.mb
If the command line includes the parameter -L followed by one or more project file names, MapBasic links the projects. (Linking and Project files are discussed in Compiling and Linking a Project.). For example, the following command line links the TextBox application:
mapbasic -L tbproj.mbp
The command line can include both the -D and the -L parameters, as shown below:
mapbasic -D textbox.mb -L tbproj.mbp
If you launch MapBasic with a command line that includes the -D parameter or the -L parameter, MapBasic shuts down after compiling or linking the appropriate files.
To start MapBasic without displaying a splash screen use the -Nosplash parameter:
mapbasic -Nosplash
Peter Horsbøll Møller
EMEA Channel Enablement Specialist
Location Intelligence | MapInfo
M: +45 29 133 769
--
--
You received this message because you are subscribed to the
Google Groups "MapInfo-L" group.To post a message to this group, send
email to
To unsubscribe from this group, go to:
http://groups.google.com/group/mapinfo-l/subscribe?hl=en
For more options, information and links to MapInfo resources (searching
archives, feature requests, to visit our Wiki, visit the Welcome page at
http://groups.google.com/group/mapinfo-l?hl=en
---
You received this message because you are subscribed to the Google Groups "MapInfo-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
mapinfo-l+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
From the MapBasic User Guide:
.....
I think that was done a while back – not printed though
Peter Horsbøll Møller
EMEA Channel Enablement Specialist
Location Intelligence | MapInfo
M: +45 29 133 769
From: mapi...@googlegroups.com [mailto:mapi...@googlegroups.com]
On Behalf Of Lars I. Nielsen (GisPro)
Sent: 4. marts 2016 12:02
To: mapi...@googlegroups.com
Subject: Re: [MI-L] Mapbasic commandline compilation
Print and bind MAPINFO-L entries as a book volume series ?? :-)
Good question, Bill.
I can see that MapBasic is started in a “hidden” mode if you use the –server switch.
I have never used it before.
Maybe it starts faster and just shuts down when it has compiled the module?
Let me check.
Peter Horsbøll Møller
EMEA Channel Enablement Specialist
Location Intelligence | MapInfo
M: +45 29 133 769
peter....@pb.com | @phorsbollmoller
pitneybowes.com/dk | mapinfo.com