root/trunk/examples/hooks/object.lgt

Revision 4601, 265 bytes (checked in by pmoura, 7 weeks ago)

Added svn:mime-type property to source files (set to text/x-logtalk).

  • Property svn:mime-type set to text/x-logtalk
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
1
2:- object(object).
3
4    :- info([
5        version is 1.1,
6        author is pm,
7        date is 2007/12/3,
8        comment is 'Example object for illustrating the use of compiler hooks.']).
9
10    :- public(out/0).
11
12    out :-
13        write('A'), nl,
14        write(x(A, A)), nl,
15        write(3), nl.
16
17:- end_object.
Note: See TracBrowser for help on using the browser.