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

Use of wm_size message - class wizard, Use of WM_SIZE Message: Wheneve...

Use of WM_SIZE Message: Whenever the WM_SIZE message is handled and the graphical objects on the output window will also change consequently to the output window. The functi

Recurson, types and concept of recurson

types and concept of recurson

Steps for creating a multiple document interface (mdi) form, Steps for Crea...

Steps for Creating A MDI Form: 1. Build a new form and set IsMdiContainer property to true. 2. Build a child form class to add to the form. 3. Now Right click the proj

Tooltip - intrinsic control, ToolTip: The ToolTip property is used to ...

ToolTip: The ToolTip property is used to flash a message regarding a control object when the mouse pointer moves over that object for a couple of seconds. Pick a control and c

Document interfaces - visual basic programming, DOCUMENT INTERFACES   ...

DOCUMENT INTERFACES   A SDI (Single document interface) and the MDI (Multiple document interfaces) are the document interfaces. The MDI based applications can have numerous ch

Add Vbscript code to an html page, You can employ the SCRIPT element to add...

You can employ the SCRIPT element to add VBScript code to an HTML page. The SCRIPT Tag VBScript code is written inside paired SCRIPT tags. For instance, a process to test

Illustration of ccolordialog, ILLUSTRATION OF CCOLORDIALOG The construc...

ILLUSTRATION OF CCOLORDIALOG The constructor of the CColorDialog takes the initial parameter as the default color and the next parameter specifies how much the dialog is displa

Balancesheet, i need sample balance sheet form in vb.net

i need sample balance sheet form in vb.net

Programming, i have connected my visual basic 2010 express in ports and use...

i have connected my visual basic 2010 express in ports and use it to send sms but it failed... now my teacher said that i have to use my LAN not port to send it instead..... please

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