Coding Standards/conventions Question:
Explain Naming Convention Constants?
Answer:
Description
Constants are “variables” that cannot be changed within a function- or script-body. The value will always be the same during script-execution.
Syntax
"AX_" + [PURPOSE] + {OPTIONAL}
If the constant name consists of more than one word those will be separated using an underscore.
Examples
· AX_AUT_VERSION
· AX_DEFAULT_URL
Constants are “variables” that cannot be changed within a function- or script-body. The value will always be the same during script-execution.
Syntax
"AX_" + [PURPOSE] + {OPTIONAL}
If the constant name consists of more than one word those will be separated using an underscore.
Examples
· AX_AUT_VERSION
· AX_DEFAULT_URL
Previous Question | Next Question |
Explain Naming Convention Globals? | Explain Naming Convention Functions? |