Codebase list ohcount / upstream/3.1.1 test / src_dir / logtalk.lgt
upstream/3.1.1

Tree @upstream/3.1.1 (Download .tar.gz)

logtalk.lgt @upstream/3.1.1raw · history · blame

/* test file for Logtalk parsing */

% this is a Logtalk source file

:- object(hello_world).

	% the initialization/1 directive argument is automatically executed
	% when the object is loaded into memory:
	:- initialization((nl, write('********** Hello World! **********'), nl)).

:- end_object.