Coding Standards/conventions Question:

Explain Naming Convention in Local scope variables?

Tweet Share WhatsApp

Answer:

Description
Variables represent values that can be changed within a procedure or function. Local scope variables are placeholders that reside within a function- or a script-body.

Syntax
[Prefix]+[ShortDescription]
[Prefix] is a lowercase letter (either "n", s", "str", "d" or "t" appropriate to the type it represents)
[ShortDescription] is a corresponding name of what the variable stands for.
If [ShortDescription] consists of more then one word they are all separated using a capital letter for each new word.

Download Coding Standards PDF Read All 26 Coding Standards Questions
Previous QuestionNext Question
Explain Rational Robots Coding Standards?Explain Naming Convention in Module-level variables (member-vars)?