/*
* Run program web.test.1 with no arguments
*/
$resultset = req4c_run("webtest.1");
/*
* Run program web.test.1 with argv[1]set to "hello" and argv[2] set to "world"
*/
$resultset = req4c_run("webtest.1","hello","world");
/*
* Run program web.test.1 with argv[1]set to "hello" and argv[2] set to "world"
*/
$resultset = req4c_run("webtest.1,hello,world");
/*
* Two ways of passing data in to named variables in the program
* Use an associative array
*/
$vvarray = array ('fname' => "John",
'minitial' => "J",
'lname' => "Smith");
$resultset = req4c_run("webtest.1",$vvarray);
/*
* Or use a numerically indexed array
*/
$vvarray = array('fname=John','minitial=J','lname=Smith');
$resultset = req4c_run("webtest.1",$vvarray);