
NetLinx UniCode Functions
183
NetLinx Programming Language Reference Guide
2.
Select the
NetLinx Compiler
tab (FIG. 2).
3.
Under
Options
, check the
Enable _WC Preprocessor
checkbox.
4.
Close the Preferences dialog.
Including the Unicode Library
The Unicode Library is implemented in a NetLinx Include file, UnicodeLib.axi, that must be included in
your program in order to access the Unicode functions. The Unicode Library is located in an Include file
located in the C:\Program Files\Common Files\AMXShare\AXIs directory. Because this location is the
default Include search path, you do not need to specify the directory in the include statement.
To include the Unicode Library to your program add these lines to your program:
(***********************************************************)
(* INCLUDE FILES GO BELOW *)
(***********************************************************)
#INCLUDE 'UnicodeLib.axi'
Defining a Unicode String Literal
To enter Unicode characters into your program, enclose the characters in single quotes, like you would
any other string, and wrap the string literal in the Unicode macro _WC. Here is an example:
_WC('Your string goes here')
FIG. 2
NetLinx Compiler tab of the Preferences dialog
Summary of Contents for NETLINX PROGRAMMING LANGUAGE
Page 15: ...Table of Contents xiii NetLinx Programming Language Reference Guide...
Page 16: ...xiv NetLinx Programming Language Reference Guide Table of Contents...
Page 18: ...Introduction 2 NetLinx Programming Language Reference Guide...
Page 76: ...Language Elements 60 NetLinx Programming Language Reference Guide...
Page 106: ...Combining Devices Levels and Channels 90 NetLinx Programming Language Reference Guide...
Page 112: ...Master To Master M2M 96 NetLinx Programming Language Reference Guide...
Page 182: ...Reserved Identifiers 166 NetLinx Programming Language Reference Guide...
Page 204: ...NetLinx UniCode Functions 188 NetLinx Programming Language Reference Guide...
Page 244: ...Appendix B Glossary 228 NetLinx Programming Language Reference Guide...
Page 245: ...Appendix B Glossary 229 NetLinx Programming Language Reference Guide...