View Articles by Product or Module

There are no sub categories

Category » MapBasic Syntaxrss button

There were 4 articles found in this category:

  1. questionCan I calculate Log10 in Mapinfo?
    Occurrence MapInfo SQL and Mapbasic syntax is missing a Log10 function. It only has the natural Log, or "ln", which is the "Log(x)" function. Solution You can calculate Log10 by the formula - Log(x)/Log(10)
  2. questionHow do I calculate the area of polygons or length of polylines in my table?
    Occurrence I want to calculate the area for each polygon region in my table. Solution In MapInfo Pro, simply double left click on any Region/Polygon, Polyline or Point object to see its area, length, and coordinates. To add the area/length to a column - 1.Open the Table and navigate to TAB ...
  3. questionHow do I insert a carriage return or new line when creating a label?
    The syntax for a carriage return ('new line') in MapBasic is Chr$(13) or Chr$(10). E.g. Field1 + Chr$(13) + Field2 For example, to create a label of the HoleID with the Auppm measurement below, use the following syntax HoleID + Chr$(13) + Auppm
  4. questionExtract Point Symbol Rotation Angle to a Browser Column
    Occurence How do I extract the rotation angle from a point symbol into a specified browser field? Solution Navigate to Table>Update Column in MapInfo, select the table and field to update which needs to be a float type field. In the Value field type the following syntax: StyleAttr(ObjectInfo( ...