5 # First create some objects using the pointer library.
7 print "Testing the pointer library\n";
19 # Call the add() function wuth some pointers
25 print " 38 + 42 = $r\n";
27 # Clean up the pointers
32 # Now try the typemap library
33 # This should be much easier. Now how it is no longer
34 # necessary to manufacture pointers.
36 print "Trying the typemap library\n";
38 print " 37 - 42 = $r\n";
40 # Now try the version with multiple return values
41 # print "Testing multiple return values\n";
42 # ($q,$r) = divide(42,37);
43 # print " 42/37 = $q remainder $r\n";