|
<< Click to Display Table of Contents >> Naming Conventions |
Naming Conventions
Naming rules for Panel Server |
|||
|---|---|---|---|
When setting each name, please note the following:
1)Recommended characters are letters (A-Z, a-z), numbers (0-9), and underscores (_). 2)( # )( . )( / )( ! ) cannot be used. 3)Half-width characters other than the recommended characters in 1, and full-width characters may be subject to restrictions depending on the function used, so they are not recommended. 4)The first character cannot be a number or an underscore (_). 5)The name must be 50 characters or less.
|
|||
When setting environment variables, please pay attention to the following points. Also, when setting environment variables, it will be easier to see whether an environment variable is being used by establishing rules such as enclosing the environment variable name in [].
1)Do not use any characters other than letters (A-Z, a-z), numbers (0-9), underscores (_), and square brackets ([]).
|
|||
Naming rules for Panel Editor / Panel Browser |
||||||
|---|---|---|---|---|---|---|
|
|
The name of the object is set in the "Name" property. When naming an object, please note the following:
1)The first character should only be an alphabet (A-Z, a-z) or an underscore (_). 2)After the first character, only letters (A-Z, a-z), numbers (0-9), and underscores (_) can be used. 3)Full-width characters (such as kanji) cannot be used. 4)It cannot contain spaces.
|
|||||
Every object has custom properties that you can add to it however you like.When setting custom property names, keep the following in mind:
1)The first character should only be an alphabet (A-Z, a-z) or an underscore (_). 2)After the first character, only letters (A-Z, a-z), numbers (0-9), and underscores (_) can be used. 3)Full-width characters (such as kanji) cannot be used. 4)It cannot contain spaces.
|
||||||
Regarding tag names and other strings used in bindings, note the following:
1)You cannot use the same characters as the operator symbols defined in "Operators that can be used in binding".
2)blank character. Example: "TAG 01" 3)"" double quotation marks and "'" single quotation marks Example: "TAG"02"" 4)The first character cannot be a number. Example: "123TAG". 5)The first character cannot be an underscore. Example: "_TAG01".
6)Full-width characters. Example: "U01.F01.Pump 1"
|
||||||
When defining a user-defined function in a script (SC2), please note the following: 1)The first character should not be any alphabet or underscore (_). 2)After the first character, only letters (A-Z, a-z), numbers (0-9), and underscores (_) can be used. 3)Full-width characters (such as kanji) cannot be used. 4)It cannot contain spaces. 5)Reserved words reserved in scripts cannot be used. 6)Operator characters are not allowed. |
||||||
When defining variables in the script (SC2), please note the following: 1)The first character should not be any alphabet or underscore (_). 2)After the first character, only letters (A-Z, a-z), numbers (0-9), and underscores (_) can be used. 3)Full-width characters (such as kanji) cannot be used. 4)It cannot contain spaces. 5)Reserved words reserved in scripts cannot be used. 6)Operator characters are not allowed. |
||||||
The script (SC2) has the following reserved words. These cannot be used as variable names, etc.
•break |
•case |
•continue |
•default |
•else |
•for |
•function |
•if |
•new |
•return |
•switch |
•this |
•var |
•while |
•parent |
•event |
•c |
•T |
•F |
•TRUE |
•FALSE |