項目の [名前] に使用できる有効な文字を以下に示します。
Unicode カテゴリーの内、Lu、Ll、Lt、Lm、Lo、および Nl 文字は [名前] の最初の文字として使用できます。
以下の単語は予約されているため、項目の [名前] には使用できません。
| 大文字と小文字を区別しない単語 | 大文字と小文字を区別する単語 | |
| 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 INGREDIENT |
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 |
- |
テキストモードスクリプトで以下のキーワードを変数名として使用する場合、接頭辞 "$Global" を付けてください。例、'$Global.with'
|
キーワード |
||||
|
break |
const |
continue |
debugger |
default |
|
delete |
do |
export |
extends |
finally |
|
for |
function |
goto |
import |
instanceof |
|
return |
super |
switch |
throw |
try |
|
var |
while |
with |
|
|
以下の単語は、コンパウンドオブジェクトおよびコンパウンドオブジェクのプロパティの [名前] には使用できません。
|
単語 |
|||
|
ActualHeight |
ActualWidth |
Angle |
Animation |
|
AspectRatio |
Children |
Clip |
ConfirmPasswordOnExport |
|
Description |
DesignHeight |
DesignWidth |
Height |
|
Location |
Lock |
Margin |
Name |
|
ObjectAlignment |
Options |
Script |
SubType |
|
Type |
UniqueId |
Visibility |
Width |