The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | Apr 2017 |
| Last Sign in: | 103 Weeks Ago, 2 Days Ago |
| Questions Answered: | 4870 |
| Tutorials Posted: | 4863 |
MBA IT, Mater in Science and Technology
Devry
Jul-1996 - Jul-2000
Professor
Devry University
Mar-2010 - Oct-2016
|
VBScipting   Class, I pulled this function example from the tutorial document. Explain what is happening on a line by line basis, in your own words.  Dim a,b, theSum ' Get inputs Wscript.StdOut.Write("Enter a number: ") a = Cint(Wscript.Stdin.Readline()) Wscript.StdOut.Write("Enter a number: ") b = Cint(Wscript.Stdin.Readline()) ' Addition theSum = addFunction(a,b) ' Display the result Wscript.echo ("The sum of " & a &" + " & b &" = " &theSum)   ' Addition function Function addFunction(a,b) addFunction=a+b End Function      What does it mean to "pass parameters" in VB Script?    |
-----------