Setting Program Preferences
197
NetLinx Studio - Instruction Manual
Setting Program Preferences
Overview
Select
Settings > Preferences
to open the
Preferences
dialog, where you can set various application-level preferences.
Preferences dialog - Axcess Compiler tab
Use the options in the
Axcess Compiler Options
tab of the
Preferences
dialog to set default preferences for the Axcess
compiler (FIG. 284).
FIG. 284
Preferences dialog - Axcess Compiler tab
Axcess Compiler options
Warnings
Integer on non-arrays
This warning appears when the keyword INTEGER is applied to a non-array type of variable.
Doing this is not an error, because non-array variables are already integers, but it is redundant.
Assignment of unlike
types
This warning occurs when a variable or value of one type is assigned to a variable of a different
type.
Examples:
• Assigning a string literal, string expression, or array to a non-array variable.
• Assigning a non-array variable to an entire array.
• Assigning an integer array to a non-integer array.
• Assigning a two-dimensional array to a 1-dimensional array, or vice versa.
• Assigning the result of a function that returns an array type to a non-array variable or to a
two-dimensional array variable (for example, X = ITOA(12), where X is a non-array variable
or two-dimensional array variable).
• Assigning the result of a function that returns a non-array type to a 1- or 2-dimensional array
variable (for example, X = ATOI('AMX'), where X is a 1- or 2-dimensional array variable).
This message is a warning and not an error, because X = ITOA(12) works correctly when X
is a simple variable, since the result is a single value between Ø and 65,535.
Variable not used
This warning occurs at the end of compilation for each variable that was declared but never
used.
Summary of Contents for NetLinx Studio
Page 40: ...Working with Projects 28 NetLinx Studio Instruction Manual...
Page 148: ...Communication Settings 136 NetLinx Studio Instruction Manual...
Page 160: ...Working with Online Devices 148 NetLinx Studio Instruction Manual...
Page 178: ...File Transfer Operations 166 NetLinx Studio Instruction Manual...
Page 208: ...Tools Menu Options 196 NetLinx Studio Instruction Manual...
Page 229: ...Setting Program Preferences 217 NetLinx Studio Instruction Manual...