Object naming conventions, Visual Basic Programming

Assignment Help:

The following table lists suggested conventions for objects you might encounter while programming VBScript.

Code Commenting Conventions

All process should begin with a brief comment defining what they do. This description must not defined the implementation details (how it does it) since these frequently change over time, resulting in needless comment maintenance work, or worse, erroneous comments. The code itself and any necessary inline comments specified the implementation.

Arguments passed to a process should be described while their reason is not obvious and while the process expects the arguments to be in a particular range. Return values for variables and functions that are modified through a procedure, especially through reference arguments, must also be defined at the starting of each procedure.

Procedure header comments have to include the following section headings. For instance, see the given table which described the section heading & the comment contents to be inserted whilst developing code.

Section Heading

Comment Contents

Purpose

What the process does (not how).

Assumptions

List of any external control, variable or other element which state affects this process.

Effects

List of the process's effect on each of external variable, control, or other element.

Inputs

Clarification of each argument which is not obvious. Each argument must be on a separate line with inline comments.

Return Values

Clarification of the value returned.


Related Discussions:- Object naming conventions

For each next loop - vbscript, A For Each...Next loop is similar to a For.....

A For Each...Next loop is similar to a For...Next loop. Rather than repeating the statements a particular number of times, For Each...Next loop repeats group of statements for each

The frame - document view architecture, The Frame: As the name suggest...

The Frame: As the name suggests, the frame is a combination of the building blocks, structure and the borders of an item. The frame gives the "physical" presence to a window.

HCI, I have an assignment In HCI , can anyone help me ?

I have an assignment In HCI , can anyone help me ?

Operator precedence - vbscript operators, While several operations take pla...

While several operations take place in an expression, each part is evaluated & resolved in a predetermined order called operator precedence. You can employ parentheses to override

WebTime ASP.net , Let us modify the webTime ASP.NET project that we develop...

Let us modify the webTime ASP.NET project that we developed. We will add drop down lists for modifying the different style elements for the label element that displays the time. We

Program to order a product from inventory, Write a program that permits the...

Write a program that permits the user to order a product from inventory. The user selects the product and enters the quantity. If there is sufficient quantity on hand of the produc

Account Balance, The user has to enter a starting balance, the dollar amoun...

The user has to enter a starting balance, the dollar amount of deposits, and the dollar amount of withdrawals. the program then has to calculate the balance

Vb program for simple image processing, A program needs to be written that ...

A program needs to be written that is capable of simple image processing. All the images that are available for you to use, can be found on Blackboard in the Assignments section. T

Looping, how to make logic of o program and how to use loop

how to make logic of o program and how to use loop

Shopping cart, Shopping Cart Purpose – Allows user to browse while keeping ...

Shopping Cart Purpose – Allows user to browse while keeping track of the items in which they will purchase at the end on the order page link and this will give a final price for al

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd