11.07.2015 Views

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

Caché ObjectScript Reference - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Given “abcd” $ZLASCII returns 1684234849. Given 1684234849, this $CHAR statementreturns “abcd”.See Also• $CHAR function• $ZLASCII function• $ZWCHAR function$ZNAME$ZNAMEValidates the specified name string as a legal identifier.$ZNAME(string,n,lang)ParametersstringnlangThe name to evaluate, specified as a quoted string.Optional — An integer code specifying the type of name validation toperform. The default is 0.Optional — An integer code specifying the language mode to use whenvalidating string. The default is to use the current language mode.Description$ZNAME returns 1 (true) if the string parameter is a legal identifier. Otherwise, $ZNAMEreturns 0 (false). The optional n parameter determines what type of name validation to performon the string. If this parameter is omitted, the validation defaults to local variable name conventions.The optional lang parameter specifies what language mode conventions to applyto the validation.The valid identifier characters for your locale are defined in the National Language Support(NLS) Identifier locale setting; they are not user-modifiable. Refer to Customized NationalLanguage Translations for further details on NLS.$ZNAME only performs character validation; it does not perform string length validationfor identifiers.<strong>Caché</strong> <strong>ObjectScript</strong> <strong>Reference</strong> 547

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!