The following are the valid characters that can be used for the [Name] of items:
Among the Unicode categories, you can use Lu, Ll, Lt, Lm, Lo, and Nl characters as the initial character in a [Name].
Unsupported Compound object property name
The following words are reserved and cannot be used as the [Name] of items.
Case-insensitive Words | Case-sensitive Words | |
A | ACK | abstract |
B | BEL BOOL BS BYTE |
base |
C | CAN CR |
case catch char class |
D | DATE DATE_AND_TIME DC1 DC2 DC3 DC4 DEL DINT DLE DWORD |
decimal delegate double |
E | EM ENQ EOT ESC ETB ETX |
else enum event |
F | FF FS |
false float |
G | GS |
- |
H | HT |
- |
I | INT |
if implicit in interface internal is |
L | LF LINT LREAL LWORD |
long |
N | NAK NONE NUL |
new null |
O | - |
object out override |
P | - |
params private protected public |
R | REAL RS |
ref |
S | SI SINT SO SOH SPACE STRING STX SUB SYN |
sbyte sealed short sizeof stackalloc struct |
T | TIME TIME_OF_DAY |
this true typeof |
U | UDINT UINT ULINT US USINT |
ulong ushort |
V | VT |
virtual void |
W | WORD WSTRING |
- |
When using the following keywords as variable names in text mode scripts, prefix the variable name with "$Global". For example, '$Global.with'
Keyword |
||||
break |
const |
continue |
debugger |
default |
delete |
do |
export |
extends |
finally |
for |
function |
goto |
import |
instanceof |
return |
super |
switch |
throw |
try |
var |
while |
with |
|
|
The following words cannot be as the [Name] of compound objects and compound object properties.
Words |
|||
ActualHeight |
ActualWidth |
Angle |
Animation |
AspectRatio |
Children |
Clip |
ConfirmPasswordOnExport |
Description |
DesignHeight |
DesignWidth |
Height |
Location |
Lock |
Margin |
Name |
ObjectAlignment |
Options |
Script |
SubType |
Type |
UniqueId |
Visibility |
Width |