• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 36. Windows Script Host > VBScript Functions

VBScript Functions

Functions are special blocks of VBScript's program code that can be activated (called) by name. A function can be given data to operate on, and it always returns a value to the script that called it. The technical term for a value passed to a function is an argument.

For example, the built-in UCase function takes a string variable or value as its argument and returns a string with all the letters set to uppercase. Now, check out this example:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint