[ Order This Book ]


More Info:
Table of Contents

Mapbasic Developer's Guide
Author: Whitener, Angela / Ryker, Breck

Cover: cover
Pages: 350
List Price: $56.95
Published by Onword Press
Date Published: 11/1996
ISBN: 1566901138


Table of Contents

Introduction                                       xi
  Book Organization                                  vi  
  Typographical Conventions                          vii 
  Companion Diskette                                 viii
    CHAPTER 1  Introducing MapBasic                  1   
      Types of Applications                          2   
      Advantages of Custom Applications              3   
      MapBacis Fundamentals                          4   
      Sample MapBaisc Program                        11  
      Syntax Errors On Complies                      15  
      Mouse and Keyboard Shortcuts                   16  
      Summary                                        19  
    CHAPTER 2  Elements of MapBasic                  21  
      Variables                                      22  
      Operators                                      27  
      More Variable Information                      31  
      Using Hungarian Naming                         36  
      Defines                                        41  
      Summary                                        43  
    CHAPTER 3  Building to Program                   45  
      Program Organization                           46  
      Control Statements                             48  
      Include Statement                              56  
      Project Files                                  60  
      Standards in Programming Style                 65  
      Subroutines and Functions                      69  
      Summary                                        79  
    CHAPTER 4  Menus                                 81  
      Menu Bar Basics                                82  
      Altering Menu Items                            83  
      User-friendly Menu Items                       87  
      Using Programmer's Editors (Command Line       93  
      Interface)
      Additional Menu Bar Controls                   94  
      Summary                                        106 
    CHAPTER 5 Working with Tables and Files          107 
      Common Table Commands                          108 
      Registering Tables, Metadata, and File 1/O     118 
      Column Data, Query Tables, and the Cosmetic    133 
      Layer
      Summary                                        156 
    CHAPTER 6  Debugging and Trapping Errors         157 
      Note Statement                                 159 
      Print Statement                                160 
      Stop Statement                                 172 
      Trapping Errors: The OnError Statement         177 
      Err, Error$ and Error Statement                182 
      Summary                                        185 
    CHAPTER 7  Dialogs and Button Pads               187 
      Standard Dialogs                               188 
      Custom Dialogs                                 209 
      Dialogs in Other Languages                     244 
      Buttons and Button Pads                        244 
      Summary                                        258 
    CHAPTER 8  Coding Windows                        259 
      Browser Window                                 259 
      Map Window                                     262 
      Printing Windows                               270 
      Graph Windows                                  276 
      Redistricting Window                           283 
      Summary                                        285 
    CHAPTER 9  Selecting Data                        287 
      SQL Select Statement                           288 
      Sample Application Featuring Select            311 
      Statements
      Find Functions                                 314 
      Summary                                        322 
    CHAPTER 10  Programming with Workspaces          323 
      Using Workspaces in MapBasic Programs          324 
      Special Workspaces                             328 
      Sample Workspace Programs                      329 
      Summary                                        347 
    CHAPTER 11  Editing Objects                      349 
      Creating and Inserting Objects                 350 
      Querying and Extracting Objects                362 
      An Advanced Graphics Application               377 
      Creating a Library of Reusable Functions       410 
      Summary                                        417 
    CHAPTER 12  Using Other Languages for Maplnfo    419 
    Programming
      DDE                                            420 
      Integrated Mapping                             437 
      Geocoding                                      459 
      Summary                                        464 
    CHAPTER 13  Additional Features                  471 
      DLL                                            472 
      Advanced Remote Data Topics                    483 
      Including Windows Help Files                   496 
      Summary                                        500 
  APPENDIX A  MapBasic Languages Cross-Reference     501 
  MapBasic Fundamentals                              502 
  Files (non-table)                                  504 
  Functions                                          505 
  Map Objects and Layout Objects                     507 
  Tables                                             510 
  User Interface                                     512 
  Connecting with other applications                 515 
  Speical Statements and Functions                   516 
  APPENDIX B  ASCII Character Code Table             517 
  APPENDIX C  MAPBASIC.DEF                           525 
  APPENDIX D  MENU.DEF                               547 
  APPENDIX E ICON.DEF                                557 
  INDEX                                              569