IT. Expert System.

VBS

SetLocale()


Description

The SetLocale() function sets the locale ID and returns the previous locale ID.

A locale contains a set of user preferences, like language, country, region, and cultural conventions. The locale also determines such things as keyboard layout, sort order, date, time, number, and currency formats.

Tip: Use the GetLocale() function to get the local ID.

This function has the form:

SetLocale(lcid)
Parameter Description
lcid (required) A short string, hex value, or decimal value in the Locale ID chart, that identifies a geographic locale. If the lcid parameter is set to 0, the locale will be set by the system

Examples

The following examples show the basic use of this function:

Example 1

Check the current local ID using the GetLocale function. Set the local ID = 2057, and check the local ID again:

Msgbox(GetLocale())

SetLocale(2057)
Msgbox(GetLocale())

Example 2

The SetLocale() function also returns the previous ID:

Msgbox(SetLocale(1044))

Miscellaneous Information

Supported in Version: 5.0


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 450 / 158680154. Delta: 0.10291 с