Scripting > mrScriptBasic overview > mrScriptBasic examples
 
mrScriptBasic examples
This section provides some examples that illustrate using mrScriptBasic. These examples are designed to give you a taste for what is possible rather than as a teach-yourself guide to mrScriptBasic. However, the examples illustrate many of the main syntactical differences between mrScriptBasic and the Visual Basic languages. So if you have some knowledge of one of the Visual Basic languages (Visual Basic, VBA, or VBScript), these examples will help you to get started with mrScriptBasic. Many of the examples are available as a sample file that comes with the UNICOM Intelligence Developer Documentation Library. See Sample mrScriptBasic files for more information.
Topic
Name of sample
Functions.mrs
ListLanguages.mrs
MSExcelQuery.mrs
DerivedVariables.mrs
ExportToQuancept.mrs and ExportTomrScriptMetadata.mrs
CreateMddFromSav.mrs
None supplied.
CreateSQLDatabase.mrs
None supplied.
EnumerateTypeLibraryInfo.mrs
For information about the UNICOM Intelligence objects referred to in the examples, see the UNICOM Intelligence Developer Documentation Library, which also contains additional examples.
There are many additional examples elsewhere:
Data cleaning examples: Examples of using mrScriptBasic examples in the DataManagementScript (DMS) file to clean case data.
Weight component examples: Examples of using mrScriptBasic with the Weight component object model.
Setting up card and column definitions using the Metadata Model to Quantum component: An example of using mrScriptBasic with the Metadata Model to Quantum component.
See also
Running the mrScriptBasic examples
mrScriptBasic overview