|
MCCISendAnchor calls your function
The &MCCISendAnchor function calls whatever callback function you
define whenever it gets a URL from the Mosaic session to which your
program is connected. For example:
.
.
.
$on = 1; the
$acb = "acb";
$arc = &MCCISendAnchor($CCIPort,$on,$acb,@cbd);
.
.
.
sub acb {
local(@data) = @_;
print "your URL is $data[0]\n";
foreach $arg (@data) {
print "anchor callback worked, data is $arg\n";
}
}
would cause the function acb to be called whenever a URL is sent.
Hope this helps
|