Naming Conventions

<< Click to Display Table of Contents >>

Manual > Appendix >

Naming Conventions

Naming Conventions

 

Naming rules for FA-Server

Unit name

Folder name

Tag name

Event name

Action name

Action child item name

View name

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.

 

hint

The reason why we do not recommend naming is that although you can register the tag, it may not be usable in other scenarios. If the tag name is changed, it may affect other scenarios, so please be careful when naming.
 

There are other usage scenarios where it may not be possible to use the service.

 

A problem may occur with the bind expression of FA-Client.

There is also a possibility that future expansions may cause problems.

 

Examples include:

 

Environment variables

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 ([]).

 

 

Script naming conventions (SC2)

User-defined functions

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.
 

Variable

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.
 

 

 

 

Reserved Words

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