Basic: Like Statement

Creating a macro - Writing a Script - Using the API

Basic: Like Statement

Postby eeigor » Fri Jan 29, 2021 6:51 pm

The Like statement is supported by Basic, but is not mentioned in the documentation. Should it be used in code?
"abc" Like "*[abc]*" returns True.
Ubuntu 18.04 LTS • LibreOffice 7.1.1.2 Community
eeigor
 
Posts: 128
Joined: Sun Apr 12, 2020 10:56 pm

Re: Basic: Like Statement

Postby JeJe » Fri Jan 29, 2021 9:43 pm

Sure, why not... there are several features of the Microsoft Basic language family which have been cloned but aren't in the help file. Assume they work the same unless you discover otherwise.
Openoffice 4.1.6
Windows 8
JeJe
Volunteer
 
Posts: 1498
Joined: Wed Mar 09, 2016 2:40 pm


Return to Macros and UNO API

Who is online

Users browsing this forum: No registered users and 8 guests