Programming
89
etLinx Studio (v2.4 or higher)
 If the Enable Code Folding option has not been enabled, these two options are
unavailable.
 Also note that the application will remember your last code folding settings when the file
is closed, so they will still be in place the next you open the file (v2.4 or later).
Unicode Characters
To insert unicode characters into the active Source Code file, at the cursor's position:
1. Select Unicode Edit from the Edit Menu or the Source Code Editor Context Menu to access
the Enter Text... dialog.
2. Type one or more characters in the upper text field to display the characters' unicode send
command value in the lower (read-only) window.
3. Press OK to insert the unicode send command value in the code, at the cursor's position.
UTF-8 Encoding
In the Save As dialog, select UTF-8 from the Encoding menu to enable UTF-8 support for new
files, to help NetLinx Studio files to work better with other editors.
You can also select the Enable UTF-8 Encoding option in the Editor tab of the Preferences dialog.
Insert Section
The Insert Section option allows you to insert a particular section heading in your code, at the
cursor's position. This option is available via the Edit menu, the Source Code Editor context menu,
or the Edit toolbar.
1. Select Edit > Insert Section to access the Insert Section sub-menu.
2. Position the cursor at the beginning of the line that you want to add the section heading to.
3. Select the section heading that you want to add from the sub-menu. The available options are:
You may also encode files created with a previous version of NetLinx Studio by
choosing "Save-As" and selecting the UTF-8 encoding.
This command only works on the open Source Code Editor window.
NetLinx: Axcess:
DEFINE_DEVICE DEFINE_DEVICE
DEFINE_CONSTANT DEFINE_CONSTANT
DEFINE_TYPE
DEFINE_VARIABLE DEFINE_VARIABLE
DEFINE_LATCHING DEFINE_LATCHING
DEFINE_TOGGLING DEFINE_TOGGLING
DEFINE_MUTUALLY_EXCLUSIVE DEFINE_MUTUALLY_EXCLUSIVE
DEFINE_CONNECT_LEVEL DEFINE_CONNECT_LEVEL
DEFINE_START DEFINE_START