Greetings,

I have not been able to find the answer to this question in the
documentation but have a feeling that it has a simple answer.  I have
created a function which takes a template as an argument.  First of all,
do I have to do anything to indicate that the argument is not a standard
data type? More importantly, how can I access a specific slot from the
template from within the function.  

For instance:

( deftemplate lane-segment extends line
        ( slot startX ) ( slot startY ) 
        ( slot endX ) ( slot endY )
        ( slot numLanes ) ( slot type ))

( deffunction in-lane-segment ( ?lane-segment )

        Now, from within the function in-lane-segment, I would like to access
the slot numLanes from the lane-segment template. 

Thanks in advance,
Noah

--------------------------------------------------------------------
To unsubscribe, send the words 'unsubscribe jess-users [EMAIL PROTECTED]'
in the BODY of a message to [EMAIL PROTECTED], NOT to the list
(use your own address!) List problems? Notify [EMAIL PROTECTED]
--------------------------------------------------------------------

Reply via email to