Coding Standards/conventions Question:
Download Questions PDF

Explain Naming Convention in Arrays?

Answer:

Description
Arrays in many programming-languages usually represent a fixed list of values (e.g. a list of lastnames). However within SQABasic the size for an array can either be fixed or grow if the number of items in the list is not known during compilation of the source code.

Syntax
"a" + [Prefix]+[ShortDescription]

Letter “a” indicates that the variable is of type array. [Prefix] is a lowercase letter that represents the type of variables in the array. The rules for [Prefix] are the same as for “Local scope variables”.

Examples
· asPersonList
· anNumberList

Download Coding Standards Interview Questions And Answers PDF

Previous QuestionNext Question
Explain Naming Convention in Module-level variables (member-vars)?Explain Naming Convention Globals?