Lasso Soft Inc. > Home

[ locale->asString ]

Method

The [locale->asString] method returns the current locale information as a string object with each part of the locale settings concatenated together with an underscore character '_' . 

This method is used primarily for debugging purposes.

  • Syntax
locale->asString
Examples
  • Beginner

Return the "definintion" of a locale in human readable form

Use the [locale->asString] method. This example defines two locale varaibles, one as United States(Computer) and one as the server default and uses [locale->asString] to return thier definintions.

Code

local( aLocale = locale('en', 'US','POSIX'),
     defLocale = locale_default)

#aLocale->asString+'\n'
#defLocale

Result

en_US_POSIX
en_CA

Recent Comments

No Comments found

Please note that periodically LassoSoft will go through the notes and may incorporate information from them into the documentation. Any submission here gives LassoSoft a non-exclusive license and will be made available in various formats to the Lasso community.

LassoSoft Inc. > Home

 

 

©LassoSoft Inc 2015 | Web Development by Treefrog Inc | PrivacyLegal terms and Shipping | Contact LassoSoft