Previous Example-|-Next Example-|-Return to Chapter Listing
Example 7.8:
Passing Multiple Values
This page uses a function, Percentage(sNum, sPerc), which
accepts two arguments in order to perform a percentage calculation. (If you didn't type numbers into the Prompt box, you will have seen an error--we haven't done any error checking in this script.)
These are the scripts we used. First, in the HEAD:
Later in the script the function is called with this script:
Previous Example-|-Next Example-|-Return to Chapter Listing