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.
locale->asString
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
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 2015 | Web Development by Treefrog Inc | Privacy | Legal terms and Shipping | Contact LassoSoft
Recent Comments