RosettaCodeData/Task/Hello-world-Text/Logtalk/hello-world-text.logtalk

8 lines
206 B
Plaintext

:- object(hello_world).
% the initialization/1 directive argument is automatically executed
% when the object is loaded into memory:
:- initialization(write('Hello world!\n')).
:- end_object.