Tag «functions»

Function Procedure in VBScript

Function procedure is a discrete block of code that is written to accomplish a particular task.  The difference between a Sub procedure and Function procedure is that function can return a value.  Syntax: Function {name} (parameters)     – – – – – –     – – – – – –     – – – – …

Modularization with Functions and Sub procedures in VBScript

Dividing the entire software program into smaller chunks of code where each piece handles a specific task is known as modularization.  Following are some of the benefits: Easy to maintain Reusability Easier to debug More reliable Hence, all programming languages and scripting languages support modularization.  In vbscript modularization can be achieved with two different techniques: …