Coding Standards/conventions Question:

Explain Naming Convention in Arrays?

Tweet Share WhatsApp

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 PDF Read All 26 Coding Standards Questions
Previous QuestionNext Question
Explain Naming Convention in Module-level variables (member-vars)?Explain Naming Convention Globals?