Hi folks
In the Language reference, it states that "the property can be implemented as a fact variable with the same name as the property".
I've tried this but I get an error
error c264 : No implementation for the property 'slot::aDiagram (i)' in the class 'slot'
Why doesn't it work?
- Thomas Linder Puls
- VIP Member
- Posts: 1424
- Joined: 28 Feb 2000 0:01
Re: Implementing a property using a fact
I guess that you didn't declare the fact variable in the implementation:
Code: Select all
implement slot
...
class facts
aDiagram : ...
...
end implement slot
Regards Thomas Linder Puls
PDC
PDC
Re: Implementing a property using a fact
that worked, thanks