Explain naming convention globals, Computer Engineering

Explanation

The values of global variables can be used and changed all over the project within all scripts and libraries. However it is highly recommended to remain the number of global variables small. If global variables tend to be used in a exact project only it is advisable to keep those values in either a project specific library header or in a divide configuration file.

 

Syntax

"g" + [Prefix]+[ShortDescription]

 

Letter "g" shows that the scope of the variable is global. [Prefix] is a lowercase letter that shows the type of the global variable. The rules for [Prefix] are the similar as for "Local scope variables".

 

Examples

  • gnNumOfPersons
  • gsPersonLastname

 

Posted Date: 4/2/2013 6:25:19 AM | Location : United States







Related Discussions:- Explain naming convention globals, Assignment Help, Ask Question on Explain naming convention globals, Get Answer, Expert's Help, Explain naming convention globals Discussions

Write discussion on Explain naming convention globals
Your posts are moderated
Related Questions
Develop a regular expression for Real number and Real number with optional fraction (i) A regular expression for real number is [+ | -] (d)+. (d)+ (ii) A regular expression

reate a directory "Unix" under your home directory. Command(s): ………………………………………….


why impotant keys

Potential of Parallelism Problems in the actual world differ in respect of the degree of natural parallelism inherent in the personal problem domain. Some problems may be simpl

Explain the meaning of CONNECT socket primitive. The connect Primitive: Clients utilize procedure connect to establish connection with an exact server. The form is

Determine the Process of action-object matrix Check for multiple models  Recognize objects Design user object model diagram Define user object actions De

Addressability: Location-addressable Each alone accessible unit of information in storage is chosen with its numerical memory address. In the modern computers, location-a

Not at this time. With GIMP based on GEGL, so that all changes are non-destructive, it will be much easier to execute this feature by just remembering all nodes in given range and

Graphs are represented using Adjacency linked list