Explain Naming Convention Globals?
Submitted by: AdministratorDescription
The values of global variables can be used and changed all over the project within all scripts and libraries. Though it is highly recommended to keep the number of global variables small. If global variables tend to be used in a specific project only it is advisable to keep those values in either a project specific library header or in a separate configuration file.
Syntax
"g" + [Prefix]+[ShortDescription]
Letter “g” indicates that the scope of the variable is global. [Prefix] is a lowercase letter that represents the type of the global variable. The rules for [Prefix] are the same as for “Local scope variables”.
Examples
· gnNumOfPersons
· gsPersonLastname
Submitted by: Administrator
The values of global variables can be used and changed all over the project within all scripts and libraries. Though it is highly recommended to keep the number of global variables small. If global variables tend to be used in a specific project only it is advisable to keep those values in either a project specific library header or in a separate configuration file.
Syntax
"g" + [Prefix]+[ShortDescription]
Letter “g” indicates that the scope of the variable is global. [Prefix] is a lowercase letter that represents the type of the global variable. The rules for [Prefix] are the same as for “Local scope variables”.
Examples
· gnNumOfPersons
· gsPersonLastname
Submitted by: Administrator
Read Online Coding Standards Job Interview Questions And Answers
Top Coding Standards Questions
☺ | Documentation Introduction |
☺ | Explain Scripts and libraries Introduction? |
☺ | Size of Scripts and libraries? |
☺ | Explain Documentation Libraries? |
☺ | Explain Naming Convention Globals? |
Top Application Program Categories
☺ | AutoCAD Interview Questions. |
☺ | Microsoft Office Interview Questions. |
☺ | Microsoft Outlook Interview Questions. |
☺ | Microsoft Excel Interview Questions. |
☺ | WPF Interview Questions. |