URL clause - MapBasic - 2023

MapInfo MapBasic Reference

Product type
Software
Portfolio
Locate
Product family
MapInfo
Product
MapInfo > MapBasic
Version
2023
Language
English
Product name
MapBasic
Title
MapInfo MapBasic Reference
First publish date
1985
Last updated
2023-09-12
Published on
2023-09-12T16:32:32.686312

Purpose

Specifies the library service URL. You can use this clause in the MapBasic window in MapInfo Pro.

Syntax

URL url

url is a valid Library Service URL.

Description

The URL clause specifies the default Library Service URL to use. It checks that the input is a valid Library Service URL, and displays an error message if it is not valid.

The default Library service URL is set to an empty string "" to indicate that the Library Service is not currently set. Once set to a valid URL, you can reset the Library Service URL to an empty string to reset it.

Example

Include "MAPBASIC.DEF"
Set LibraryServiceInfo URL

http://localhost:8080/LibraryService/LibraryService

See Also:

Set LibraryServiceInfo statement, LibraryServiceInfo( ) function