<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Dear Bilal,<br>
<br>
What are you trying to do here?<br>
<br>
<tt> <b><font color="#3366ff">(</font></b>if (not (equal?
(pdg-vertex-ids-killed (caddr z)) #f))<br>
<b><font color="#cc0000">(</font></b>abs-loc-set-traverse
(pdg-vertex-ids-killed (caddr z)) (display "to" out-port) <b><font
color="#cc0000">)</font></b> <br>
<b><font color="#3366ff">)</font></b><br>
</tt><br>
It looks like you are giving the result of (display "to" out-port) to
the <br>
function 'abs-loc-set-traverse'. In this function apparently you're
doing <br>
an apply on the result of 'display', which yields the given error.<br>
<br>
So, the lambda you've provided should do what you want, or did you<br>
actually want a string as argument (don't use apply on that though ;-).<br>
You can give it "to" then.<br>
<br>
--Hans<br>
<br>
<br>
Bilal, Haider Z schreef:
<blockquote
cite="mid9FFEE39DADA4A442B06FB5673765F41002848267@CSD-EXBE-VS1.lsbu.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html; ">
<meta name="Generator" content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="country-region">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="City"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="Street">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="address"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceType">
<o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="PlaceName"><o:SmartTagType
namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="place">
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Arial;
        color:navy;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
        {page:Section1;}
-->
</style></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType></o:SmartTagType>
<div class="Section1">
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Dear <font color="navy"><span
style="color: navy;">Colleagues</span></font>,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I am a PhD student at
LSBU working on ‘Measuring
Ripple Effect for Object oriented software’.<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I would be extremely
grateful for your, or whoever you recommend,
assistance on a problem I’m facing and stuck on!<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">I have familiarized
myself with Scheme and currently working
on writing a Scheme program to list for me all assigned TO and FROM
variables
with their line numbers listed. Apart from the red bolded section of my
code
shown below, which is supposed to display TO or FROM to each listed
variable
appropriately, the rest of my program working correctly. However, this
section
of the code is not working properly and giving me the following error: </span></font><b><span
style="font-weight: bold;">apply: bad procedure: #[undefined]<o:p></o:p></span></b></p>
<p class="MsoPlainText"><b><font face="Courier New" size="2"><span
style="font-size: 10pt; font-weight: bold;"><o:p> </o:p></span></font></b></p>
<p class="MsoPlainText"><b><u><font face="Courier New" size="2"><span
style="font-size: 10pt; font-weight: bold;">A Sample Function of the C
program
being analysed by the tool <font color="navy"><span
style="color: navy;">I am</span></font>
using<font color="navy"><span style="color: navy;"> (</span></font>Codesurfer<font
color="navy"><span style="color: navy;">)</span></font>:<o:p></o:p></span></font></u></b></p>
<p class="MsoPlainText"><b><u><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy; font-weight: bold;"><o:p><span
style="text-decoration: none;"> </span></o:p></span></font></u></b></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">/*
========================================================================================
*/<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">/*
===========
biggest_prime
=============== */<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">/*
========================================================================================
*/<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">int biggest_prime (root)<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">new_tree_node *root;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">{<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> /* This function calculates the Biggest
prime metric */<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> int child;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> new_tree_node *parent;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> if ( (*root).prime_name[0] != 'P' &&
biggest_prime_value
< (*(*root).prime).num_of_nodes )<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> biggest_prime_value =
(*(*root).prime).num_of_nodes;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> parent = root->children;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> for(child = 0; child < (*root).child_num;
child ++)<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> if (child == 0)<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> biggest_prime
(root->children);<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> else<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> {<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> biggest_prime
(parent->siblings) ;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> parent =
parent->siblings;<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> }<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"> return (biggest_prime_value);<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">}<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;"><o:p> </o:p></span></font></p>
<p class="MsoPlainText"><b><u><font face="Courier New" size="2"><span
style="font-size: 10pt; font-weight: bold;">My Program:<o:p></o:p></span></font></u></b></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">(define
(assignments)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">(define
filenumber 1)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";"> (for-each<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";"> (lambda(pdg)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(when (eqv? (pdg-kind pdg) 'user-defined)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(let* ((out-port (open-output-file (string-append "Fun"
(number->string filenumber) "_V.dat"))) (linelist ()))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(pdg-vertex-set-traverse (pdg-vertices pdg)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(lambda(v)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(let* ((fileuid (pdg-compilation-uid (pdg-vertex-pdg v))))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(int-pair-set-traverse (pdg-vertex-charpos v)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(lambda(offset w)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(if (not (equal? (pdg-vertex-ids-killed v) #f))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(abs-loc-set-traverse (pdg-vertex-ids-killed v)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(lambda(y)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(let* ((line-num (file-get-line-num fileuid offset)))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(set! linelist (cons (list line-num y v) linelist))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
#t)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(if (not (equal? (pdg-vertex-ids-used v) #f))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(abs-loc-set-traverse (pdg-vertex-ids-used v)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(lambda(y)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(let* ((line-num (file-get-line-num fileuid offset)))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(set! linelist (cons (list line-num y v) linelist))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
#t)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
#t)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
#t)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(set! linelist <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(sort linelist<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(lambda (a b)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(< (cadar a) (cadar b))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(for-each<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(lambda (z)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(let ((linenum (car z)))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(define line-num (car z))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(display (cdr line-num) out-port)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(write-char #\tab out-port)<o:p></o:p></span></font></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(if (not (equal? (pdg-vertex-ids-killed (caddr z)) #f))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(abs-loc-set-traverse (pdg-vertex-ids-killed (caddr z))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(display "to" out-port)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(if (not (equal? (pdg-vertex-ids-used (caddr z)) #f))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(abs-loc-set-traverse (pdg-vertex-ids-used (caddr z))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(display "from" out-port)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(newline out-port)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
linelist)<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">
(close-output-port out-port))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";"> (set!
filenumber (+ filenumber 1)))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";"> )<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";"> (sdg-pdgs))<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New";">)<o:p></o:p></span></font></p>
<p class="MsoPlainText"><font face="Courier New" size="2"><span
style="font-size: 10pt;">(assignments)<b><span
style="font-weight: bold;"><o:p></o:p></span></b></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><b><u><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; font-weight: bold;">I have
tried to use the lambda function, as
shown below:<o:p></o:p></span></font></u></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(if (not (equal? (pdg-vertex-ids-killed (caddr z)) #f))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(abs-loc-set-traverse (pdg-vertex-ids-killed (caddr z))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(lambda (x)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(display
"to" out-port)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
#t)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(if (not (equal? (pdg-vertex-ids-used (caddr z)) #f))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(abs-loc-set-traverse (pdg-vertex-ids-used (caddr z))<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(lambda (x)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
(display "from" out-port)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
#t)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span
style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;">
)<o:p></o:p></span></font></b></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><b><u><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; font-weight: bold;">However,
it gave me wrong output, some had
TO and FROM both listed together:<o:p></o:p></span></font></u></b></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(257) from<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(257) to<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(257) from<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(258) to<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(265) from<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(265) fromfrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(265) fromfrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(266) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(266) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(268) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(268) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) fromfrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) fromfrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) fromfrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) to<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) fromfrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(270) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(271) from<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(272) from<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(275) from<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(276) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(276) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(279) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">(279) tofrom<o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">I would
appreciate and value your time in
guiding me to what needs to be done to correct this problem very much
please.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">Thank you.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">Yours
faithfully,<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">HZBilal.<o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font color="black" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: black;">---<br>
</span></font><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Mr Haider Zuhair Bilal
BEng MSc MIEE MIEEE MBCS<br>
PhD Research Scholar<br>
Centre for Systems and Software Engineering<br>
Faculty of Business, Computing and Information Management<br>
<st1:place w:st="on"><st1:PlaceName w:st="on">London</st1:PlaceName> <st1:PlaceName
w:st="on">South</st1:PlaceName> <st1:PlaceName w:st="on">Bank</st1:PlaceName>
<st1:PlaceType w:st="on">University</st1:PlaceType></st1:place><br>
<st1:Street w:st="on"><st1:address w:st="on">103 Borough Road</st1:address></st1:Street><br>
<st1:place w:st="on"><st1:City w:st="on">London</st1:City></st1:place>
SE1 0AA<br>
<st1:place w:st="on"><st1:country-region w:st="on">UK</st1:country-region></st1:place></span></font><o:p></o:p></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span
style="font-size: 12pt;"> <o:p></o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;">Tel: +44(0)20 7815 7473<br>
Fax: +44(0)20 7815 7550<br>
<st1:place w:st="on"><st1:City w:st="on">Mobile</st1:City></st1:place>:
+44(0)7887 598355</span></font><font color="navy"><span
style="color: navy;"><o:p></o:p></span></font></p>
<p class="MsoNormal"><font color="navy" face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p>
<p class="MsoNormal"><font face="Arial" size="2"><span
style="font-size: 10pt; font-family: Arial;"><o:p> </o:p></span></font></p>
</div>
<br>
<br>
<br>
This e-mail message may be confidential and is intended only for the
use of the individual(s) to whom it is addressed. It may contain
information which is or may be confidential, non-public or legally
privileged. Please do not disseminate or distribute this message other
than to its intended recipient without permission of the author. You
should not copy it or use it for any purpose nor disclose its contents
to any other person. If you have received this message in error, please
notify me by email immediately and delete the original message and all
copies in your computer systems.
<pre wrap="">
<hr size="4" width="90%">
_________________________________________________
For list-related administrative tasks:
<a class="moz-txt-link-freetext" href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>
</pre>
</blockquote>
<br>
</body>
</html>